
Ultra Context
โ 215from ultracontext
The context API for AI agents
Same context. Everywhere.
Start on Claude Code. Continue on Codex.
Open source, realtime and invisible context infrastructure for the ones shipping at inference speed.
Documentation ยท API Reference ยท Changelog
What Claude Code knows, Codex doesn't. What your teammate is shipping right now? Your agent has no idea.
UltraContext captures every agent's context in realtime and makes it available to all of them. It's like having a personal context engineer everywhere. Continue a session in a different agent, or just ask what's happeming.
For example:
- "Codex, grab the last plan Claude Code made and implement it."
- "What's the team building today?"
- "What is Alex working on in Codex right now?"
Open source. Framework-agnostic. Customizable via the git-like Context API.
Features
| CLI | Auto-ingest Claude Code, Codex, and OpenClaw sessions with a terminal dashboard. |
|---|---|
| MCP Server | Share context everywhere. Built into the API, or run standalone via stdio. |
| Context API | Git-like context engineering API. Store, version, and retrieve agent context with zero complexity. |
How it works
-
Start sync. It captures all your agents' context in realtime.
-
Add the MCP server. Any agent gets full awareness of every other agent.
-
That's it. Ask questions, continue sessions, fork โ your context is everywhere.
Context API
For builders who want to go deeper. Git-like primitives for context engineering.
- Five methods โ Create, get, append, update, delete. That's it.
- Automatic versioning โ Every change creates a new version. Full history out of the box.
- Time-travel โ Jump to any point in your context history.
- Framework-agnostic โ Works with any LLM framework. No vendor lock-in.
Use the API standalone to build your own agents, or extend existing ones in UltraContext.
| SDK | Install | Source |
|---|---|---|
| JavaScript/TypeScript | npm install ultracontext | apps/js-sdk |
| Python | pip install ultracontext | apps/python-sdk |
JavaScript/TypeScript
npm install ultracontextimport { UltraContext } from 'ultracontext';
const uc = new UltraContext({ apiKey: 'uc_live_...' });
const ctx = await uc.create();
await uc.append(ctx.id, { role: 'user', content: 'Hello!' });
// use with any LLM framework
const response = await generateText({ model, messages: ctx.data });Python
pip install ultracontextfrom ultracontext import UltraContext
uc = UltraContext(api_key="uc_live_...")
ctx = uc.create()
uc.append(ctx["id"], {"role": "user", "content": "Hello!"})
# use with any LLM framework
response = generate_text(model=model, messages=uc.get(ctx["id"])["data"])๐ Context API Guides
Store & Retrieve ยท Edit Contexts ยท Fork & Clone ยท View History
Documentation
- Quickstart โ Get running in 2 minutes
- Guides โ Practical patterns for common use cases
- API Reference โ Full endpoint documentation
npm install -g ultracontextInstall
Requires Node >= 22.
npm install -g ultracontextQuick Start
ultracontext # start sync (daemon + dashboard)That's it. UltraContext watches your agents, ingests context in realtime, and the dashboard shows everything.
ultracontext sync # start sync (daemon + dashboard)
ultracontext stop # stop daemon
ultracontext config # run setup wizard
ultracontext update # update CLI globallyNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under Apache-2.0โ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ