Cipher is an agentic memory runtime that provides intelligent, stateful agents with persistent memory capabilities. This guide covers all installation methods from quick Docker setup to development builds.
2. Quick Start with Docker (Recommended for Production)
Copy
# Clone repositorygit clone https://github.com/campfirein/cipher.gitcd cipher# Setup environmentcp .env.example .env# Edit .env with your API keys (see Environment Setup below)# Start with Docker Composedocker-compose up -d# Verify installationcurl http://localhost:3000/health
You need at least one API provider. For source builds, copy the environment template:
Copy
# Source/Docker installationscp .env.example .env# Edit .env with at least one API provider:OPENAI_API_KEY=your_openai_api_key_here # For GPT modelsANTHROPIC_API_KEY=your_anthropic_api_key_here # For Claude models OPENROUTER_API_KEY=your_openrouter_api_key_here # For 200+ modelsOLLAMA_BASE_URL=http://localhost:11434/v1 # For self-hosted models
# Development workflowpnpm install # Install dependenciespnpm run build # Build projectpnpm run typecheck # Type checkingpnpm run lint:fix # Lint and fixpnpm run format # Format codepnpm run test # Run tests# Development mode with file watchingpnpm run dev # TypeScript compilation with watch mode