The context API for AI agents
Project description
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 the daemon. 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.
Install
Requires Node >= 22.
npm install -g ultracontext
Quick Start
ultracontext # start daemon + open dashboard
That's it. The daemon watches your agents, ingests context in realtime, and the dashboard shows everything.
ultracontext config # run setup wizard
ultracontext start # start daemon only
ultracontext stop # stop daemon
ultracontext status # check if daemon is running
ultracontext tui # open dashboard only
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 ultracontext
import { 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 ultracontext
from 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
Star History
Documentation
- Quickstart — Get running in 2 minutes
- Guides — Practical patterns for common use cases
- API Reference — Full endpoint documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ultracontext-1.4.10.tar.gz.
File metadata
- Download URL: ultracontext-1.4.10.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaf163b3974b9e3ad8a0ff7516d58ade7aa38f65a3e34b0bcd2fc9e743cb731b
|
|
| MD5 |
31bf21a8d94ee9f7a816f646aa93aa93
|
|
| BLAKE2b-256 |
42a7294f13c123944b27707b6d8e3b933512f29092a9f3a6c1b670ff69d0d80b
|
File details
Details for the file ultracontext-1.4.10-py3-none-any.whl.
File metadata
- Download URL: ultracontext-1.4.10-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51682c73853dc1c259cbcd80c95ab83c7ea0b5d8e7293088eda4c90ea91db3ad
|
|
| MD5 |
708f976821ea31b5aa859434c0c19a89
|
|
| BLAKE2b-256 |
d4acecda3977a5a7fd86006ec28e0eb11b8d53c73fd1662875c88475f516545a
|