Synap — Memory Layer for Production AI Agents
Long-term memory for production AI agents: pre-fetched context, entity resolution, and 95.6% on LongMemEval.
- Source repo
- maximem-ai/maximem_synap_sdk
- Stars
- ★ 83
- Last updated
- 1d ago
- FARS reviewed
- Dec 02, 2026
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 50/100 · Major gaps
At a glance
- Works with
- Portable with changesCodex · Claude Code · OpenAI API · Claude API
- You'll need
- Typical use
- Customer-support teams on LangChain or CrewAI whose agent must remember a user's issue across separate tickets and sessions
- Main limitation
- The memory engine is closed and hosted: there is no local or offline mode, and both SDKs do nothing without a Synap Cloud API key and network access
- Website
- maximem.ai/synap ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02
- Source review
- 50/100 · Major gaps 1 safety controls not found
What does this agent do, and when should you use it?
Synap is Maximem's memory and context-management layer for production AI agents, shipped here as the maximem-synap Python SDK and the @maximem/synap-js-sdk JavaScript SDK. Applications record conversational turns with record_message / recordMessage, then call sdk.fetch() / fetchUserContext() to get context merged across a four-level scope hierarchy (client → customer → user → conversation). The memory engine itself — ingestion, entity resolution, retrieval, temporal decay, retraction and contradiction handling — is not in this repository: the SDKs are clients of the hosted Synap Cloud API, so an API key is mandatory and there is no local server to start. Around the two SDKs the repo publishes 24 installable framework packages (LangChain, LangGraph, LlamaIndex, CrewAI, AutoGen, Haystack, Google ADK, OpenAI Agents SDK, Semantic Kernel, Pydantic AI, Agno, LiveKit, Pipecat, Claude Agent for Python and TypeScript, Mastra, Vercel AI SDK, NeMo Agent Toolkit, Microsoft Agent Framework, Strands, CAMEL-AI, Smolagents, Deepagents) plus a stateless MCP server exposing four tools. The README reports 95.6% on all 500 LongMemEval questions and 93.2% on LoCoMo, with per-question results published and an open harness to recompute them; the repository is Apache-2.0 while the core Python/JS SDKs and the Vercel AI SDK integration are declared MIT.
A call to sdk.conversation.record_message(conversation_id, user_id, role, content) (Python) or client.conversation.recordMessage({...}) (JS) sends a conversational turn into Synap's cloud ingestion pipeline, which resolves entities ("my manager" in turn 3 and "Sarah" in turn 12 become the same person), applies temporal decay, and treats retractions as contradictions to handle rather than extra context to store. Retrieval is anticipatory: sdk.fetch(conversation_id, user_id, search_query=[...]) returns a formatted_context string before the agent asks (~15ms P50 per internal measurement), merging client, customer, user and conversation scopes in one call. Framework packages expose the same engine as native objects — SynapChatMessageHistory for LangChain's RunnableWithMessageHistory, SynapStorageBackend for CrewAI memory=True, SynapChatMemory for a LlamaIndex ReActAgent. packages/mcps/synap-mcp-server/ is a stateless adapter that exposes log_exchange, check_memory_status, recall_context and list_recent_memories as MCP tools over Streamable HTTP and forwards the caller's Bearer token verbatim. skills/synap/ and skills/synap-codex/ ship installable instructions that let Claude Code or Codex wire the SDK into a codebase.
- Customer-support teams on LangChain or CrewAI whose agent must remember a user's issue across separate tickets and sessions
- Voice-AI builders on LiveKit or Pipecat who need context ready before the turn starts to avoid dead air
- B2B SaaS platforms that need per-client, per-customer, per-user memory isolation from a single
fetch()call - n8n, Gumloop or other MCP-client users who want agent memory from an MCP URL and token with no SDK code
- Evaluation engineers comparing memory vendors — the open harness already ships Mem0, Zep and Supermemory adapters
- Claude Code or Codex users who want the coding agent to wire memory in automatically via the bundled skill
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install maximem-synapnpm install @maximem/synap-js-sdkpip install maximem-synap-langchainpip install maximem-synap-crewai
- Config files
~/.claude/skills/synap- Runtime
- Python 3.11+ · Node.js 20+
How do you install or deploy this agent?
Get an API key at https://www.maximem.ai/synap (Trial plan: 12,500 credits/month, 1 agent, no card required).
# Python
pip install maximem-synap
# JavaScript / TypeScript
npm install @maximem/synap-js-sdkRuntimes: Python 3.11+ for the Python SDK; Node 20+ for the JS SDK, which also needs Python 3.11+ for the bridge layer. Framework packages install separately, for example:
pip install maximem-synap-langchain
pip install maximem-synap-crewai
pip install maximem-synap-llamaindexHow do you use this agent?
The minimum working flow is: initialise the SDK, record one message, then fetch context from a different conversation for the same user.
import asyncio
from maximem_synap import MaximemSynapSDK
sdk = MaximemSynapSDK(api_key="your-api-key")
async def main():
await sdk.initialize()
# Monday's standup
await sdk.conversation.record_message(
conversation_id="mon-standup",
user_id="alice",
role="user",
content="I'm migrating our auth service to OAuth2 this sprint.",
)
# Friday: completely different conversation, same user
context = await sdk.fetch(
conversation_id="fri-review",
user_id="alice",
search_query=["what is alice working on?"],
)
print(context.formatted_context)
asyncio.run(main())The JavaScript surface is equivalent:
const { createClient } = require('@maximem/synap-js-sdk');
const client = createClient({ apiKey: 'your-api-key' });
await client.init();
await client.conversation.recordMessage({
conversationId: 'mon-standup',
userId: 'alice',
role: 'user',
content: "I'm migrating our auth service to OAuth2 this sprint.",
});
const context = await client.fetchUserContext({
userId: 'alice',
query: 'what is alice working on?',
});
console.log(context.formattedContext);For no-code MCP clients (Cursor, n8n, Gumloop), skip the SDK: add the Synap MCP server URL and API key from the dashboard and the four tools appear in the client. Claude Code and Codex users can install the bundled skill instead:
git clone --depth 1 https://github.com/maximem-ai/maximem_synap_sdk /tmp/synap && cp -r /tmp/synap/skills/synap ~/.claude/skills/synapSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
What are this agent's strengths and limitations?
- Retrieved memories, answers and judge verdicts for all 500 LongMemEval questions are published, and the eval harness ships adapters for Mem0, Zep and Supermemory, so results can be recomputed and rerun side by side
- The 24 integrations are real PyPI/npm packages rather than README snippets, plugging the SDK in as each framework's native memory or chat-history object
- The MCP server is a stateless adapter — each call maps to one REST operation, no extra backend to deploy, with source in-repo for self-hosting
- Four-level scoping (client / customer / user / conversation) merged in a single
fetch()is built for multi-tenant B2B, not bolted on later - The free Trial plan (12,500 credits/month, 1 agent, no card) already covers the core memory capabilities
- The memory engine is closed and hosted: there is no local or offline mode, and both SDKs do nothing without a Synap Cloud API key and network access
- Knowledge queries, document navigation, premium document parsers and bring-your-own-model-key sit on Pro and above; the free tier is core capabilities only
- The repo is a published mirror of a private monorepo —
packages/is overwritten on each sync and pull requests are closed, so you cannot patch the SDK in place - Licences are declared per package (repo Apache-2.0, core Python/JS SDKs and Vercel AI SDK integration MIT), so adoption means auditing each package's metadata
- The ~15ms P50 pre-fetch latency is an internal Maximem measurement with no public latency benchmark artifact in the repository
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Synap — Memory Layer for Production AI Agents This agent | 50 · Major gaps | — | ★ 83 | 1d ago | Python | Codex · Claude Code · OpenAI API · Claude API |
| Remnic Agent Memory | 73 · Some gaps | CLIFree + model costs | ★ 243 | 1d ago | TypeScript | ChatGPT · Codex · Claude Code · OpenAI API |
| Caura | 77 · Good | Self-hosted serviceFreemium | ★ 578 | today | Python | Codex · Claude Code · Claude.ai |
| Hindsight | 68 · Some gaps | Self-hosted serviceFreemium | ★ 65k | today | Python | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The evidence shows the SDK connects to a hosted service with an API key; SECURITY.md says the key is sent only to the configured endpoint and can be revoked; SKILL.md says not to paste keys into chat, writes them to .env, and asks the user before creating or reusing an instance. However, allowed-tools includes Read/Write/Edit/Bash, which is broad and lacks a least-privilege constraint. Data-flow transparency is decent but lacks retention and subprocessor details. Sensitive-data handling covers API keys only, not PII, encryption, or deletion of stored memories. Dependency security has no manifest, lockfile, or audit evidence. External effects include memory writes, MCP log_exchange, instance creation, and .env writes, without per-call confirmation. Rollback is limited to retraction and key revocation, with no documented memory deletion or instance rollback. Source attribution links to the vendor's own benchmark results and harness, but remains self-published. Scores: least_privilege=1, user_confirmation=2, data_flow_transparency=2, sensitive_data_handling=1, dependency_security=0, external_effects=1, rollback=1, source_attribution=2.
README provides install steps, version requirements, and benchmark details, but there are inconsistencies: license statements conflict (Apache-2.0 vs core SDKs MIT), 24 integrations are claimed while the table has 25 rows including MCP, and the LongMemEval run date is October 2026, later than the current date. Dependency availability is supported only by pip/npm badges and install commands, with no manifest or lockfile. Failure messages appear only in the skill as 401/403, exit 2, and expired-code guidance; no SDK error taxonomy is shown. Scores: self_consistency=1, dependency_availability=1, failure_messages=1.
README clearly targets production agents, voice, B2B multi-tenant use, coding agents, and no-code MCP, and says Synap is overkill for single-turn LLM calls. The open-vs-hosted boundary table is clear, and the MCP server is described as a stateless adapter. However, SKILL triggers cover any mention of memory plus many competitors and frameworks, which is over-broad. Environment requirements list Python 3.11+, Node 20+, and CLI Node/Python 3.10+, but omit OS, offline, and network constraints. Scores: audience_and_scenarios=2, capability_boundaries=3, trigger_precision=1, environment_fit=2.
README is well structured, and install notes cover pip/npm, framework packages, and coding-agent setup; examples include Python/JS quickstarts and framework snippets. Naming is mostly consistent but has minor differences such as synap-vercel-adk. Known limitations mention hosted-only operation, no local server, single-turn overkill, and skipped JS parity suites. LICENSE is Apache-2.0, but README also says core SDKs are MIT, creating a license conflict. There is no CHANGELOG or version policy. Maintenance responsibility is stated as Maximem AI, with mirror sync, issues/discussions, and security contact, but the publisher is unverified. Scores: information_architecture=2, install_notes=3, naming_stability=2, examples_and_faq=2, known_limitations=2, license=1, versioning_changelog=0, maintenance_responsibility=2.
README shows formatted_context output, four MCP tools, and 24 framework integrations, which indicates basic usability. But it does not provide a complete response schema, error output, or cost breakdown. The free tier of 12,500 credits/month and paid plans are only summarized, with no price or resource-cost comparison. The core memory engine is closed, benchmarks are vendor self-reported, and marginal-value evidence is limited. Scores: output_usability=2, marginal_value=2, cost_benefit=1.
README links LongMemEval/LoCoMo results to a separate results repository and an open harness, and labels latency as an internal measurement, so facts and inferences are somewhat separated. However, no result files are in the packet, benchmarks remain self-published, and independent cross-checking is absent. The future run date and marketing language weaken rigor. Scores: claim_traceability=2, cross_source_corroboration=1, fact_inference_separation=2.
- Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- License statements conflict: root LICENSE is Apache-2.0 while README says core Python/JS SDKs and the Vercel integration are MIT; verify per-package metadata before adoption.
- Benchmark claims of 95.6%/93.2% are vendor self-reported and no result files are in the packet; README also shows an October 2026 run date, so independent verification is needed.
- SKILL.md grants Read/Write/Edit/Bash and triggers on any memory mention, making permissions and trigger scope broad.
- No dependency manifests, lockfiles, or audit evidence are provided; dependency security cannot be confirmed statically.
- Hosted-service data retention, PII handling, encryption, deletion, and rollback are not described; memory writes and MCP log_exchange lack per-call confirmation.
- No CHANGELOG or version policy is present and the publisher is unverified; confirm maintenance and upgrade paths before production use.
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.