magic-context
View on GitHubUnbounded context. Memory that manages itself. One session, for life. The hippocampus for coding agents, part of CortexKit.
Plugin that gives coding agents self-managing long-term memory and unbounded context: it captures durable project knowledge, consolidates it in the background, and auto-recalls it each turn across OpenCode, Pi, and OMP. Includes a CLI setup/doctor wizard and shared cross-harness memory store.
Use Cases
Give coding agents persistent project memory across sessionsEliminate compaction pauses so agents never stop to manage contextCapture decisions, constraints, and conventions automatically as history is compressedConsolidate and deduplicate memories in the background with dreamer agentsAuto-recall relevant memories each turn and search past conversations or git historyShare one memory store across OpenCode, Pi, and OMP harnessesKeyword plus embedding-backed semantic memory retrievalRun long-lived single sessions on a project for weeks or months
Built With
- Language
- TypeScript
- Frameworks
- LangChain · Bun · Rust/Cargo · Tauri · OpenCode · Pi · Oh My Pi (OMP) · Transformers.js
Tags
agent-memory · context-management · context-engineering · long-term-memory · coding-agents · memory-consolidation · semantic-search · embeddings · opencode · pi-coding-agent · cache-aware · typescript · rust · plugin · self-managing-memory · session-persistence