BigHugger
GH Repository · cortexkit

magic-context

Unbounded context. Memory that manages itself. One session, for life. The hippocampus for coding agents, part of CortexKit.

stars
2,115
30-day movement
starts with the next reading
Related entries
60
Connections
1
rustnode/pnpmnodeTypeScriptagent-frameworkai-contextagent-memoryaicontext-managementai-agentscontext-engineeringopencodeai-memorylangchainnode/buncache-awarememorypi-coding-agent

magic-context is a TypeScript library from CortexKit that provides self-managing memory and context management for coding agents, described as 'the hippocampus for coding agents'. Its tagline promises unbounded context, cache-aware operation, and a single lifelong session.

Reach for it when your coding agent needs persistent, self-managing memory and context handling across long-lived sessions.

Use it to

  • Add persistent memory to a coding agent
  • Manage context windows across long sessions
  • Integrate memory into LangChain-based agents
  • Build context-aware tooling with OpenCode or pi-coding-agent

For Developers building memoryful coding agents

Role
agent-framework
Language
TypeScript
Licence
MIT
Forks
111
Open issues
20
Last push
2026-09-15
Latest release
v0.1.2 · 2026-03-26
topicsagent-memorycontext-managementcoding-agentstypescriptcache-awarelangchain