The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.

Viewing files at commit 68c3fd2f8af0Commit detailsView latest

apps/api/src/index.ts 9 lines · 401 B · typescript
1
import { buildApi } from './app.js';
2
import { TrustEngine } from '../../../packages/core/src/index.js';
3
import { SqliteAuditStore } from '../../../packages/persistence/src/index.js';
4
5
const engine = new TrustEngine(new SqliteAuditStore(process.env.OPENCLASP_DB ?? 'openclasp.db'));
6
await buildApi(engine).listen({
7
  host: process.env.HOST ?? '127.0.0.1',
8
  port: Number(process.env.PORT ?? 3100),
9
});