Ross ROSS = Recommend OSS · open-source software intelligence for agents

cortexkit/magic-context

Unbounded context. Memory that manages itself. One session, for life. The hippocampus for coding agents, part of CortexKit. observed · 2026-10-21

github.com/cortexkit/magic-context · homepage · TypeScript · MIT (permissive) observed · 2026-10-21

Health v2 · maintenance only

79/100

  • Activity 100
  • Release rhythm 88
  • Longevity 14
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 0
  • age_days: 208
  • days_rel: 0
  • days_push: 0
  • n_releases_24m: 232

Full methodology

Adoption not part of the score

2366 stars · 140 forks observed · 2026-10-21

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Magic Context is a TypeScript library that gives coding agents self-managing, unbounded memory so a single session can last indefinitely. It is part of the CortexKit ecosystem and ships integrations for coding agents like OpenCode and pi.

Use cases

  • give my coding agent persistent memory across a long session
  • stop my AI agent from losing context when the conversation gets too long
  • manage context windows automatically for an LLM agent
  • add long-term memory to an opencode agent
  • let an agent recall earlier decisions without manual summarization
  • build a coding assistant that remembers the whole project history

When to choose

  • you are building or extending coding agents that run for long sessions
  • you use OpenCode or pi and want drop-in memory/context management
  • you want cache-aware, self-consolidating agent memory in a TypeScript stack

When to avoid

  • you need a general-purpose vector database rather than agent session memory
  • your stack is not JavaScript/TypeScript or an unsupported agent runtime
  • you need a fully hosted memory service with a managed API

Facets

library · maturity active

agent-framework rag caching llm-inference large-language-models developer-tools cli agent-memory context-management coding-agents opencode self-managing-memory long-term-memory ai-agents nodejs typescript

2 sources

Member repositories

RepositoryRoleHealth v2
cortexkit/magic-contextmain79

For agents

markdown · JSON · MCP: product_card(name="cortexkit/magic-context")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem