Skip to main content

The Problem

When agents share memory today, it’s chaos — last write wins, no branching, no review, no rollback. It’s like coding without Git. Every team that tried that eventually hit a wall. Agent teams are hitting that wall right now. The problem isn’t “agents need permissions.” The problem is agents have no way to collaborate on knowledge the way developers collaborate on code.

What is AMFS?

AMFS applies the Git model to agent memory. The mental model is already in every developer’s head — you’re not learning something new, you’re getting the tool you’ve been waiting for.
Every developer knows this:          AMFS does the same for agent memory:

  repo                                 agent brain
  ├── main branch                      ├── main (what the agent knows)
  ├── feature branch                   ├── experiment branch (isolated changes)
  ├── pull request                     ├── pull request (review before merge)
  ├── code review                      ├── diff (what changed in the branch)
  ├── merge                            ├── merge (accept changes into main)
  ├── git log                          ├── timeline (every operation logged)
  └── git revert                       └── rollback (restore to any point)
Other agents can be granted read or write access to branches of that brain. Changes stay isolated until the owner reviews the diff and merges. Every change is logged. You can roll back to any point.

Quick Example

from amfs import AgentMemory

mem = AgentMemory(agent_id="review-agent")

mem.write(
    "checkout-service",
    "risk-race-condition",
    "Race condition in order processing under concurrent load",
    confidence=0.85,
)

entry = mem.read("checkout-service", "risk-race-condition")
# → confidence: 0.85, written_by: review-agent

Key Features

Git-like Collaboration

Timeline, branching, PRs, tags, rollback, access control, and fork. Collaborate on memory the way you collaborate on code.

Memory Intelligence

Copy-on-Write versioning, confidence scoring, outcome feedback, knowledge graph, hybrid search, and tiered memory.

Decision Traces

Full causal chain capture — what the agent read, what tools it consulted, and what happened when it acted.

Platform

MCP server, HTTP/REST API, Python and TypeScript SDKs, CLI, Docker, Kubernetes, and framework integrations.

Get Started

The fastest way to start is with AMFS — no infrastructure required.

Connect to AMFS

Two env vars. Up and running in 30 seconds.

Quick Start

Write, read, and search agent memory.

How Agents Use AMFS

1. Identify yourself         →  amfs_set_identity("checkout-agent", "Fixing retry logic")
2. Get a briefing            →  amfs_briefing(entity_path="checkout-service")
3. Search for specifics      →  amfs_search("checkout-service")
4. Read relevant entries     →  amfs_read("checkout-service", "retry-pattern")
5. Do the work               →  (agent performs its task)
6. Write findings            →  amfs_write("checkout-service", "new-pattern", ...)
7. Record outcomes           →  amfs_commit_outcome("DEP-287", "success")
8. Next agent starts at #2   →  Knowledge compounds across agents and sessions
The Memory Cortex compiles raw entries into ranked digests, so the next agent — on any machine — starts with a pre-compiled briefing of what matters, instead of searching from scratch.

Packages

PackageLanguageInstall
amfsPythonpip install amfs
amfs-adapter-postgresPythonpip install amfs-adapter-postgres
amfs-adapter-s3Pythonpip install amfs-adapter-s3
amfs-http-serverPythonpip install amfs-http-server
amfs-cliPythonpip install amfs-cli
amfs-mcp-serverPythonpip install amfs-mcp-server
@amfs/sdkTypeScriptnpm install @amfs/sdk

OSS vs Pro

AMFS is open source under Apache 2.0. The OSS edition gives you the full memory engine with a single-branch repo model — versioned writes, confidence scoring, outcome feedback, causal traces, knowledge graph, hybrid search, tiered memory, git-like timeline on main, SDKs, adapters, HTTP API, MCP server, and CLI. AMFS Pro unlocks the full Git model: branching, merge, pull requests, access control, tags, rollback, cherry-pick, and fork. Plus multi-tenant SaaS isolation, immutable decision traces, automated pattern detection, an intelligence layer, and a web dashboard. OSS gives you a repo with full history. Pro gives you GitHub.

Compare Editions

Full feature comparison between OSS and Pro.

vs Vector DBs

When to use AMFS, when to use a vector database.

vs Competitors

How AMFS compares to Mem0, Zep, Letta, and more.