Skip to main content

Run your coding agent in a bubble.

Project description

bubble-agent

GitHub Actions Workflow Status PyPI - Version PyPI - Version Docs

This project is inspired by cyunrei/opencode-bwrap.

Run your coding agent in a bubble.

Uses bubblewrap to sandbox coding agents with configurable bind mounts and virtual workspace (.code-workspace) support. Sandbox arguments are passed via --args <fd> for clean process listings, and /etc/profile is automatically patched to prevent login shells from resetting the custom PATH.

By default, the sandbox wraps opencode. Use --bin to run a different coding agent.

Quick Start

Install with uv:

# From PyPI
uv tool install bubble-agent

# From Test PyPI
uv tool install --index-url https://test.pypi.org/simple/ bubble-agent

# From GitHub (master branch)
uv tool install git+https://github.com/ak1ra-lab/bubble-agent.git

# From GitHub (specific branch or tag)
uv tool install git+https://github.com/ak1ra-lab/bubble-agent.git@dev
uv tool install git+https://github.com/ak1ra-lab/bubble-agent.git@v0.1.0

# From local clone
git clone https://github.com/ak1ra-lab/bubble-agent.git
cd bubble-agent
uv tool install .

Then run:

bubble-agent                              # runs opencode by default
bubble-agent ~/my-project                 # work in a specific directory
bubble-agent --dry-run                    # preview the bwrap command

Set up your configuration:

mkdir -p ~/.config/bubble-agent
curl -o ~/.config/bubble-agent/bubble-agent.conf \
  https://raw.githubusercontent.com/ak1ra-lab/bubble-agent/master/bubble-agent.example.conf
# edit ~/.config/bubble-agent/bubble-agent.conf

See Documentation for full usage, configuration, and workspace features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bubble_agent-0.1.1.tar.gz (65.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bubble_agent-0.1.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file bubble_agent-0.1.1.tar.gz.

File metadata

  • Download URL: bubble_agent-0.1.1.tar.gz
  • Upload date:
  • Size: 65.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bubble_agent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 050aa842ad1b24a9aa363962e8b72d6640046671b03ac7d1b817aadbd7758635
MD5 febde2cd1c1ccb8d5032e9cf732cfaad
BLAKE2b-256 aa0c9e4cb98db4c0a79d6e4a4e70771ac6450b13f6b0058e66c84742db27376e

See more details on using hashes here.

Provenance

The following attestation bundles were made for bubble_agent-0.1.1.tar.gz:

Publisher: publish-to-pypi.yaml on ak1ra-lab/bubble-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bubble_agent-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bubble_agent-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bubble_agent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 85406bccee4a20b1918f7a12338199fb43a7b8cc79d4f69ffb29ac1d8c8a4df9
MD5 3629a3e44480f07b87a6fa04d1c4e23a
BLAKE2b-256 29706bfc4876cc012c8126afd238568d40aa815accbda3b64035cb5f6fe62834

See more details on using hashes here.

Provenance

The following attestation bundles were made for bubble_agent-0.1.1-py3-none-any.whl:

Publisher: publish-to-pypi.yaml on ak1ra-lab/bubble-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page