Upstash Box provides secure, isolated cloud containers for AI agents, with built-in Claude Code and Codex agents and persistent storage.
Context Mode
Context Mode sits between coding agents and the model to reduce request cost, carry session memory and enforce rules on what runs.
Overview
The control plane between your coding agents and models. Spend less on context, remember across sessions, and run only what you allow.
Context Mode sits between your coding agents and the model. Each request costs less, sessions carry what they learned, and your rules decide what runs.
The same gateway, in your account. Your code, prompts and memory never leave it.
Context Mode acts at three points on each request: before it goes out, before a tool runs, and when a result comes back.
Key Features
- Tool output folding before the model reads it
- Full output archive readable by id
- Script execution returning the answer
- Tool schema trimming
- Memory facts with validity windows
- Skills loaded from GitHub repos
- Searchable archive of every word
- Session resume across agents and machines
What Can You Use It For?
- Reducing cost of long agentic coding sessions
- Handling large tool output such as logs and JSON
- Test-driven debugging with folded test output
- Blocking reads of environment files
- Blocking pushes to protected branches
- Running coding agents in headless CI
MCP Integration
No MCP (Model Context Protocol) server is listed for Context Mode yet. When one is available, its URL and setup guide appear here.
Affiliate Program
No affiliate program is listed for Context Mode yet. When one is available, its link and terms appear here.
Know an official affiliate program for Context Mode? Tell us
Frequently Asked Questions
It works with Claude Code, Claude Desktop, Codex, Codex Desktop, T3 Code, OpenCode and Pi.
It folds tool output before the model reads it, runs scripts and returns the answer, and trims tool schemas, while archiving the full output.
Yes. It can run in your own Cloudflare, AWS or Google Cloud account, where your code, prompts and memory never leave it.
Nothing is blocked until you choose rules. Rules cover what agents may run, read and fetch, and every block decision is logged.
You install your app the way its makers say, then run the CLI, which signs you in, asks which apps to connect and keeps a backup of each file.
Alternatives and Related Tools
See MoreCognee is an open-source agent memory platform that connects company data so agents can remember, recall, and follow domain rules.
dlt is an open-source Python library for building data pipelines using code and agents, with a managed platform called dltHub.
LFX Community Data Platform, formerly crowd.dev, collects and stores community data in a single database for unification and analysis.


