> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations Overview

> Drop-in packages that add Synap memory to popular AI frameworks and agent SDKs.

Synap ships a library of thin integration packages so you can add persistent memory to your existing agent stack without rewriting your application. Each package handles the translation between Synap's API and the framework's native memory or tool interface.

## Three ways to add Synap

<CardGroup cols={3}>
  <Card title="AI coding agent (fastest)" icon="wand-magic-sparkles" href="/integrations/ai-coding-agents">
    Install the skill and let Claude Code, Cursor, or Codex wire Synap in for you.
  </Card>

  <Card title="Framework package" icon="puzzle-piece" href="#available-integrations">
    Drop in the package for your framework: LangChain, LangGraph, and 16 more (below).
  </Card>

  <Card title="No-code (MCP)" icon="plug" href="/integrations/mcp">
    Connect any MCP client with a URL and a token. No code.
  </Card>
</CardGroup>

<Frame>
  <img src="https://mintcdn.com/maximemai/bCgk4BVbY7w7icPh/images/architecture-overview.png?fit=max&auto=format&n=bCgk4BVbY7w7icPh&q=85&s=06bb093662f876fdb2d62f0ce1a21383" alt="High-level architecture: the SDK, used inside your AI agent application, communicates directly with the Synap service" width="1536" height="1024" data-path="images/architecture-overview.png" />
</Frame>

All packages share the same contract:

* **Read-side failures degrade gracefully**: a failed context fetch returns an empty result and logs an error, so your agent keeps running.
* **Write-side failures surface explicitly**: failed ingestion raises `SynapIntegrationError` (or equivalent) so callers know if memory persistence failed.
* **Same scoping model everywhere**: every package accepts `user_id`, optional `customer_id`, and optional `conversation_id`.

## How integrations plug in

Every framework exposes a few hook points in its agent loop, and each Synap package maps onto the same set of points. No matter which framework you use, an integration plugs in through one or more of these:

| Plug point              | What it does                                                                                                  | When it fires                    |
| ----------------------- | ------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| **History / memory**    | Replaces the framework's conversation memory so prior turns and long-term memories are loaded into the agent. | Always-on, before generation.    |
| **Callback / recorder** | Captures each completed turn and ingests it into Synap so future conversations remember it.                   | Always-on, after generation.     |
| **Retriever**           | Fetches relevant memories for a query and returns them as context or documents.                               | Always-on, before generation.    |
| **Tools**               | Exposes explicit `search_memory` and `store_memory` functions the model can call on its own.                  | Model-driven, during generation. |

These fall into two modes:

* **Always-on memory**: history, callback, and retriever points run on every turn without the model deciding to. This is the default for memory-augmented agents and needs no prompt changes.
* **Model-driven memory**: tools let the agent choose when to read or write memory. Use this when you want the model to reason about what to remember or look up, or when always-on context would be too broad.

Most integrations support several of these points, so you can combine always-on context with model-driven tools in the same agent. The per-framework pages below note exactly which points each package provides.

## Available Integrations

<CardGroup cols={3}>
  <Card title="No-code (MCP)" icon="plug" href="/integrations/mcp">
    Connect Gumloop, n8n, Claude, or any MCP client with just a URL and a token, no code.
  </Card>

  <Card title="LangChain" icon="https://github.com/langchain-ai.png" href="/integrations/langchain">
    Memory, callbacks, retriever, and tools for LangChain chains and agents.
  </Card>

  <Card title="LangGraph" icon="https://github.com/langchain-ai.png" href="/integrations/langgraph">
    Checkpointer and cross-thread store for LangGraph graphs.
  </Card>

  <Card title="LlamaIndex" icon="https://github.com/run-llama.png" href="/integrations/llamaindex">
    `BaseMemory` implementation and retriever for LlamaIndex pipelines.
  </Card>

  <Card title="OpenAI Agents" icon="https://github.com/openai.png" href="/integrations/openai-agents">
    Search and store tools for the OpenAI Agents SDK.
  </Card>

  <Card title="Pydantic AI" icon="https://github.com/pydantic.png" href="/integrations/pydantic-ai">
    Dependency dataclass and tool registration for Pydantic AI agents.
  </Card>

  <Card title="CrewAI" icon="https://github.com/crewAIInc.png" href="/integrations/crewai">
    `StorageBackend` implementation for CrewAI's unified Memory system.
  </Card>

  <Card title="AutoGen" icon="https://github.com/microsoft.png" href="/integrations/autogen">
    Search and store `BaseTool` implementations for AutoGen agents.
  </Card>

  <Card title="Google ADK" icon="https://github.com/google.png" href="/integrations/google-adk">
    `FunctionTool` factory for Google Agent Development Kit agents.
  </Card>

  <Card title="Haystack" icon="https://github.com/deepset-ai.png" href="/integrations/haystack">
    `SynapRetriever` and `SynapMemoryWriter` pipeline components for Haystack.
  </Card>

  <Card title="Agno" icon="https://github.com/agno-agi.png" href="/integrations/agno">
    Drop-in `InMemoryDb` replacement that routes user memories through Synap.
  </Card>

  <Card title="Semantic Kernel" icon="https://github.com/microsoft.png" href="/integrations/semantic-kernel">
    Kernel plugin with `search_memory` and `store_memory` functions.
  </Card>

  <Card title="Microsoft Agent Framework" icon="https://github.com/microsoft.png" href="/integrations/microsoft-agent">
    Context and history providers for the Microsoft Agent Framework.
  </Card>

  <Card title="NeMo Agent Toolkit" icon="https://github.com/NVIDIA.png" href="/integrations/nemo-agent-toolkit">
    `MemoryEditor` implementation for NVIDIA NeMo Agent Toolkit workflows.
  </Card>

  <Card title="LiveKit Agents" icon="https://github.com/livekit.png" href="/integrations/livekit-agents">
    Context preloading and turn recording for LiveKit voice agents.
  </Card>

  <Card title="Pipecat" icon="https://github.com/pipecat-ai.png" href="/integrations/pipecat">
    Frame processors for memory injection and recording in Pipecat pipelines.
  </Card>

  <Card title="Strands Agents" icon="https://github.com/strands-agents.png" href="/integrations/strands-agents">
    Native `MemoryStore`, short-term context hook, tools, and anticipation-stream feed.
  </Card>

  <Card title="CAMEL-AI" icon="https://github.com/camel-ai.png" href="/integrations/camel-ai">
    Native `AgentMemory` that augments CAMEL's history with Synap recall and persistence.
  </Card>

  <Card title="Smolagents" icon="https://github.com/huggingface.png" href="/integrations/smolagents">
    Memory tools and a per-step turn recorder for Hugging Face Smolagents.
  </Card>

  <Card title="Claude Agent SDK" icon="https://github.com/anthropics.png" href="/integrations/claude-agent">
    Hooks and MCP server for Anthropic's Claude Agent SDK (Python & TypeScript).
  </Card>

  <Card title="Mastra" icon="https://github.com/mastra-ai.png" href="/integrations/mastra">
    `SynapMemory` class and tools for Mastra (TypeScript).
  </Card>

  <Card title="Vercel AI SDK" icon="https://github.com/vercel.png" href="/integrations/vercel-ai-sdk">
    Middleware that wraps any Vercel AI SDK model with automatic Synap context.
  </Card>

  <Card title="Vercel eve" icon="https://github.com/vercel.png" href="/integrations/eve">
    Memory tools and a per-turn short-term-context resolver for eve agents.
  </Card>
</CardGroup>

## Quick Comparison

| Package                            | Language   | Integration point                  | Install                                        |
| ---------------------------------- | ---------- | ---------------------------------- | ---------------------------------------------- |
| `maximem-synap-langchain`          | Python     | Memory, callback, retriever, tools | `pip install maximem-synap-langchain`          |
| `maximem-synap-langgraph`          | Python     | Checkpointer + Store               | `pip install maximem-synap-langgraph`          |
| `maximem-synap-llamaindex`         | Python     | `BaseMemory` + retriever           | `pip install maximem-synap-llamaindex`         |
| `maximem-synap-openai-agents`      | Python     | Function tools                     | `pip install maximem-synap-openai-agents`      |
| `maximem-synap-pydantic-ai`        | Python     | Deps + tools                       | `pip install maximem-synap-pydantic-ai`        |
| `maximem-synap-crewai`             | Python     | `StorageBackend`                   | `pip install maximem-synap-crewai`             |
| `maximem-synap-autogen`            | Python     | `BaseTool`                         | `pip install maximem-synap-autogen`            |
| `maximem-synap-google-adk`         | Python     | `FunctionTool` factory             | `pip install maximem-synap-google-adk`         |
| `maximem-synap-haystack`           | Python     | Pipeline components                | `pip install maximem-synap-haystack`           |
| `maximem-synap-agno`               | Python     | `InMemoryDb` subclass              | `pip install maximem-synap-agno`               |
| `maximem-synap-semantic-kernel`    | Python     | Kernel plugin                      | `pip install maximem-synap-semantic-kernel`    |
| `maximem-synap-microsoft-agent`    | Python     | Context + history providers        | `pip install maximem-synap-microsoft-agent`    |
| `maximem-synap-nemo-agent-toolkit` | Python     | `MemoryEditor`                     | `pip install maximem-synap-nemo-agent-toolkit` |
| `maximem-synap-livekit-agents`     | Python     | Helpers + function tools           | `pip install maximem-synap-livekit-agents`     |
| `maximem-synap-pipecat`            | Python     | Frame processors                   | `pip install maximem-synap-pipecat`            |
| `maximem-synap-strands-agents`     | Python     | `MemoryStore` + hooks + tools      | `pip install maximem-synap-strands-agents`     |
| `maximem-synap-camel-ai`           | Python     | `AgentMemory` + tools              | `pip install maximem-synap-camel-ai`           |
| `maximem-synap-smolagents`         | Python     | Tools + step recorder              | `pip install maximem-synap-smolagents`         |
| `maximem-synap-claude-agent`       | Python     | Hooks + MCP server                 | `pip install maximem-synap-claude-agent`       |
| `@maximem/synap-claude-agent`      | TypeScript | Hooks + MCP server                 | `npm install @maximem/synap-claude-agent`      |
| `@maximem/synap-mastra`            | TypeScript | `MastraMemory` + tools             | `npm install @maximem/synap-mastra`            |
| `@maximem/synap-vercel-adk`        | TypeScript | Model middleware                   | `npm install @maximem/synap-vercel-adk`        |
| `@maximem/synap-eve`               | TypeScript | Tools + instructions resolver      | `npm install @maximem/synap-eve`               |

<Note>
  The TypeScript packages wrap the JavaScript SDK, which spawns the Python SDK as a subprocess. **They require a Python 3.11+ runtime on the host** and do not run on Edge Runtime, Cloudflare Workers, Bun, Deno Deploy, or AWS Lambda Node-only runtimes. See [Installation → JavaScript / TypeScript SDK](/setup/installation#javascript-typescript-sdk).
</Note>

## Prerequisites

Every integration requires a configured `MaximemSynapSDK` instance:

<CodeGroup>
  ```python Python theme={null}
  import os
  from maximem_synap import MaximemSynapSDK, SDKConfig

  sdk = MaximemSynapSDK(
      api_key=os.environ["SYNAP_API_KEY"],
      config=SDKConfig(cache_backend="sqlite"),
  )
  await sdk.initialize()
  ```

  ```typescript TypeScript theme={null}
  import { createClient } from "@maximem/synap-js-sdk";

  const sdk = createClient({
    apiKey: process.env.SYNAP_API_KEY!,
  });
  await sdk.init();
  ```
</CodeGroup>

See [SDK Initialization](/sdk/initialization) and [Authentication](/setup/authentication) for full setup details.

## Going further

* [Patterns overview](/patterns/overview): reusable memory patterns across frameworks.
* [Cookbook overview](/cookbook/overview): end-to-end worked examples.
