ultracontext
Open Source Context infrastructure for AI agents. Auto-capture and share your agents' context everywhere.
Documentation
Same context. Everywhere.
Start on Claude Code. Continue on Codex.
Open source, realtime and invisible context infrastructure for the ones shipping at inference speed.
·
·
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
1. Start sync. It captures all your agents' context in realtime.
2. Add the MCP server. Any agent gets full awareness of every other agent.
3. That's it. Ask questions, continue sessions, fork — your context is everywhere.
Install
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 globallyContext 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
·
·
·
Star History
Documentation
- Quickstart — Get running in 2 minutes
- Guides — Practical patterns for common use cases
- API Reference — Full endpoint documentation
Frequently asked questions
What is ultracontext?
ultracontext is Open Source Context infrastructure for AI agents. Auto-capture and share your agents' context everywhere.
How do I install ultracontext?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is ultracontext open source?
Yes — it is hosted on GitHub at https://github.com/ultracontext/ultracontext and has 289 stars.
Related MCP tools
superglue (YC W25) builds integrations and tools from natural language. Get production-grade tools for long tail and enterprise systems.
ACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unifie...
Code research platform for AI agents; find, understand, and prove context across your code and all of GitHub, in a fraction of the tokens. One toolset, MCP or CLI
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, ChatGPT, Cursor, VS Code, and other AI tools using OAuth 2.1 or API tokens.
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP