شعار Atomicmemory

Atomicmemory

مؤسسة
atomicstrata

Portable semantic memory for AI agents: core engine, TypeScript SDK, framework adapters, MCP server, CLI, and host plugins.

الناشرatomicstrata
المستودعatomicmemory
اللغةTypeScript
التفريعات
36
النجوم
438
الأدوات المتاحة
0
نوع نقل البياناتstdio
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Atomicmemory إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 438، والنسخ المتفرعة: 36 في المستودع المرتبط.

AtomicMemory

CI Core npm SDK npm Docker Docs License: Apache 2.0

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

Headline Results

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.

BenchmarkAtomicMemory v66PositionCost/QSample
BEAM-100K lenient0.7375Parity with Hindsight at 0.75$1.26n=80
BEAM-1M lenient0.6625Leading Performance/Cost; +0.022 vs Mem0 paper$0.083n=80
BEAM-10M lenient0.4875Parity with Mem0-new at 0.486$0.081n=80
LoCoMo10 GPT-4o-mini binary0.8396Leading Performance/Cost; +0.171 vs Mem0 paper$0.066n=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.

Quickstart

Install the am CLI and initialize Hosted Cloud in one guided command:

bash
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:

bash
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:

bash
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.

Choose your path

PathBest forStart here
Hosted CloudManaged memory with the fastest setupGuided installer above, or am init
Connected LocalRunning open-source Core on your machineam init --local
TypeScript SDKServer-side application integration against Corenpm 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.

Why AtomicMemory

  • Correction-aware — supersede, clarify, delete, or retain memories as facts change instead of treating memory as append-only recall.
  • Portable — use one memory protocol through the CLI, MCP server, SDK, framework adapters, and host plugins.
  • Inspectable — run the open-source Core and audit the mutation and retrieval path rather than depending only on a hosted black box.
  • Model-flexible — keep extraction, embeddings, mutation, reranking, and retrieval packaging behind explicit provider boundaries.
  • Cloud or Local — begin with managed Cloud or operate Core yourself without rewriting the integration surface.

Use AtomicMemory

Hosted Cloud

Interactive am init offers Hosted Cloud as option 1/default and Connected Local as option 2. Hosted Cloud needs no Docker or OpenAI key:

  • With one project, the CLI selects it automatically. With multiple projects, it prompts for a selection.
  • With no project, it opens onboarding and waits for project creation in an interactive terminal. Non-interactive runs print the URL and recovery command instead of waiting.
  • Credentials are bound to the Cloud origin and project, stored with owner-only permissions, and never printed.
  • A working stored project credential is reused. Otherwise the CLI rotates only this installation's exact 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:

bash
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

Connected Local runs Core on your machine and can link it to Cloud for trace visibility. It requires:

  • Docker Desktop or Docker Engine running
  • An OpenAI API key; interactive setup reads it with hidden input and stores it with owner-only permissions
  • macOS or glibc Linux on x86_64 or arm64

Initialize and verify Local:

bash
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:

bash
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.

Agent hosts and MCP

Both initialization paths leave an active profile that the published MCP server can use. Configure a supported host with:

bash
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.

TypeScript SDK

The SDK is server-side only in v1. Start Core first, then reveal the Local client environment only in a trusted terminal:

bash
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:

ts
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.

Installer verification

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:

bash
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.

Package matrix

Status labels are part of the public docs contract:

  • published — available on the npm registry and supported.
  • implemented, publish pending — code lives in this repo and works locally, but the monorepo-era package has not been released.
  • coming soon — source is present, but the public host install path is not supported yet.
  • deprecated — still published and supported for the workflows named in its row, but superseded.

Packages

PackagePathStatus
@atomicmemory/corepackages/corepublished
@atomicmemory/sdkpackages/sdkpublished
@atomicmemory/clipackages/clideprecated (published; use am, still required for llmwiki import)
@atomicmemory/mcp-serverpackages/mcp-serverpublished
@atomicmemory/llmwikipackages/llmwikiimplemented, publish pending

Framework adapters

PackagePathStatus
@atomicmemory/vercel-aiadapters/vercel-aipublished
@atomicmemory/openai-agentsadapters/openai-agentspublished
@atomicmemory/langchainadapters/langchainpublished
@atomicmemory/langgraphadapters/langgraphpublished
@atomicmemory/mastraadapters/mastrapublished

Host plugins

PackagePathStatus
@atomicmemory/claude-code-pluginplugins/claude-codepublished
@atomicmemory/openclaw-pluginplugins/openclawpublished
@atomicmemory/hermes-pluginplugins/hermespublished
@atomicmemory/codex-pluginplugins/codexcoming soon
@atomicmemory/cursor-pluginplugins/cursorcoming soon

Codex and Cursor plugin source is present, but the public host install path is coming soon until each host marketplace manifest format is validated end to end.

Other surfaces

SurfaceLocationStatus
CLI (am)crates/clipublished; canonical artifacts on GitHub Releases (get.atomicstrata.ai mirrors them)
Python SDK (atomicmemory on PyPI)separate repositorypublished; not part of this monorepo

Repository and trust boundaries

This repository is the public source of truth for AtomicMemory's JavaScript and TypeScript packages, Rust CLI, framework adapters, host plugins, and public smoke contracts. It contains:

  • Core — Docker-deployable memory backend with mutation, retrieval, and Postgres/pgvector storage.
  • SDK — typed provider boundary, memory and storage clients, embeddings, and search primitives.
  • CLI and MCP server — setup, diagnostics, capture, retrieval, and agent integration surfaces.
  • Adapters and plugins — thin integrations for supported frameworks and agent hosts.

Hosted service infrastructure, release orchestration, marketplace operations, the Python SDK, and unpublished benchmark harnesses live outside this monorepo. Package-specific setup remains in each package README.

Performance posture

The Headline Results above are benchmark scores under matched methodology. Latency, recall@k, and scale-envelope claims should only be quoted with the benchmark, hardware, dataset, and measurement date. Until linked latency benchmarks are available, single-digit-millisecond local retrieval remains a design target rather than a guarantee.

Public validation

Pull requests verify repository hygiene, package metadata, affected build and type checks, lint, self-contained tests, package tarball shape, documentation contracts, public integration smoke, and security compliance. Package and release contexts additionally cover Core OpenAPI drift, schema tests, Docker image smoke, and DB-backed Core tests when their required services are present.

Local development

The monorepo uses pnpm workspaces and Turborepo. Check package.json for the complete command surface.

bash
pnpm install
pnpm run build
pnpm run typecheck
pnpm run test
pnpm run lint

Core DB-backed tests require Postgres/pgvector provisioning. Rust CLI changes use the pinned toolchain and the repository's CI-equivalent command:

bash
pnpm run ci:rust

See CONTRIBUTING.md for the full workflow, required checks, and package-level commands. The canonical CLI source and contributor setup are documented in crates/cli/README.md.

Companion: llmwiki

llmwiki compiles raw sources into an interlinked Markdown knowledge base. The @atomicmemory/llmwiki bridge imports its JSON export into AtomicMemory while preserving advisory metadata under memory.metadata.llmwiki.*.

See packages/llmwiki/README.md and packages/llmwiki/docs/cookbook.md for the full workflow.

Project information

Repository layout

text
packages/      core, sdk, cli, mcp-server
crates/        CLI (am) and Cloud/Core wire types
adapters/      framework integrations (Vercel AI, OpenAI Agents, LangChain,
               LangGraph, Mastra)
plugins/       host integrations (Claude Code, OpenClaw, Hermes, Codex, Cursor)
examples/      reserved for phase 2+; only added with owners and CI coverage
tests/smoke/   public, contributor-safe smoke tests

Release orchestration, marketplace operations, sensitive service configuration, and local machine paths are deliberately not part of this repository.

استخدم MCP الخاص بـ Atomicmemory مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Atomicmemory، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Atomicmemory كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Atomicmemory.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "atomicmemory": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Atomicmemory، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Atomicmemory.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Atomicmemory لمساعدتي في هذه المهمة؟
Atomicmemory
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Atomicmemory.

الأسئلة الشائعة

ما استخدامات خادم MCP Atomicmemory؟

Atomicmemory هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Atomicmemory مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Atomicmemory مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Atomicmemory مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Atomicmemory، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Atomicmemory بـ TypingMind؟

يعمل Atomicmemory عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Atomicmemory في TypingMind؟

يتيح Atomicmemory إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Atomicmemory؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Atomicmemory يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇