Individual risk
Each individual risk assessment produces a score between 0 and 1, computed as:Context-aware component risk (60%)
Five reputation components are weighted differently depending on the action type:
Different actions weight these differently. A
financial_transaction emphasizes compliance (0.30) and integrity (0.30). A task_delegation emphasizes coherence (0.35) — can this agent hand off work reliably? A multi_agent_coordination action weights coherence highest (0.40).
Six action types are supported:
financial_transaction, data_access, task_delegation, tool_invocation, autonomous_operation, and multi_agent_coordination. Each has a distinct weight profile tuned to the risks specific to that action.Recency penalty (30%)
Recent violations count more than old ones. The engine uses exponential decay with a 30-day half-life:Confidence penalty (10%)
Agents with limited behavioral history receive an uncertainty premium:insufficient data adds 0.30, low adds 0.20, medium adds 0.10, and high confidence adds nothing.
Risk levels and recommendations
The composite score maps to four risk levels. Thresholds shift based on the caller’s risk tolerance:
Each level maps to a recommendation:
approve (low/medium), review (high, requires human approval), or deny (critical, block the action).
Team risk
Team risk assessment evaluates whether a group of agents is safe to operate together. A team of individually low-risk agents can still be dangerous.Three-pillar model
Shapley attribution
After computing team coherence, the engine attributes each agent’s marginal contribution using leave-one-out (LOO) Shapley values:Circuit breakers
Hard safety floors override the continuous score when conditions are extreme:- Any agent with reputation below 200 forces the team to critical/deny
- Any pairwise boundary compatibility below 100 forces critical/deny
Additional analytics
Team recommendations
Zero-knowledge proofs
Every risk assessment can be cryptographically proven correct without revealing the underlying reputation data. The entire risk computation is implemented in both TypeScript (for fast online use) and Rust (for ZK proof generation inside SP1 zkVM). All arithmetic in the proving guest uses Q16.16 fixed-point integers — no floating-point operations exist in the proof circuit. This ensures perfect determinism across substrates. Proofs are generated asynchronously: the risk score is returned immediately, and the proof follows. Once available, any third party can verify the proof without seeing the input data.Proof lifecycle and fail-open behavior
Proof generation is best-effort. The risk score and recommendation are always valid regardless of proof status — an absent or failed proof does not invalidate the assessment.proof_status on the assessment object progresses through four states:
The proof object itself carries a finer-grained
status field (pending → proving → completed or failed) that tracks computation progress inside the proving cluster. That field is distinct from the assessment’s proof_status — see Get proof in the API reference.
ZK proofs are available on Developer, Team, and Enterprise plans. Free-tier assessments do not include proofs.
Authorization model
All Risk API endpoints require authentication. Pass your credentials as either:- Bearer token:
Authorization: Bearer <token> - API key:
X-Mnemom-Api-Key: <key>
Account-scoped GET endpoints
GET endpoints that retrieve a stored resource by ID —GET /v1/risk/assessments/:assessment_id, GET /v1/risk/team-assessments/:assessment_id, and GET /v1/risk/proofs/:proof_id — are account-scoped. A request with a valid token from a different account returns 404 rather than 403. This prevents leaking resource existence to authenticated callers who do not own the resource.
List endpoints (GET /v1/risk/history/:agent_id, GET /v1/risk/team-history/:team_id) filter implicitly to the calling account and return an empty list rather than 404 when the requested ID belongs to a different account.
See also
- Reputation Scores — the input data that feeds risk assessments
- Team Trust Rating — team-level reputation built from team risk assessments
- Fleet Coherence — the pairwise coherence data used for team risk
- Integrity Checkpoints — how violations are detected
- Risk Engine Guide — step-by-step usage with SDK examples
- Security & Trust Model — the broader cryptographic verification pipeline