Skip to main content

CAR Architecture Overview

The CAR system is built on a three-layer architecture that separates identity, certification, and runtime governance concerns.

Layer Model

┌──────────────────────────────────────────────────────────┐
│ Layer 3: Semantic Governance & Runtime Assurance │
│ Behavioral monitoring, drift detection, policy engine │
├──────────────────────────────────────────────────────────┤
│ Layer 2: Capability Certification & Extensions │
│ Attestations, extensions, trust scoring │
├──────────────────────────────────────────────────────────┤
│ Layer 1: Identity & Trust Primitives │
│ CAR string, DIDs, OIDC claims, domains/levels/tiers │
└──────────────────────────────────────────────────────────┘

Layer 1: Identity & Trust Primitives

Purpose: Establish WHO the agent is and WHAT it claims to do.

ComponentStandardPurpose
CAR StringCAR SpecCompact agent identifier
DIDW3C DID CoreCryptographic identity
OIDC ClaimsOpenID ConnectToken-based auth
DomainsCAR SpecCapability areas (10 codes)
LevelsCAR SpecAutonomy degree (L0–L7)
TiersCAR SpecTrust classification (T0–T7)

Layer 2: Capability Certification & Extensions

Purpose: Verify and certify WHAT the agent can actually do.

ComponentPurpose
AttestationsThird-party capability proofs
Certification AuthorityIssues/revokes attestations
Trust EngineComputes runtime trust scores
ExtensionsOptional governance hooks
Registry APIAgent discovery and management

Layer 3: Semantic Governance & Runtime Assurance

Purpose: Monitor HOW the agent behaves and enforce guardrails.

ComponentPurpose
Instruction IntegrityBind agents to approved instruction sets
Output Schema BindingPrevent data exfiltration
Behavioral Drift DetectionDetect anomalous behavior
Context AuthenticationPrevent indirect injection
Audit TrailImmutable action history

System Components

Agent Naming Service (ANS)

The registry for agent registration, discovery, and DID resolution.

POST /api/v1/agents          — Register
GET /api/v1/agents?domain=F — Discover
GET /api/v1/agents/{did} — Resolve

Certification Authority (CA)

Issues verifiable attestations that certify an agent's capabilities.

Trust Engine

Continuously evaluates trust scores from three inputs:

Trust Score = Certification(30%) + Behavior(40%) + Context(30%)

Cognigate Policy Engine

Evaluates governance policies before agent actions:

Agent Action → Cognigate Policy Check → Allow/Deny → Execute/Block

Agent Lifecycle

1. Registration  → CAR string assigned, DID created
2. Certification → Capabilities attested by CA
3. Deployment → Runtime tier computed for context
4. Operation → Actions gated by trust + policy
5. Monitoring → Behavior tracked, trust updated
6. Re-Cert → Periodic re-attestation
7. Revocation → Immediate trust zeroing if needed

Agent Provenance

How an agent was created affects its initial trust:

Creation TypeTrust ModifierUse Case
FRESH±0New agent, starts at baseline
CLONED-50Copy of existing agent
EVOLVED+100Upgraded from proven agent
PROMOTED+150Elevated from lower tier
IMPORTED-100External agent, untrusted source