Bash Agent
OPEN SOURCE · SELF-HOSTABLE

Run bash agents
on the cloud.

Deploy background agents with cloud sandboxes and bash tools. Built-in skills support. Pay only for what you use.

$npm install bash-agent
bash-agent — active sessions
Fix checkout button on mobile4m
Update brand colors in header8m
Add rate limiting to API endpoints12m
Refactor auth module2h ago
$bash-agent run"migrate postgres schema"
< 10ssandbox cold start
concurrent sessions
10+supported models
pay/useno subscriptions

ASYNC BY DEFAULT

Kick off at midnight. Review the PR by morning.

Agents run fully in the background on isolated cloud sandboxes. No idle compute. Start a task, close your laptop, and find a merged PR when you wake up.

bash-agent.com / sessions

3 agents runningbash-agent.com/sessions

ZERO LOCAL SETUP

Every session pre-configured for your stack.

No local environment, no package manager wrangling, no database setup. The sandbox comes pre-loaded with your repo, dependencies, and dev tooling.

bash-agent.com / sessions

Repository cloned
Dependencies installed
Database seeded
Dev server running

UNLIMITED CONCURRENCY

Scale your team without scaling headcount.

Run as many parallel sessions as you need. Engineers prototyping, agents fixing bugs—all concurrently, with no local machine bottlenecks.

bash-agent.com / sessions

ClaudeCodexGemini

OPEN SOURCE SDK

Integrate in minutes.
TypeScript-first.

A clean, typed SDK for Node.js and Bun. Programmatically launch agents, stream output, and manage sessions—all from your existing codebase.

agent.ts
import { Client } from "bash-agent";

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

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

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

ARCHITECTURE

Built on modern infrastructure.

Cloudflare Workers + Durable Objects

Control Plane

Session management, WebSocket streaming, and real-time agent coordination at the edge.

Isolated cloud containers

Sandbox

Ephemeral Linux environments with full bash access, git, and your full dev toolchain.

TypeScript · Node.js · Bun

SDK

Typed client for launching agents, streaming output, and managing sessions programmatically.

PRICING

Pay only for what you use.

No seats, no subscriptions, no surprises.

Token Usage

Model inference

Pass-through OpenRouter pricing. Use Claude, Codex, Gemini, or any supported model.

Session Time

Agent runtime

Billed per second of active sandbox runtime. Stop a session anytime—billing stops immediately.

Storage

Projects & sessions

Pay only for bytes stored, billed monthly. Powered by Cloudflare R2.

Start shipping faster.

Open source, self-hostable, and ready to run.