sandbaseai

sandbase-harness: Run Self-Hosted AI Agents with Sandboxed Tools

SandBase Harness is a local-first AI agent runtime and MCP bridge, with a built-in Console and Anthropic Claude Managed Agents-style API. It provides sessions, sandboxed tools, memory, credential controls, and audit and replay on your own machine or infrastructure.

NewTypeScriptApache-2.0AI AgentsSelf HostedMCP
Stars
639
Forks
80
Stars, last 29 days
-52
Last commit
6 days ago
Contributors
6

Our take

Newless than six months old and changing fast

Health score

74/100

How it is scored
Activity
74
Community
42
Issues
93
Pull requests
85

-52 stars in the last 29 days

  • Merges more pull requests than 98% of the projects we track
  • Closes issues faster than 81% of the projects we track

SandBase Harness offers a broad self-hosted runtime surface and is actively changing, but its recent launch means teams should validate the specific compatibility and sandbox behavior they depend on.

Good fit if

  • You want to keep agent sessions, credentials, and runtime data on your own infrastructure.
  • Your application needs sandboxed tools, MCP integration, and inspectable session history.
  • You use TypeScript and can run a Node.js service, and value a project with recent commits and releases and active issue and pull request handling.

Look elsewhere if

  • You require complete Claude Managed Agents compatibility, including thread and coordinator features, which the project says are unsupported.
  • Your security policy requires enforced network egress restrictions for Kubernetes or self-hosted sandboxes, or for local processes that can ignore proxy settings.
  • You need a mature, long-established runtime rather than a recently created project that is still changing quickly.
All health signals
Last commit2026-10-12 (6 days ago)
Commits, last 90 days100+
Releases, last 12 months9 (latest v0.3.8, 2026-08-30)
Contributors6 (top contributor: 63% of commits)
Issues closed, last 90 days45+ (typically closed in 0 days)
Pull requests merged, last 90 days98 (typically merged in 0 days)
Project age3 months

Checked on 2026-10-19 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

642

Forks

78

Change since Nov 4, 2026: +1 stars·0 forks

Overview

SandBase Harness is a local-first, self-hosted runtime for AI agents, with a built-in Console and an MCP bridge. It addresses the operational needs around agent SDKs: persistent sessions, sandboxed tool execution, memory, credential handling, and audit trails. Its /v1 API follows Anthropic's Claude Managed Agents resource shapes, while the runtime supports multiple model providers rather than depending on a single model.

It is aimed at developers and operators who want to run and inspect agents on their own machine or infrastructure instead of relying on a hosted control plane. SQLite and file storage are the defaults, with sandbox backends for local processes, Docker, Kubernetes, and self-hosted workers.

Key Features

  • Persistent agent sessions with resumable Server-Sent Events, audit logs, and replay.
  • Sandboxed execution through local, per-session Docker, Kubernetes, or self-hosted worker backends.
  • MCP toolsets, permission policies, approval gates, and credential vaults.
  • Memory stores, files, skills, and session resources managed through the runtime.
  • Local Console and a /v1 API compatible with the Anthropic TypeScript SDK's client pattern.
  • TypeScript SDK and CLI for managing agents, environments, deployments, and chat sessions.
  • SQLite metadata and local workspace storage by default, with API-key authentication available.

Use Cases

  • A developer building an agent that needs persistent sessions and human approval for sensitive tool calls.
  • A team operating coding agents that execute generated code in Docker or Kubernetes sandboxes.
  • An operator who needs to review, replay, and audit agent activity on infrastructure they control.
  • A DeepSeek Harness or other MCP client user who wants to expose the runtime's tools over an MCP bridge.

What you need

Detected in the repository

  • Node.js >=22 (from package.json)
  • A test suite and automated checks on GitHub Actions

License in plain words

Apache-2.0permissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license, the NOTICE file and a note of your changes
  • Share your changes: no
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Requires Node.js 22 or later and npm 10 or later. From the repository, build the runtime and initialize a workspace:

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

Configure a model provider and model ID in the Console at http://127.0.0.1:3000/dashboard. See the installation guide and README for setup details.

Alternatives

  • maka: Maka is a macOS-focused agent workspace with an append-only runtime log, rather than a general local-first runtime and MCP bridge.
  • swarmclaw: SwarmClaw focuses on coordinating agent teams with schedules, delegation, and external runtimes, rather than providing a managed-agents-style API and replay.
  • OpenBot: OpenBot centers on AI coworkers with browser and file access through AG-UI, rather than a local-first agent runtime with an MCP bridge.
ProjectLanguageLicenseStarsStatus
sandbase-harnessTypeScriptApache-2.0639New
makaTypeScriptApache-2.05.8kNew
swarmclawTypeScriptMIT697Quiet
OpenBotTypeScriptMIT6.8kNew

Considerations

The project is new and described by its health data as changing fast. It has recent commits and releases, six contributors, and is not marked as dependent mostly on one person, but its short history still leaves less time for operational behavior to be established.

Docker is optional for the basic setup, and there are no GPU or Compose requirements listed. Sandboxing and network controls vary by backend: the README says limited networking is unsupported on Kubernetes and self-hosted workers, and local-process proxy enforcement is best-effort. The project also explicitly does not implement threads or coordinator/advisor roles, and some other compatibility areas are partial. Review the compatibility matrix and deployment guidance against your requirements before relying on those features.

Found this useful?

Share it with someone who would like sandbase-harness.

Comparisons