The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.
Commit 20744dd6
20744dd65349Merged
aryaamin <[email protected]> · 2 months ago · 40 files · +11 added · ~29 modified
Description
Add adaptive AI assurance engine
Details
- Commit
- 20744dd65349
- Parent
- 89b58109a0e6
README.mdmodifiedView file
@@ -1,23 +1,27 @@
11
# OpenClasp22
3-
Trust and behavioural intelligence for AI agents.3+
AI assurance for agent-to-agent agreements.44
5-
OpenClasp is an assurance layer built on top of the6-
[Agent2Agent (A2A) Protocol](https://github.com/a2aproject/A2A). A2A gives agents a standard way to7-
communicate; OpenClasp adds the trust context needed before, during, and after that communication.5+
OpenClasp predicts whether an external agent will complete a specific agreement—and tells your agent6+
what safeguards to require. It runs on top of the7+
[Agent2Agent (A2A) Protocol](https://github.com/a2aproject/A2A): A2A handles communication;8+
OpenClasp adds assurance before, during, and after it.89
910
## What OpenClasp adds1011
11-
- Authenticated publishers, verified cloud runtimes, and shareable agent cards.12-
- Explicit agreements, safeguards, and versioned amendments between agents.13-
- Direct A2A sessions with scoped, short-lived credentials.14-
- Authenticated structured outcomes and private bilateral feedback.15-
- Task-specific behavioural history and contextual reliability intelligence.16-
- Deterministic policy checks, delegation, receipts, disputes, and audit history.12+
- Predicts success for the exact task, agent, and version.13+
- Asks one high-value question at a time to expose material risk.14+
- Recommends safeguards before either agent commits.15+
- Learns which questions, answers, and safeguards correlate with better outcomes.16+
- Records agreements, evidence, outcomes, and private bilateral feedback.17+
- Verifies publishers and cloud runtimes; provides shareable agent cards.1718
1819
Conversation bodies stay directly between agent runtimes. OpenClasp does not receive, relay, or1920
store them.2021
22+
Claude powers the AI layer when `ANTHROPIC_API_KEY` is configured. A conservative deterministic23+
fallback keeps assurance available during cold start or provider failure.24+
2125
## Run locally2226
2327
Requires Node.js 24+ and Corepack.apps/api/src/access-control.tsmodifiedView file
Loading diff…
apps/api/src/app.tsmodifiedView file
Loading diff…
apps/dashboard/index.htmlmodifiedView file
Loading diff…
apps/dashboard/src/components/landing-scene.tsxmodifiedView file
Loading diff…
apps/dashboard/src/main.tsxmodifiedView file
Loading diff…
apps/dashboard/src/preview.tsmodifiedView file
Loading diff…
apps/dashboard/src/styles.cssmodifiedView file
Loading diff…
docs/A2A_EXTENSION.mdmodifiedView file
Loading diff…
docs/ARCHITECTURE.mdmodifiedView file
Loading diff…
docs/MCP_TOOLS.mdmodifiedView file
Loading diff…
docs/PRODUCTION_VERIFICATION.mdmodifiedView file
Loading diff…
docs/PROTOCOL_V0.1.mdmodifiedView file
Loading diff…
packages/mcp-server/package.jsonmodifiedView file
Loading diff…
packages/mcp-server/src/assurance-ai.tsaddedView file
Loading diff…
packages/mcp-server/src/server.tsmodifiedView file
Loading diff…
packages/persistence/src/hosted-migrations.tsmodifiedView file
Loading diff…
packages/persistence/src/hosted.tsmodifiedView file
Loading diff…
packages/protocol/src/index.tsmodifiedView file
Loading diff…
packages/sdk/src/index.tsmodifiedView file
Loading diff…
pnpm-lock.yamlmodifiedView file
Loading diff…
schemas/v0.1/assurance_claim_outcome_comparison.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_decision.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_effectiveness_evaluation.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_prediction_snapshot.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_probe_a2a_payload.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_probe_plan.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_probe_response.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_response_a2a_payload.schema.jsonaddedView file
Loading diff…
schemas/v0.1/assurance_safeguard.schema.jsonaddedView file
Loading diff…
schemas/v0.1/live_session_activation.schema.jsonmodifiedView file
Loading diff…
scripts/export-schemas.tsmodifiedView file
Loading diff…
scripts/prerender-landing.tsxmodifiedView file
Loading diff…
tests/api.test.tsmodifiedView file
Loading diff…
tests/assurance-ai.test.tsaddedView file
Loading diff…
tests/mcp.test.tsmodifiedView file
Loading diff…
tests/protocol.test.tsmodifiedView file
Loading diff…
tests/security.test.tsmodifiedView file
Loading diff…
tests/source-record.test.tsmodifiedView file
Loading diff…
vercel.jsonmodifiedView file
Loading diff…