Historical — not hosted production
This guide documents the removed Python/Neo4j era. Agent Memory Labs hosted prod uses Rust am-server-rs, Ladybug, and SpacetimeDB. For the current path, start with the hosted quickstart.
Self-Hosted Legacy
Historical instructions for running the Python + Neo4j stack on your own infrastructure.
Architecture (historical)
The legacy self-hosted stack consisted of:
- Neo4j — graph database with vector search
- am-server — FastAPI backend for REST and MCP surfaces
- agentic-memory CLI — local ingestion and stdio MCP server
1. Install dependencies
git clone https://github.com/jarmen423/agentic-memory.git
cd agentic-memory
python -m venv .venv
source .venv/bin/activate
pip install -e .2. Start Neo4j
docker-compose up -d neo4j3. Configure environment
cp .env.example .env
# Edit .env with your Neo4j credentials and API keys4. Start am-server
python -m am_server.serverThe server started on http://127.0.0.1:8765 by default.
5. Verify health
curl http://127.0.0.1:8765/health