bubble-agent
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.
Metadata
Release files for bubble-agent 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bubble_agent-0.2.0.tar.gz | 66.0 kB | With provenance | Details for bubble_agent-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bubble_agent-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for bubble_agent-0.2.0-py3-none-any.whl |
Total release size: 78.5 kB
Release files / bubble_agent-0.2.0.tar.gz
| Download URL | bubble_agent-0.2.0.tar.gz |
|---|---|
| Size | 66.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0462a0a26d78bdbba4a4f9da4fa1c88d8f3fc79db96199e8068798e44a2063e7
|
|
BLAKE2b-256 checksum How to use checksums |
9c897eeb93f4b9f98787a962c6c779b9e6c2f331e59f1fd5de8f8183af87b483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logRelease files / bubble_agent-0.2.0-py3-none-any.whl
| Download URL | bubble_agent-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddede2bee8da69f17b3aa24f6fa6e75b76c832d9d9c19c191159607dbe505803
|
|
BLAKE2b-256 checksum How to use checksums |
e7d3d80442fa9d81ff26c74da74f6b8da259f86afd13538bd3e341cb3d40cea3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logSecurity for bubble-agent 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bubble_agent-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.