by atomicstrata
Portable semantic memory for AI agents: core engine, TypeScript SDK, framework adapters, MCP server, CLI, and host plugins.
# Add to your Claude Code skills
git clone https://github.com/atomicstrata/atomicmemoryatomicmemory is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by atomicstrata. Portable semantic memory for AI agents: core engine, TypeScript SDK, framework adapters, MCP server, CLI, and host plugins. It has 441 GitHub stars.
atomicmemory's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/atomicstrata/atomicmemory" and add it to your Claude Code skills directory (see the Installation section above).
atomicmemory is primarily written in TypeScript. It is open-source under atomicstrata on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh atomicmemory against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Inspectable, correction-aware memory for agents and AI applications.
AtomicMemory gives agents durable context across sessions without coupling your application to one model, framework, or deployment. Start with managed Hosted Cloud, run the open-source Core locally, or integrate through the TypeScript SDK and MCP server.
Documentation · Hosted Cloud · Open-source quickstart · Why inspectable memory matters
AtomicMemory v66 is leading performance/cost on BEAM-100K, BEAM-1M, and LoCoMo10 under matched methodology against published competitors. On BEAM-10M it matches the strongest published Mem0-new result while leaving Hindsight-scale temporal retrieval as the known open frontier.
| Benchmark | AtomicMemory v66 | Position | Cost/Q | Sample |
|---|---|---|---|---|
| BEAM-100K lenient | 0.7375 | Parity with Hindsight at 0.75 | $1.26 | n=80 |
| BEAM-1M lenient | 0.6625 | Leading Performance/Cost; +0.022 vs Mem0 paper | $0.083 | n=80 |
| BEAM-10M lenient | 0.4875 | Parity with Mem0-new at 0.486 | $0.081 | n=80 |
| LoCoMo10 GPT-4o-mini binary | 0.8396 | Leading Performance/Cost; +0.171 vs Mem0 paper | $0.066 | n=1540 |
These results put AtomicMemory at or near the published ceiling in each reported category while preserving the lower-cost operating profile that matters for real applications. Reproducibility artifacts and harness details will be published with the benchmark materials.
Install the am CLI and initialize Hosted Cloud in one guided command:
curl --proto '=https' --tlsv1.2 -fsSL https://get.atomicstrata.ai/install.sh | sh -s -- --init
Plain am init defaults to managed Cloud, selects your project, and saves its
project-bound credential. Managed server keys use a per-installation name such
as am-cli-a1b2c3d4e5f6, so another machine's credential is not rotated. No
Docker or OpenAI key is required.
Non-interactive Cloud automation uses am init --yes --project <cloud-id>;
Local automation must opt in with am init --local --yes.
The installer runs initialization through the verified binary directly. If it updates PATH, open a new terminal before the next commands or use the shell-specific activation command it prints.
Store a preference and retrieve it:
am memory ingest "I prefer aisle seats when flying."
am memory search "seat preference"
Connect the active profile to an agent host when you are ready:
am integrate --yes --host cursor # or claude-code / codex / opencode
am integrate writes the host's user-level MCP configuration. It does not
install a marketplace plugin.
| Path | Best for | Start here |
|---|---|---|
| Hosted Cloud | Managed memory with the fastest setup | Guided installer above, or am init |
| Connected Local | Running open-source Core on your machine | am init --local |
| TypeScript SDK | Server-side application integration against Core | npm install @atomicmemory/sdk |
Agent integration through MCP works with either an active Cloud or Local profile. See the documentation for framework and host-specific guides.
Interactive am init offers Hosted Cloud as option 1/default and
Connected Local as option 2. Hosted Cloud needs no Docker or OpenAI key:
am-cli-<12-hex> key and creates it when absent.
Legacy unsuffixed keys and other installations' keys are left untouched.--project accepts a unique ID or case-insensitive slug and infers Cloud versus
Local from the resolved project type. Explicit selectors assert the type:
am init --project <id-or-slug> # infer Cloud or Local
am init --cloud --project <cloud-id> # require a Cloud project
am init --local --project <local-id> # require a Local project
Ambiguous slugs fail with a request for the unique project ID. At the API-key limit, initialization preserves the previous default profile and prints the dashboard URL plus exact commands to list or revoke a key and retry. It never rotates or revokes unrelated keys as quota recovery.
Connected Local runs Core on your machine and can link it to Cloud for trace visibility. It requires:
Initialize and verify Local:
am init --local
am doctor --smoke
The Local defaults remain profile local and Core URL
http://127.0.0.1:17350. For headless automation, seed dashboard auth and the
OpenAI key before selecting Local explicitly:
am auth login --token "$AM_DASHBOARD_JWT"
export OPENAI_API_KEY=sk-... # inject through your secret manager
am init --local --yes
For Core-only Docker without a Cloud account, use the Core package guide. The open-source quickstart covers lifecycle, custom URLs, and troubleshooting; the CLI README documents every initialization flag.
Both initialization paths leave an active profile that the published MCP server can use. Configure a supported host with:
am integrate --yes --host cursor # or claude-code / codex / opencode
Codex and Cursor marketplace plugin packages remain coming soon in the
matrix below; direct MCP configuration through am integrate is a separate
supported path. Use am integrate doctor to diagnose host configuration.
The SDK is server-side only in v1. Start Core first, then reveal the Local client environment only in a trusted terminal:
am connect env --for clients --show-secrets
npm install @atomicmemory/sdk
Copy ATOMICMEMORY_CORE_URL and CORE_API_KEY into the trusted server process;
never expose CORE_API_KEY in a browser bundle. Then use the memory client:
import { MemoryClient } from '@atomicmemory/sdk';
const memory = new MemoryClient({
providers: {
atomicmemory: {
apiUrl: process.env.ATOMICMEMORY_CORE_URL!,
apiKey: process.env.CORE_API_KEY!,
},
},
});
await memory.initialize();
await memory.ingest({
mode: 'messages',
messages: [{ role: 'user', content: 'I prefer aisle seats.' }],
scope: { user: 'demo-user' },
});
const results = await memory.search({
query: 'seat preference',
scope: { user: 'demo-user' },
});
Use AtomicMemoryClient when the application also needs the storage namespace.
See the SDK quickstart and
packages/sdk/README.md for the full API.
Every CLI download is checked against SHA256SUMS. If an authenticated GitHub
CLI is available, the installer also verifies build provenance. Without GitHub
authentication it warns, skips optional attestation, and continues only after
checksum verification. To require attestation:
curl --proto '=https' --tlsv1.2 -fsSL https://get.atomicstrata.ai/install.sh | AM_VERIFY_ATTESTATION=1 sh -s -- --init
Required verification fails before installation unless gh auth login or
GH_TOKEN supplies working GitHub authentication.
Status labels are part of the public docs contract: