▸ map/magic-context.md
Magic Context
Lossless context management with background compression
plugins✓ Dec 4
Facts
- GitHub Stars
- ★ 2.6K
- Forks
- 153
- license
- MIT
- npm / mo
- —
- last push
- Dec 3, 2026
## TL;DR
Cache-aware context management that keeps long sessions productive. Background historian compresses old conversation into structured compartments while you keep working.
## Key points
- $Lossless context management with background compression.
- $Includes cross-session project memory, unified search across history/memories/facts, overnight dreamer for memory maintenance, and prompt-cache-safe deferred operations.
- $Install scope: global.
- $Source: https://github.com/cortexkit/opencode-magic-context.
## References
## Related entries
## Guides
Last updated: Nov 23, 2026