Get agent-memory installed quickly using either a source build or a prebuilt binary.
Use this quickstart for the shortest path to a working single-agent setup. For a deeper walkthrough, see the Full Guide.
- Source build (recommended if you already have Rust)
- Prebuilt binaries (fastest if you do not want to compile)
Required:
- macOS or Linux
protoc(Protocol Buffers compiler)
Optional (only for source builds):
- Rust 1.82+ with Cargo
Optional (for summarization):
- OpenAI or Anthropic API key
- macOS or Linux confirmed
-
protocinstalled (protoc --version) - Rust installed if using source build (
rustc --version)
Verify now (optional):
protoc --versionrustc --version
Pick one path:
- Clone the repo
- Build release binaries
git clone https://github.com/SpillwaveSolutions/agent-memory.git
cd agent-memory
cargo build --release- Download the latest release for your platform
- Unpack to a local bin directory
mkdir -p ~/.local/bin
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m)
curl -L "https://github.com/SpillwaveSolutions/agent-memory/releases/latest/download/memory-daemon-${PLATFORM}-${ARCH}.tar.gz" | tar xz -C ~/.local/bin
curl -L "https://github.com/SpillwaveSolutions/agent-memory/releases/latest/download/memory-ingest-${PLATFORM}-${ARCH}.tar.gz" | tar xz -C ~/.local/bin
chmod +x ~/.local/bin/memory-daemon ~/.local/bin/memory-ingest- Ensure
~/.local/binis on your PATH
export PATH="$HOME/.local/bin:$PATH"Verify now (optional):
memory-daemon --versionmemory-ingest --version
- Create
~/.config/agent-memory/config.toml
# ~/.config/agent-memory/config.toml
db_path = "~/.local/share/agent-memory/db"
grpc_port = 50051
grpc_host = "0.0.0.0"
log_level = "info"
[summarizer]
provider = "openai"
model = "gpt-4o-mini"Verify now (optional):
cat ~/.config/agent-memory/config.toml
- Validate configuration before starting the daemon
memory-daemon config check- Start the memory daemon
memory-daemon startVerify now (optional):
memory-daemon statusmemory-daemon query --endpoint http://[::1]:50051 root
- Follow the agent-specific setup guide for your tool
See: Agent Setup
command not found: ensure~/.local/binis in PATHconnection refused: daemon not running; runmemory-daemon startsummarization failing: setOPENAI_API_KEYorANTHROPIC_API_KEY
For deeper troubleshooting, see the Full Guide.