Self-Hosted Setup
Run the full Agentic Memory stack on your own infrastructure.
Architecture
The self-hosted stack consists of:
- Neo4j — Graph database with vector search
- am-server — FastAPI backend for REST and MCP surfaces
- agentic-memory CLI — Local ingestion and 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 will start on http://127.0.0.1:8765 by default.
5. Verify health
curl http://127.0.0.1:8765/health