agent-sandbox vs sandbase-harness

Local AI agent sandboxes compared

agent-sandbox confines coding agents to a repository and controls their network access through a proxy. sandbase-harness provides a broader self-hosted runtime for agent sessions, tools, memory, and auditing across several sandbox environments.

agent-sandboxsandbase-harness
LanguagePythonTypeScript
LicenseMITApache-2.0
Stars211640
Forks1976
Last analyzedOct 28, 2026Nov 6, 2026

Key differences

  • agent-sandbox focuses on running coding agents in repository-scoped containers, while sandbase-harness provides runtime services such as persistent sessions, tool governance, and replay.
  • agent-sandbox uses a mitmproxy sidecar and firewall to enforce network policy; sandbase-harness networking controls vary by backend, with limited-network enforcement supported for Docker, advisory for local processes, and unsupported for Kubernetes and self-hosted providers.
  • agent-sandbox is written in Python and licensed under MIT; sandbase-harness is written in TypeScript and licensed under Apache-2.0.
  • agent-sandbox documents Colima and Docker Engine on Apple Silicon as its target setup, while sandbase-harness supports local-process, Docker, Kubernetes, and self-hosted worker sandboxes.
  • Both projects are early-stage; agent-sandbox describes its security model as best-effort, while sandbase-harness notes its short production track record and rapid change.

Choose agent-sandbox if you…

  • want to limit a coding agent's filesystem access to a repository and control its network egress.
  • prefer a CLI or IDE devcontainer workflow for supported coding agents.
  • need proxy-side secret injection and are comfortable with a best-effort security boundary.
Read the agent-sandbox analysis →

Choose sandbase-harness if you…

  • need persistent agent sessions, audit trails, and replay alongside governed tool access.
  • want to run agents on local, Docker, Kubernetes, or self-hosted worker infrastructure.
  • need a local Console, MCP integration, or a TypeScript SDK for building agent runtimes.
Read the sandbase-harness analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.