@mnemom/risk); there is no official Python SDK today, so Python examples below call the REST API directly with httpx.
Quick start
Individual assessment
Assess whether an agent should be allowed to perform a specific action:Team assessment
Assess whether a group of agents is safe to operate together:Which agents you can assess
You can assess any agent whose reputation is public or unlisted, including agents in other organizations — that counterparty check is what the engine is for. Both the individual and team endpoints refuse the rest:Risk gates
Risk gates wrap an assessment call with a pass/fail check against a maximum risk score and/or level, so you can embed a single boolean decision in your agent pipeline instead of interpreting a raw assessment.Individual gate
Team gate
The team gate has the same{allowed, assessment, reason} shape as the individual gate — gate on assessment.team_recommendation for the finer-grained approve_team / approve_individuals_only / deny triage:
Context builders
@mnemom/risk exports convenience functions that build a RiskContext object for common action types:
Understanding the response
Individual assessment response
Team assessment response
The team response includes everything from individual assessments plus team-specific analytics:Monitoring risk over time
Fetch risk assessment history for trend analysis:Verifying ZK proofs
Once a proof is generated, retrieve and verify it:Proofs are generated asynchronously and are best-effort — the risk score is returned immediately and is valid regardless of whether a proof ever completes. Poll
GET /v1/risk/proofs/:proof_id to follow a proof through to verified or failed.Choosing action types
Select the action type that best matches what the agent is about to do:Choosing risk tolerance
Billing
Mnemom uses μ-based usage pricing (1 μ = $0.01) with no fixed plan tiers — risk assessments are metered events billed against your μ balance. See Pricing for current rates and what proof availability requires on your account.See also
- Risk Assessment Concepts — how the scoring model works
- Reputation Scores — the data that feeds risk assessments
- Team Trust Rating — team reputation built from team risk assessments
- Team Management — creating and managing teams
- Fleet Coherence — pairwise coherence data used for team risk
- Security & Trust Model — the full cryptographic verification pipeline