Bash Agent

Agent infrastructure for developers

Bash Agent manages the hard parts: persistent agent loops, real-time WebSocket connections, isolated sandboxes, and a Git store — so you ship features, not plumbing.

Persistent agent loop

Sessions run as long-lived loops with a real-time WebSocket connection. Observe, interrupt, or resume any agent at any point.

Isolated sandbox

Every session gets a clean, ephemeral environment with full bash access. No cross-session pollution, no manual cleanup.

Git store

Workspaces are backed by Git. Every agent change is tracked as a diff you can review, revert, or ship directly.

Quick start

import { Client } from "bash-agent";

const client = new Client({
  apiKey: process.env.BASH_AGENT_KEY,
});

const workspace = await client.createWorkspace("my-repo");

const session = await workspace.createSession({
  model: "anthropic/claude-opus-4-6",
  name: "Fix memory leak in worker.ts",
});

Stop managing infrastructure.

Spin up a workspace, connect your model, and start shipping — in minutes.

Create a free account