Gingko is a application that exposes a project-scoped memory graph over MCP. Any agent that speaks MCP can open a project, record observations, recall past memories, and navigate the knowledge graph that builds up across sessions.
Under the hood it uses Mnemosyne as a memory engine
For development, if you have mise, just run:
mix setup # fetch deps, install assets
mix phx.serverThen point an MCP client at http://localhost:8008/mcp. The first time the
server boots it creates ~/.gingko/ with a default config and guides you
through setup at http://localhost:8008/setup if anything is missing.
Long-form guides live in guides/:
- Getting Started
- Memory Model — projects, sessions, steps, node types
- MCP Tools Reference
- Configuration — every knob in
config.toml - Extraction Profiles — per-domain and per-project overlays
- Summaries & Session Primer — charter, state, clusters
- Maintenance & Tuning — decay, consolidate, validate, value function
- Deployment — releases and Burrito binaries
Write flow:
open_project_memory→start_session→append_step→ (auto-commit on session end;close_asyncorcommit_sessionfor explicit flushes)
Read flow:
recall,get_node,get_session_state,list_projects,latest_memories
Summary layer (opt-out via [summaries].enabled):
get_session_primer,get_cluster,set_charter,refresh_principal_memory
Graph maintenance:
run_maintenancewithdecay,consolidate, orvalidate
See MCP Tools for the full reference.
All state lives under $GINGKO_HOME (default ~/.gingko):
~/.gingko/
├── config.toml # runtime configuration
├── memory/ # Mnemosyne DETS graph files, one subdir per project
└── metadata.sqlite3 # projects, sessions, summaries
API keys are never written to config.toml — only the env-var names to read.
Export ANTHROPIC_API_KEY, OPENAI_API_KEY, or whichever provider keys your
configured providers need.
Asset toolchain requirement: Yarn 1.x, or Node with Corepack enabled.
mix setup auto-detects yarn, then corepack yarn, and exits with a clear
message if neither is available.
mix setup
mix phx.server # http://localhost:8008The web UI has three main views:
/— project grid with live stats./setup— editconfig.tomlfrom the browser./projects— real-time graph monitor backed by Cytoscape.
mix test # full suite
mix precommit # warnings-as-errors + deps.unlock --unused + format + testIntegration coverage for the MCP tools lives in
test/gingko/mcp/write_flow_test.exs and test/gingko/mcp/read_flow_test.exs.
