bot-bottle
Bot-bottle is a security-conscious, local-first coding agent orchestrator. Each agent runs in its own microVM (Firecracker on Linux, Apple's container on macOS, Docker as a weaker fallback) with a harness of choice (Claude Code, Codex and pi built in; custom agent providers supported). Access is defined by composable markdown "bottles" listing hosts, repos and secrets, enforced by a gateway outside the agent VM that injects real credentials so agents only see placeholders. Outgoing requests and git pushes are scanned for secrets, everything is logged locally (streamable as NDJSON or OCSF), and disallowed actions require approval in the terminal or via an optional paired phone console.
What it addresses
The submitter could not find a tool to safely run coding agents on a security-sensitive developer machine that worked regardless of model or harness, offered simple composable plaintext security policies, strong VM-level isolation, hid credentials from agents, scanned and monitored everything in and out of the agent workspace, and supported a mobile approval flow.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
bot-bottle
Bot-bottle is a security-conscious, local-first coding agent orchestrator. Each agent runs in its own microVM (Firecracker on Linux, Apple's container on macOS, Docker as a weaker fallback) with a harness of choice (Claude Code, Codex and pi built in; custom agent providers supported). Access is defined by composable markdown "bottles" listing hosts, repos and secrets, enforced by a gateway outside the agent VM that injects real credentials so agents only see placeholders. Outgoing requests and git pushes are scanned for secrets, everything is logged locally (streamable as NDJSON or OCSF), and disallowed actions require approval in the terminal or via an optional paired phone console.
Problem: The submitter could not find a tool to safely run coding agents on a security-sensitive developer machine that worked regardless of model or harness, offered simple composable plaintext security policies, strong VM-level isolation, hid credentials from agents, scanned and monitored everything in and out of the agent workspace, and supported a mobile approval flow.
Audience: Developers who run coding agents on security-sensitive local machines
Posted by @didericis · Original source ↗
Story title · @didericis · · Source ↗
Show HN: Bot-bottle – secure runtime, DLP and remote control for local agents
Submitted URL · @didericis · · Source ↗
https://github.com/diderisoft/bot-bottle
Source text · @didericis · · Source ↗
Docs: https://bot-bottle.com/docs
Source text · @didericis · · Source ↗
About 6 months ago, I started looking for a tool to safely run coding agents on my (security sensitive) developer machine.
Source text · @didericis · · Source ↗
I couldn't find a tool that met all of these, so I started bot-bottle. It's evolved into what I'm hoping will be the best security conscious, local first coding agent orchestrator out there.
Source text · @didericis · · Source ↗
Each agent runs in its own microVM (Firecracker on Linux, Apple's container on macOS, Docker as a weaker fallback), with whichever harness you want.
Source text · @didericis · · Source ↗
Bottles are enforced by a gateway outside the agent VM, which adds the real credentials to requests on the way out, so the agent only sees placeholders.
Source text · @didericis · · Source ↗
Outgoing requests and git pushes are scanned for secrets, and everything is logged locally (you can stream it to your own endpoint as NDJSON or OCSF).
Source text · @didericis · · Source ↗
Anything a bottle doesn't allow comes to you for approval, in the terminal or on your phone through an optional paired console.
Source text · @didericis · · Source ↗
The main contribution of bot-bottle is the idea of a "bottle". It's an easily defined, composable definition for how an agent can interact with the outside world, and doesn't depend on anything harness or model specific.
Source text · @didericis · · Source ↗
Bottles help solve the "exploit through trusted channel" problem by reducing the size of that trusted channel to be as small as possible, keeping credentials away from agents, and monitoring everything that comes in and out so leaks can be detected