Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyAI, memory and agents

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

NameWhat it isRequired
MANAGED_AGENTS_URLURL of the SandBase Harness runtime API.Yes
MANAGED_AGENTS_API_KEYAPI 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
  • chat command 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

Node.js 22 or newer, npm 10 or newer and an API key from a model provider (OpenAI, Anthropic, MiniMax or an OpenAI-compatible one). Docker is optional.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

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.