bot-bottle
Health Warn
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in .gitea/workflows/pre-release-test.yml
- rm -rf — Recursive force deletion command in .gitea/workflows/test.yml
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Run AI coding agents with broad permissions in an isolated sandbox: credentials stay outside, and everything that leaves is checked.
bot-bottle
Run coding agents unsupervised without letting them wreck your machine or leak your secrets.
bot-bottle runs each agent (Claude Code, Codex or pi) in its own microVM or container. Everything the agent sends out goes through a gateway that holds your credentials and only lets through what the agent's bottle allows.
Alpha. bot-bottle works, and I run my own agents in it every day, but the bottle format and the CLI may still change between releases, and the security design hasn't had an independent review. Please report problems, and anything that gets out of a bottle privately: see SECURITY.md.
Watch the demo: a bottle drafted for the task, the agent fixing a failing test, and a blocked host approved from a phone.
Install
curl -fsSL https://raw.githubusercontent.com/diderisoft/bot-bottle/main/install.sh | sh
You need git, tmux 3.1+ and a backend: Firecracker on Linux with KVM, Apple's container CLI on an Apple silicon Mac, or Docker anywhere else. The installer sets up the host and creates an agent for each harness you're logged in to.
Other install methods and requirements: install.md.
First run
- In your project, run
bot-bottle start. - Pick an agent.
- Describe the task: "fix the flaky test in tests/net".
- Review the bottle it proposes, with only the hosts, repos and secrets the task needs. Press Enter.
The agent starts on your task. If it needs something its bottle doesn't allow, it asks you and waits.
What's protected
- Route credentials stay outside the agent. The gateway injects them on the way out. The agent sees placeholders. → gateway
- Every outbound request is checked against the bottle's allowlist. Requests on inspected routes are also scanned for secrets. → gateway
- Every push through git-gate is secret-scanned and carries a
Bot-Bottle:trailer naming its bottle. → git-gate - Each agent runs in its own microVM or container, checked at launch to have no way out but the gateway. → backends
- A repo can't hand you a bottle you haven't trusted. Any change asks again. → projects
What it doesn't defend against is in the threat model.
Learn more
- Getting started: install, first agent, first bottle
- Threat model: what's in and out of scope
- All docs
- In this repo: architecture, manifest, gateway, git-gate, backends, install, architect, CI, decisions
Contributing
See CONTRIBUTING.md and AI_POLICY.md.
Trademarks
bot-bottle is independent and not affiliated with or endorsed by Anthropic, OpenAI, or the other projects whose agents it runs. Claude, Claude Code and Codex are their owners' trademarks, named here only to say what bot-bottle works with.
License
Copyright 2026 Eric Bauerfeld. Licensed under the Apache License, Version 2.0. See LICENSE for the full text.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found
