SandBase Harness
Lets your AI agent run sessions on a local, self-hosted agent runtime with sandboxed tools, memory and an audit trail.
640 stars on GitHubby sandbaseaiLicense Apache-2.0Updated 19 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add sandbase-harness -e MANAGED_AGENTS_URL="<your value>" -- docker run -i --rm -e MANAGED_AGENTS_URL -e MANAGED_AGENTS_API_KEY ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8
What to fill in
| Name | What it is | Required |
|---|---|---|
MANAGED_AGENTS_URL | URL of the SandBase Harness runtime API. | Yes |
MANAGED_AGENTS_API_KEY | API key when the connected Harness runtime requires authentication. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Start a session with my assistant agent and say hello.
Cancel the running turn in my last session.
What it is
SandBase Harness is a runtime you host yourself for AI agents. It keeps persistent sessions, runs tools in sandboxes, stores memory and credentials, and records audit trails with a built-in Console. The MCP bridge lets another agent work with its agents, sessions, turns, artifacts and cancellation.
What it can do
- Persistent sessions with resumable event streams
- Sandboxes: local process, Docker, Kubernetes or a worker queue
- Credential vaults and permission policies
- Memory stores, files and skills
- Audit and replay of sessions
chatcommand to send a message to an agent
When to use
- βΊWhen you want to run agents on your own machine and inspect what they did
- βΊWhen you need generated code to run in a sandbox
- βΊWhen you want a Console to review sessions, approvals and replays
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
autonomous-agent-harnessTransforms Claude Code into an autonomous agent with memory and scheduling. It allows the agent to operate continuously, run scheduled tasks, and self-manage.sandbase-mcpLets the agent discover and use over 2,000 AI models and APIs. Checks schemas and costs before use. Useful for efficiently integrating various AI tools.harness-engineeringLets your agent set up the control rules around a self-running AI loop: locked goals, logs, rollback and approval points.Frequently asked questions
Is it free and open source?
The runtime is self-hosted and free to run locally; the readme shows a license file but not its name in the part provided.
What does it need?
Node.js 22 or newer and a model provider API key.
Where is data stored?
On your machine, in SQLite and file storage.
Which models can it use?
OpenAI, Anthropic, MiniMax and OpenAI-compatible providers, including DeepSeek.
Where do I install it from?
Only from the tagged GitHub release. The readme says not to run npx managed-agents or npm install managed-agents.
Is it hosted for me?
No required hosted control plane. A Codespaces option exists and may be billed by GitHub.
If it does not work
- βΊAfter saving a provider key in Settings, restart the runtime because settings apply only at startup.
- βΊSet the agent model ID your provider really serves; a wrong ID fails with model_not_found.
- βΊUse --tool-approval allow with chat if tool calls wait for approval.
5 new skills a week. 1 minute to read.