Boswell is a cognitive memory system designed as the long-term memory substrate for AI agents. It provides persistent, structured, semantically searchable memory that accumulates knowledge over time across tasks, projects, and domains.
- Claims, not facts - Nothing is absolute truth; everything is a claim with confidence
- Organic memory - Memory works with layers, decay, and emergent insights
- Gatekeeper pattern - Agents advocate, gatekeepers decide what persists
- Speed by default, depth on demand - Fast deterministic paths with optional LLM-assisted depth
- Local-first, network-capable - Privacy and control with optional federation
Boswell follows Clean Architecture principles with clear separation of concerns:
boswell-domain- Core business logic, value objects, and trait definitions (zero external dependencies)
boswell-extractor- Converts unstructured text to structured claimsboswell-gatekeeper- Evaluates tier promotion requestsboswell-janitor- Automated maintenance (decay, contradiction detection, GC)boswell-synthesizer- Discovers emergent patterns and higher-order insightsboswell-router- Session management and instance registry
boswell-store- Claim storage (SQLite + HNSW vector index)boswell-llm- Pluggable LLM provider abstractionsboswell-grpc- gRPC API surface
boswell-sdk- Rust client SDKboswell-mcp- MCP (Model Context Protocol) serverboswell-cli- Command-line interface
- Rust 1.88+ (install via rustup or Homebrew)
- Protocol Buffers compiler (
brew install protobuf) - Ollama for local LLM testing (
brew install ollama)
# Build all crates
cargo build
# Build in release mode
cargo build --release
# Run tests
cargo test
# Run tests with output
cargo test -- --nocapture
# Run specific crate tests
cargo test -p boswell-domain# Watch mode - auto-rebuild on changes
cargo watch -x test
# Format code
cargo fmt
# Lint
cargo clippy -- -D warnings
# Check without building
cargo check🚧 In Development - Phase 1: Foundation
See docs/development/plan-boswellDevelopment.prompt.md for the complete development roadmap.
- Architecture Documentation - System design and component specifications
- Architecture Decision Records - Key technical decisions and rationale
- Development Plan - Phased implementation roadmap
MIT OR Apache-2.0