2026-11-26 15:39 UTC

Bot-bottle alpha adds policy-gated sandboxing for coding agents

state: watchingheat: mediumuncertainty: highrelevance: highagent-security coding-agents local-aiEric Bauerfeld

What is this?

Bot-bottle is an independent, local-first tool by Eric Bauerfeld for running coding agents such as Claude Code, Codex and pi. Announced in a Show HN post on November 12, 2026, it places agents in separate microVMs or containers and uses reusable Markdown “bottles” to define permitted hosts, repositories and secrets. A gateway outside the agent injects credentials into allowed outbound requests; the project also describes scanning and logging traffic, secret-scanning Git pushes, and asking the user to approve requests outside policy. It is alpha software: the README says its format and CLI may change and its security design has not had independent review. The evidence documents the creator’s announcement and project claims, not independent testing or adoption.

Why it matters

As coding agents gain permission to run tasks with less supervision, controlling what they can access—and keeping credentials outside their reach—could make unattended use safer and more practical. Bot-bottle’s agent- and model-agnostic policy layer aims to give developers reusable control over agents’ access to code and external services, including when trying different harnesses or local models. Its potential is meaningful, but claims about containment and leak prevention remain unverified; the alpha status and lack of independent security review are material limitations.

Current assessment

New development: Eric Bauerfeld announced bot-bottle on Show HN on November 12, 2026; the linked GitHub README is the project’s primary source. The project says each agent runs in a separate Firecracker microVM on Linux, Apple’s container on macOS, or Docker as a weaker fallback. Its “bottle” policies specify allowed hosts, repositories and credential routing; a gateway holds real credentials, injects them into permitted requests, and checks outbound traffic. The README also describes secret scanning, local logs, Git-push checks, and user approval for requests outside policy. Supported harnesses listed include Claude Code, Codex and pi, with custom providers described as still being documented and tested. The developer says the tool is alpha and explicitly warns that the security design has not received independent review. These are product and design claims, not evidence that the isolation resists attacks in practice. A later HN item titled “Sandboxes for AI Agents” appeared November 16, but supplied material gives no article text or claims from it to assess. No independent security evaluation, benchmark, or adoption evidence is supplied. If the design works as intended, reusable, harness-neutral controls could help developers delegate more coding work without exposing broad credentials or machine access; the key uncertainty is whether the combined sandbox, gateway and policy enforcement holds against real-world agent compromises and exfiltration attempts.

Measured heat

now 0 pts/hpeak 6 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 362h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-11 13:00⭐ origin echo-reconstructedThe GitHub repository is the original source: its README describes bot-bottle as running coding agents in isolated microVMs/containers with
Eric Bauerfeld (diderisoft) on github (echo) · attributed from hn.story.50456190
—
11-11 17:45first on hacker news · published · +4.8hShow HN: Bot-bottle – secure runtime, DLP and remote control for local agents
didericis
—
11-11 17:45amplified on hacker news 👑hn.story.50456190
didericis
peak 2 · 3 comments · 62% of case engagement
11-15 22:02amplified on hacker newshn.story.50511309
ShMcK
peak 3 · 0 comments · 37% of case engagement
11-11 18:20our radar first saw it · +5.3hdiscovery anchor: hn.story.50456190—
pace: p49 vs 1845 stories at the 336h mark (now 362h old) — ahead of 5dive-self-hosted-coding-agents (1.2x), behind ai-screening-for-visa-document-fraud (0.9x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Bot-bottle – secure runtime, DLP and remote control for local agents
Retrieved article excerpt

Open article · Retrieved 2026-11-11T18:21:57.077199+00:00

[bot-bottle](https://github.com/diderisoft/bot-bottle/blob/main/docs/bottle-glass.svg)

# 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](https://github.com/diderisoft/bot-bottle/blob/main/SECURITY.md).

[Demo: bot-bottle drafts a bottle for the task, the agent fixes a failing test, and a blocked host is approved from a phone](https://bot-bottle.com/#try)

[Watch the demo](https://bot-bottle.com/#try): 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](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/install.md).

## First run

1. In your project, run `bot-bottle start`.
2. Pick an agent.
3. Describe the task: "fix the flaky test in tests/net".
4. 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](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/gateway.md)
- **Every outbound request is checked against the bottle's allowlist.** Requests on inspected routes are also scanned for secrets. → [gateway](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/gateway.md#outbound-dlp)
- **Every push through git-gate is secret-scanned** and carries a `Bot-Bottle:` trailer naming its bottle. → [git-gate](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/git-gate.md#commit-trailers)
- **Each agent runs in its own microVM or container**, checked at launch to have no way out but the gateway. → [backends](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/backends.md)
- **A repo can't hand you a bottle you haven't trusted.** Any change asks again. → [projects](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/projects.md)

What it doesn't defend against is in the [threat model](https://bot-bottle.com/docs/security/threat-model).

## Learn more

- [Getting started](https://bot-bottle.com/docs/start): install, first agent, first bottle
- [Threat model](https://bot-bottle.com/docs/security/threat-model): what's in and out of scope
- [All docs](https://bot-bottle.com/docs)
- In this repo: [architecture](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/architecture.md), [manifest](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/manifest.md), [gateway](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/gateway.md), [git-gate](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/git-gate.md), [backends](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/backends.md), [install](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/install.md), [architect](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/architect.md), [CI](https://github.com/diderisoft/bot-bottle/blob/main/docs/reference/ci.md), [decisions](https://github.com/diderisoft/bot-bottle/blob/main/docs/decisions/README.md)

## Contributing

See [CONTRIBUTING.md](https://github.com/diderisoft/bot-bottle/blob/main/CONTRIBUTING.md) and [AI\_POLICY.md](https://github.com/diderisoft/bot-bottle/blob/main/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](https://github.com/diderisoft/bot-bottle/blob/main/LICENSE) for the full text.
didericis23
🟧 echo.github ⭐The GitHub repository is the original source: its README describes bot-bottle as running coding agents in isolated microVMs/containers with Eric Bauerfeld (diderisoft)——
🟧 hnSandboxes for AI AgentsShMcK30

Interpretation history

Decision trace