Ultra Context

The context API for AI agents


ultracontext-gif

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

CLIAuto-ingest Claude Code, Codex, and OpenClaw sessions with a terminal dashboard.
MCP ServerShare context everywhere. Built into the API, or run standalone via stdio.
Context APIGit-like context engineering API. Store, version, and retrieve agent context with zero complexity.

How it works

  1. Start the daemon. 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 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.

SDKInstallSource
JavaScript/TypeScriptnpm install ultracontextapps/js-sdk
Pythonpip install ultracontextapps/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"])

Star History

Star History Chart

Documentation

Related Servers