Ultra Context
The context API for AI agents
All agents. All machines. One Hub.
Introduction
Agents now do our work. Today, most of our knowledge and key decisions live inside context windows. But they are spread across many agents, computers, and teams.
Not anymore.
UltraContext Features
- Auto-ingest — Captures contexts from your agents in realtime.
- Realtime access — Immediately see contexts created on any machine, by any agent, whenever you want.
- Collaborate — Share contexts across your team. See what everyone sees, instantly and without any friction.
- Switch between agents — Pick up where one agent left off with another.
- Open source — Own your data. Self-host when you need to.
- Plug and play — Install and run with a single line of code.
- Fork & clone — Continue contexts while preserving the full history.
- Customizable — Add your own agents and extend behavior with the context API (Docs here).
Install
Requires Node >= 22.
npm install -g ultracontext
That's it. The setup wizard runs automatically — walks you through API key, sync preferences, and launches the dashboard.
Already installed? Run ultracontext config to reconfigure.
Quick Start
ultracontext # start daemon + open dashboard
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
The default ultracontext command does everything: checks the daemon, starts it if needed, and opens the TUI dashboard.
How it works
- A daemon runs in the background, watching your agents.
- Contexts are ingested in realtime with the Context API.
- Your Context Hub gets updated.
We use a git-like context engineering API under the hood to interact with the agent's contexts. You can use it to add your own custom agents, tweak behavior and more. (Docs here)
When you open an existing session from the hub, it forks the context, so the original context is always preserved by default and automatically versioned so you can keep track of it later using metadata.
There is a local caching layer that prevents duplicate context creations and appends.
Star History
Everything we built so far
- Daemon - Runs in the background, watching your agents.
- TUI - Terminal UI for the daemon.
- Context API - Git-like context engineering API.
- Context API SDKs - Node and Python SDKs.
The Context API
The Context API is the simplest way to control what your agents see. Replace messages, compact/offload long context, replay decisions and roll back mistakes with a single API call. Versioned context out of the box. Full history. Zero complexity. You can use the API standalone to build your own agents or to tweak behavior of existing ones in ultracontext. (Docs here)
Context API SDKs
| 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"])
Get an API key from the UltraContext Dashboard.
Documentation
- Quickstart — Get running in 2 minutes
- Guides — Practical patterns for common use cases
- API Reference — Full endpoint documentation
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP RAG Server
A lightweight Python server for Retrieval-Augmented Generation (RAG) using AWS Lambda. It retrieves knowledge from external data sources like arXiv and PubMed.
SonarCloud
Fetch SonarCloud issues related to pull requests.
Remote MCP Server (Authless)
An example of a remote MCP server without authentication, deployable on Cloudflare Workers.
MCP Server for iOS Simulator
An MCP server that enables LLMs to interact with iOS simulators through natural language commands.
Ollama MCP Server
A bridge to use local LLMs from Ollama within the Model Context Protocol.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
MCP WordPress Server
A server for integrating with the WordPress REST API.
Trade-MCP
A modular trading automation project using the Zerodha Kite Connect API for tool-based and resource-based automation.
MCP Server + Github OAuth
An MCP server with built-in GitHub OAuth support, designed for deployment on Cloudflare Workers.
LaTeX PDF MCP Server
Converts LaTeX source code into professionally formatted PDF documents.