# Agent Integrations

> Connect Ditto memory to CLI-first agents like OpenClaw and Hermes, or use the MCP server with MCP-capable tools.

---

Ditto can live inside the agents you already use. The right setup depends on how the agent integrates with outside tools.

## Choose Your Path

| Agent or tool                                         | Integration type                          | Start here                                          |
| ----------------------------------------------------- | ----------------------------------------- | --------------------------------------------------- |
| Ditto CLI                                             | Local command surface for agent skills    | [Ditto CLI](/docs/ditto-cli)                        |
| OpenClaw                                              | ClawHub skill that calls the Ditto CLI    | [Connect Ditto to OpenClaw](/docs/openclaw)         |
| Hermes Agent                                          | Hermes skill tap that calls the Ditto CLI | [Connect Ditto to Hermes Agent](/docs/hermes-agent) |
| Codex, Claude, Cursor, Antigravity, other MCP clients | Remote MCP server                         | [Ditto MCP Server](/docs/mcp-server)                |

OpenClaw and Hermes do **not** connect to Ditto as MCP clients. They install a skill that invokes the `ditto` CLI. The CLI talks to Ditto's API, stores or reads the same memory graph, and uses the same API key format as the app connect pages.

## What The CLI Gives Agents

The [Ditto CLI](/docs/ditto-cli) exposes the memory operations an agent needs while keeping auth local:

- `ditto search` for semantic memory search
- `ditto fetch` for retrieving specific memories
- `ditto save` for durable preferences, decisions, and facts
- `ditto subjects` for subject lookup
- `ditto memories` for memory previews scoped to a subject
- `ditto network` for related memories and subject context
- `ditto status` for verifying auth and endpoint access

Use the dedicated docs for the exact install commands, API key flow, and troubleshooting steps for each agent. Use [Ditto CLI](/docs/ditto-cli) when you need standalone install, auth, verification, or command reference details.

## App Connect Pages

The app pages create API keys with the right naming and return path for each agent:

- [app.heyditto.ai/connect/openclaw](https://app.heyditto.ai/connect/openclaw)
- [app.heyditto.ai/connect/hermes](https://app.heyditto.ai/connect/hermes)

If you revoke a key from Ditto, the connected agent loses access immediately.