Skip to content

sandbase-harness

⭐ 628 · ✅ active · related

Type related Category Harness
Stars ⭐ 628 Status ✅ active
Author sandbaseai Updated 2026-08-20

One-liner

Open-source CMA-compatible agent runtime for any model: MCP tools, sandboxed sessions, audit, replay.

About

English | 中文 AI-readable project metadata: llms.txt · installation guide A local-first runtime for AI agents. Sessions, sandboxed tools, memory, credentials, audit trails, and a built-in Console — all running on your machine or in your own infrastructure. git clone --branch v0.3.8 --depth 1 https://github.com/sandbaseai/sandbase-harness.git cd sandbase-harness npm ci npm run build mkdir ../my-agents && cd ../my-agents node ../sandbase-harness/dist/index.js init node ../sandbase-harness/dist/index.js start

✨ Key Features

  • Claude Managed Agents-style /v1 API and local Console
  • SQLite-backed agents, sessions, environments, credential vaults, memory
  • local file/skill bytes stored in the workspace state directory
  • Resumable Server-Sent Events for session replay and debugging
  • One active model provider boundary configured through Settings V2
  • Sandbox backends: local process, Docker (per-session containers), Kubernetes
  • Settings V2: one workspace model vendor, loop engine, storage, memory,
  • MCP toolsets, permission policies, built-in tools, and skill packages

📦 Install

git clone --branch v0.3.8 --depth 1 https://github.com/sandbaseai/sandbase-harness.git
cd sandbase-harness
npm ci
npm run build
mkdir ../my-agents && cd ../my-agents
node ../sandbase-harness/dist/index.js init
node ../sandbase-harness/dist/index.js start
# open http://127.0.0.1:3000/dashboard

🚀 Quick Start

node dist/index.js start --host 0.0.0.0

📚 Learn more

Quick Start

git clone --branch v0.3.8 --depth 1 https://github.com/sandbaseai/sandbase-harness.git cd sandbase-harness npm ci npm run build mkdir ../my-agents && cd ../my-agents node ../sandbase-harness/dist/index.js init node ../sandbase-harness/dist/index.js start Open http://127.0.0.1:3000/dashboard, go to Settings > Models, paste your API key, and you're running. The unscoped managed-agents name o

Configuration

.managed-agents/config.yaml: model: provider: openai api_key: ${OPENAI_API_KEY} storage: metadata: { provider: sqlite, options: {} } artifacts: { provider: local, options: { base_path: files } } Agents pick concrete model IDs (gpt-4o, claude-sonnet-4-20250514, openai/gpt-5.5). The workspace config only says how to reach the model service. For DeepSeek V4 Pro/Flash configuration, including

API Examples

Create an agent: curl -X POST http://127.0.0.1:3000/v1/agents \ -H "Content-Type: application/json" \ -d '{ "name": "Incident commander", "model": "gpt-4o", "system": "You are an on-call incident commander.", "tools": [{ "type": "agent_toolset_20260401" }] }' Create an environment (local sandbox): curl -X POST http://127.0.0.1:3000/v1/environments \ -H "Content-Type: application/json" \ -d '{ "nam