Without a state layer:
Neotoma is the deterministic state layer for long-running agents. Every observation is versioned. Every entity snapshot is reproducible. Every decision can be replayed.
RAG retrieves documents. Platform memory personalizes chat. Neither maintains durable state. Neotoma does — with deterministic guarantees and no silent mutation.
The problem
Without a state layer, agents return stale or wrong data. With Neotoma, every response reads from versioned, schema-bound state.
Conflicting records, silent data loss
Two agents read different versions of the same contract. One quoted current terms; the other used a stale snapshot. Neither knew the other existed.
Stale contact, wrong recipient
The agent used an outdated org chart. The message went to someone who left the project weeks ago — and no versioned record flagged the change.
Forgotten deadline, missed obligation
A commitment from a prior session was never durably recorded. The agent set a reminder against an old task — wrong date, wrong deliverable.
Irreproducible decision, no audit trail
A decision was made based on specific inputs. When the same question came up later, the agent produced a different answer — and no one could explain why.
Guarantees
Most AI memory systems optimize storage or retrieval. Neotoma enforces state integrity.
Get started
Paste this prompt into Claude Code, Codex, Cursor, or OpenClaw. The agent handles npm install, initialization, and MCP configuration.
Follow this workflow to set up Neotoma:
1. Install Neotoma with npm install -g neotoma.
2. Initialize Neotoma with neotoma init.
3. Report what changed after install/init.
4. If I ask for integration setup after init, link the matching setup guide in docs/developer/ (for example mcp_cursor_setup.md, mcp_claude_code_setup.md, mcp_openclaw_setup.md).
...More options: Manual install · Docker · CLI reference
Agent installs and initializes via npm, scans context and platform memory, previews candidates with provenance, and stores only what you approve.
State inspection
When a production agent sends the wrong data, you need to trace why. Neotoma stores every state mutation as a versioned observation so the full timeline can be inspected and replayed.
Observation timeline
$ neotoma observations list --entity-id contract:Kline
# observed_at source change
1 Oct 10 import:drive (created)
2 Oct 12 agent:renewal renewal_date
3 Oct 14 agent:amendment payment_termsEntity snapshot with version history
$ neotoma entities get contract:Kline
entity_type: contract
entity_id: contract:Kline
version: 3
payment_terms: Net 30
renewal_date: 2026-01-15
Previous (v2): payment_terms: Net 60How it works
Privacy-first
Deterministic
Cross-platform
state evolution pipeline
Source
file · text · JSON
Observations
granular facts + provenance
Entity Snapshots
current truth · versioned
Memory Graph
entities + relationships + timeline
Neotoma treats memory as state evolution, not retrieval. Every state change is versioned with full provenance.
Built for
One memory layer. Three worlds: infrastructure pipelines, agent systems, and the tools you use every day. Pick your lens.

AI infrastructure engineers
Two runs. Same inputs. Different state.

Agent system builders
Your agent resolves entities by inference. Every session, it guesses again.

AI-native operators
The agent infers. It doesn't guarantee. Here's what that costs you.
Interfaces
Every interface provides the same deterministic behavior regardless of how you access the agent state layer.

REST API
49 endpointsFull HTTP interface for application integration. Build dashboards, services, and automations on top of Neotoma state.

MCP Server
29 actionsModel Context Protocol for Claude Code, Claude, ChatGPT, Cursor, Codex, and OpenClaw. Agents store and retrieve state through structured tool calls.

CLI
43 commandsCommand-line for scripting and direct access. Inspect entities, replay timelines, and manage state from the terminal.
Resources

Source code, README with installation and MCP setup, and the deterministic state layer architecture. Clone, contribute, or open issues.
Visit repo →Reference, integration guides, use cases, and architecture — organized by category.
Browse docs →State integrity, deterministic evolution, state invariants, and why agent reliability depends on them. Architecture, pipeline, and guarantee reference.
Read architecture →