Nexus Memory System is a Rust memory platform for AI coding agents. It provides a shared SQLite-backed memory store, a CLI for day-to-day operations, native hook installers for supported agent tools, an MCP server, and an Axum-based web surface.
Nexus gives multiple coding agents one consistent memory layer. It is designed for:
- shared memory storage across agent namespaces
- structured categories such as
general,facts,preferences,context,specifications, andsession - agent hook installation and status management
- search, stats, and migration-oriented operational workflows
- HTTP, WebSocket, and MCP access patterns on top of the same storage layer
- Current Rust workspace layout separates core types, storage, vectors, embeddings, orchestration, hooks, web, MCP, and CLI concerns
- User-level installer that creates a shared
nexusruntime for local agent tools - SQLite-based persistence with repository-style access through
nexus-storage - Native hook management for Claude Code, Gemini, Qwen, Codex, OpenCode, Amp, and Droid
- Web dashboard and API routes under the
nexus-webcrate
git clone https://github.com/scooter-lacroix/Nexus-Memory-System.git
cd Nexus-Memory-System
cargo build --release -p nexus-memory
./scripts/install.sh --binary ./target/release/nexusnexus initnexus store \
--content "Codex completed release validation" \
--agent codex \
--category session \
--labels release,validationnexus search --query "release validation" --agent codex --limit 5nexus tools help
nexus tools help store_memory
nexus tools schema store_memorynexus statsnexus hooks install --agent all
nexus hooks statusnexus serve --transport http --port 8768nexus serve --transport stdioMCP clients can also call tool_help and tool_schema if they need tool usage details or input schemas at runtime.
./target/release/nexus init --reset
./target/release/nexus store --content "smoke test" --agent codex --category session
./target/release/nexus statsAgents and Tools
|
+-- nexus-cli
+-- nexus-hooks
+-- nexus-mcp
+-- nexus-web
|
v
nexus-core
|
+-- nexus-storage
+-- nexus-vectors
+-- nexus-embeddings
+-- nexus-orchestrator
The shared domain model lives in nexus-core. Storage and repositories live in nexus-storage. Higher-level surfaces such as the CLI, hooks, MCP server, and web dashboard build on that foundation. The product is documented as one system even though the current implementation is organized as multiple crates.
.
├── crates/
│ ├── nexus-cli/
│ ├── nexus-core/
│ ├── nexus-embeddings/
│ ├── nexus-hooks/
│ ├── nexus-lephase/
│ ├── nexus-mcp/
│ ├── nexus-orchestrator/
│ ├── nexus-storage/
│ ├── nexus-vectors/
│ └── nexus-web/
├── docs/
├── scripts/
├── Cargo.toml
└── Cargo.lock
Recommended validation before opening a pull request:
cargo fmt --all --check
cargo clippy --workspace --all-targets
cargo test --workspaceThis project is licensed under the MIT License.