Skip to main content
Every client below shares the same flow: start the server with npx @agentmemory/agentmemory, wire the client, restart it, then verify with one prompt and the viewer at http://localhost:3113 or curl -X POST http://localhost:3111/agentmemory/smart-search -H 'Content-Type: application/json' -d '{"query": "test"}'. The first six have automated connect adapters that back up the target file, merge the entry, and verify the write. The last three are manual installs; connect prints the exact instructions instead of mutating files.

Automated adapters

Detects ~/.cline/ and writes the standard block to ~/.cline/mcp.json (the CLI surface):
~/.cline/mcp.json
VS Code extension users paste the same block via Cline Settings, MCP Servers, Edit JSON. The guideline lands as a project rule at .clinerules/agentmemory.md (no frontmatter, always active).

Manual installs

connect hermes detects ~/.hermes/ but does not rewrite YAML; it prints this block to add to ~/.hermes/config.yaml:
~/.hermes/config.yaml
For deeper integration, copy the Python plugin:
The plugin hooks six points in the agent loop: prefetch() injects memories before each LLM call, sync_turn() captures every turn, on_session_end() marks sessions for summarization, on_pre_compress() re-injects context before compaction, on_memory_write() mirrors MEMORY.md writes, and system_prompt_block() injects the project profile at session start. It reads ~/.agentmemory/.env at import time to fill missing AGENTMEMORY_URL and AGENTMEMORY_SECRET values; shell exports take precedence. Set AGENTMEMORY_REQUIRE_HTTPS=1 to refuse sending the bearer token over plaintext HTTP to a non-loopback host.Validate the install with Hermes’s own tooling: hermes plugins doctor ~/.hermes/plugins/agentmemory checks the manifest, import, and runtime contracts, and hermes memory status should show the provider as installed and available. Verified against Hermes v0.20.1.

Any other MCP client

The standalone stdio server works with any MCP host:
Point the host’s config at that command with AGENTMEMORY_URL in the env. Sandboxed clients (Flatpak, Snap, restrictive containers) that cannot reach the host’s localhost should also set "AGENTMEMORY_FORCE_PROXY": "1" and point AGENTMEMORY_URL at a route the sandbox can reach. Adapter sources: src/cli/connect/{cline,continue,dsh,kiro,qwen,warp,zed,hermes,pi,openhuman}.ts. Plugins: integrations/hermes/, integrations/pi/.
Last modified on August 16, 2026