Troubleshooting
Common issues on the hosted Rust CLI path. Legacy Neo4j/Python problems are in a separate section below.
Install script returns 404
If curl -fsSL https://agentmemorylabs.com/install.sh | sh or install.ps1 fails with HTTP 404, the CLI CDN artifact may not be published yet.
- Download manually from
https://agentmemorylabs.com/downloads/cli/manifest.jsonand add the binary to yourPATH - See the installation guide for version pinning and manual fallback steps
agent-memory: command not found
Re-open your terminal after install so PATH updates apply.
- macOS/Linux: ensure
~/.local/binis on yourPATH - Windows: check
%LOCALAPPDATA%\Programs\agent-memory\bin - Verify directly:
agent-memory --version
Login and auth failures
If index or search report missing credentials:
- Create an API key at /account
- Set
AM_HOSTED_BASE_URL=https://backend.agentmemorylabs.com - Run
agent-memory login --api-key YOUR_KEYor exportAM_API_TOKEN
agent-memory doctor failures
Doctor is fail-closed — any fail check blocks indexing until resolved.
- Not initialized: run
agent-memory init --managedfrom the repo root - Auth: re-run login; confirm API key is active
- Backend unreachable: verify
AM_HOSTED_BASE_URLand network access to the control plane - Use
agent-memory doctor --jsonfor machine-readable output
Indexing issues
- Run commands from the repository root where
.agentic-memory/config.jsonexists no indexable files found— widenextensionsin config or re-runinit --managed --extensions .rs,.md,.toml- Large repos: use
index --no-waitthenindex-watch --job-id <id>
MCP client cannot connect
Hosted MCP uses OAuth over HTTP — not a local serve process.
- Cursor default:
https://mcp.agentmemorylabs.com/mcp-full/(or/mcpfor frictionless setup) - Run
agent-memory mcp setupfor copy-paste client config - See MCP Integration for per-client notes
Legacy: Python / Neo4j self-hosted
These issues apply only to the historical agentic-memory + Neo4j stack — not hosted production.
Neo4j connection refused
If you see ServiceUnavailable: Unable to connect to bolt://localhost:7687:
docker ps | grep neo4j— start withdocker-compose up -d neo4j
Local MCP server not found
- Verify
agentic-memory serveis running - Check port 8000:
lsof -i :8000
Poor semantic search (Neo4j)
- Verify embedding API keys (
GEMINI_API_KEY) - Check chunks:
MATCH (ch:Chunk) RETURN count(ch)
Full legacy setup: Self-Hosted Legacy.