Quickstart
Quickstart (Self-Hosted)
Get Engram running on your own hardware in under five minutes.
Prerequisites
- Docker 24+ and Docker Compose v2
- At least 4 GB RAM available for containers
- An API key from OpenAI or another supported provider
Step 1: Get the compose file
Clone the repository or download just the compose file:
# Option A: Clone the repogit clone https://github.com/EngramTools/memcp.gitcd memcp
# Option B: Download only the compose filecurl -O https://raw.githubusercontent.com/EngramTools/memcp/main/docker-compose.ymlStep 2: Set your API key
Copy the example environment file and add your API key:
cp .env.example .envOpen .env and set at minimum:
OPENAI_API_KEY=sk-your-key-hereSee the full environment reference for all available variables.
Step 3: Start Engram
docker compose up -dThis starts three services:
| Service | Port | Description |
|---|---|---|
| openclaw | 3000 | Agent runtime and API |
| memcp | 4000 | Memory server (MCP protocol) |
| claw-control | 8080 | Management dashboard |
Wait about 15 seconds for all services to initialize.
Step 4: Open the dashboard
Visit http://localhost:8080 in your browser. You should see the claw-control dashboard.
If you see a loading state for more than 30 seconds, check logs:
docker compose logs -fStep 5: Add a channel
A “channel” connects your agent to an interface. For a first test, use the built-in CLI channel:
- In claw-control, go to Channels → Add Channel
- Select CLI from the channel type list
- Click Create
For Telegram setup, see the Channels guide.
Step 6: Send a message to your agent
Open the CLI channel in claw-control and type a message in the chat panel. Your agent will respond.
After the response, go to Memory in the sidebar. You’ll see the memory entries memcp created from the conversation.
Expected result
- Agent responds in the chat panel
- Memory entries appear in the Memory browser
- Each subsequent message has access to the stored context
What’s next?
- Configure your self-hosted deployment — environment variables, volumes, reverse proxy
- Learn how memcp works — salience decay, hybrid search, context injection
- Explore claw-control — agent config, memory inspection, tool management