cortexkit/opencode-magic-context

OpenCode plugin for Magic Context — cache-aware infinite context, cross-session memory, and background history compression for AI coding agents

44
/ 100
Emerging

Implements background context compression via a separate "historian" model that runs asynchronously while the main agent works, combined with cache-aware deferred pruning and cross-session memory persistence; integrates as an OpenCode plugin and replaces OpenCode's built-in compaction with tag-based selective drops, compartment summaries, and a "dreamer" agent for overnight memory consolidation.

Available on npm.

Maintenance 13 / 25
Adoption 5 / 25
Maturity 18 / 25
Community 8 / 25

How are scores calculated?

Stars

9

Forks

1

Language

TypeScript

License

MIT

Last pushed

Mar 27, 2026

Commits (30d)

0

Dependencies

5

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/cortexkit/opencode-magic-context"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.