Back to Projects
🔬
ATSF Framework
Active
Open Source
MIT License
Agentic Trust Scoring Framework - The reference implementation of the BASIS standard. Production-ready TypeScript runtime for trust calculation, behavioral scoring, and governance.
Installation
Terminal
npm install @vorionsys/atsf-core Core Modules
/trust-engine Behavioral trust calculation with decay and recovery
/intent Intent classification and processing
/enforce Policy enforcement and decision gates
/proof Audit trail and decision provenance
/cognigate Fastify server for runtime API
/basis Rule parser and evaluator
/persistence Memory, file, and Supabase adapters
/langchain LangChain integration tools
Quick Start
TypeScript
import {
TrustEngine,
IntentService,
EnforcementService,
createServer
} from '@vorionsys/atsf-core';
// Create core services
const trustEngine = new TrustEngine({
decayRate: 0.01,
recoveryRate: 0.02,
});
const intentService = new IntentService();
const enforcement = new EnforcementService(trustEngine);
// Start the Cognigate API server
const server = await createServer({
trustEngine,
intentService,
enforcement,
});
await server.listen({ port: 3000 });
console.log('Cognigate running on http://localhost:3000');