Trust infrastructure for AI agents
Mnemom makes AI agent behavior transparent and verifiable. When an agent makes a decision, Mnemom records what it decided, what alternatives it considered, what values it applied, and whether its reasoning was compromised. The result is a verifiable audit trail that any stakeholder can inspect. Two open-source protocols power this:- AAP (Agent Alignment Protocol) — Post-hoc verification. Alignment Cards declare an agent’s values and boundaries. AP-Traces record every decision. Verification checks whether behavior is consistent with declared intent.
- AIP (Agent Integrity Protocol) — Real-time integrity checking. Analyzes LLM thinking blocks during execution to detect prompt injection, value drift, and manipulation before the agent acts.
These are transparency protocols, not trust protocols. They make agent behavior observable and auditable — they do not guarantee trustworthiness. An agent that passes all checks may still behave badly in ways the protocols cannot detect. See the limitations docs for what AAP and AIP can and cannot guarantee.
Get started
Smoltbot Gateway
Recommended. Wrap any LLM API with zero code changes. Full AAP and AIP compliance in minutes.
SDK Direct
Integrate AAP and AIP directly into your application for maximum control over tracing and verification.
Self-Hosted
Run smoltbot, the API, and the database on your own infrastructure. Full data residency control.
Key concepts
Alignment Cards
A machine-readable declaration of an agent’s values, autonomy boundaries, escalation triggers, and audit commitments. The “constitution” every trace is verified against.
AP-Traces
Structured records of agent decisions — what action was taken, what alternatives were considered, what values were applied, and whether escalation was required.
Integrity Checkpoints
Real-time AIP analysis of LLM thinking blocks. Each checkpoint produces a verdict:
clear, review_needed, or boundary_violation.Drift Detection
Statistical monitoring of agent behavior over time. Detects when an agent’s actions gradually diverge from its declared alignment.
Value Coherence
Pairwise compatibility checking between agents. Before two agents collaborate, coherence checks verify their values are not in conflict.
SDK packages
Install the protocol SDKs directly if you need fine-grained control:| Package | Language | Registry | Description |
|---|---|---|---|
@mnemom/agent-alignment-protocol | TypeScript | npm | AAP verification, coherence, drift detection |
@mnemom/agent-integrity-protocol | TypeScript | npm | AIP integrity checking, signal building |
agent-alignment-proto | Python | PyPI | AAP verification, coherence, drift detection |
agent-integrity-proto | Python | PyPI | AIP integrity checking, signal building |
Protocols
Protocol Overview
How AAP and AIP work together as complementary verification layers.
AAP Specification
Full Agent Alignment Protocol specification for implementers.
AIP Specification
Full Agent Integrity Protocol specification for implementers.
Security Model
Threat models, attack surfaces, and known limitations.