- Rust 80.6%
- JavaScript 16.2%
- CSS 2.4%
- HTML 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
P015: no Rust file in the workspace is above 750 lines any more (the largest is 750, exactly at the cap). 16 source files got their inline unit tests moved into child files, 12 long modules were cut into children of a same-named directory with the parent re-exporting every previously reachable item, and 16 integration-test binaries moved their tests into #[path]-mounted topic submodules while keeping their flat root file and their target name. Behaviour is unchanged: 1317 workspace tests pass (one documented live-host flake), clippy and fmt are clean, the rewriter corpus still holds 511 cases and the sandbox tool-definition table keeps its prompt-cache order. The 50 files left between 500 and 750 lines are registered with their reasons in the new agents/memory/module-layout.md. |
||
| .agents | ||
| .bondulance | ||
| agents | ||
| app | ||
| click-dummy | ||
| docs | ||
| engine | ||
| persistence | ||
| protocol | ||
| .gitignore | ||
| .ignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
Bondulance
Bondulance is a graphical harness for AI coding agents. Agents work inside a sandbox (bubblewrap, podman, or a remote SSH host) with no access to your machine and no network except through a permission-gated HTTP/HTTPS proxy. File changes land in a forked git worktree that you review and merge back. You approve the decisions that matter instead of babysitting permission prompts.
The full user documentation lives in the mdbook under docs/src
— start with the introduction.
Quick start
Prerequisites: Linux, a Rust toolchain (edition 2024), bwrap (bubblewrap)
for the default sandbox backend, and the socket-ssh (default
/usr/bin/socket-ssh) plus toolcall-rpc binaries for the sandbox.
cargo build --release # target/release/bondulance
cd ~/projects/my-app
bondulance setup # git init + .agents/.bondulance,
# prompt seeds, config example
# point .bondulance/config.toml (or the global one) at your LLM server:
# [[endpoints]]
# name = "local-llama"
# url = "http://127.0.0.1:8080/v1"
# server_kind = "llama-cpp"
bondulance # desktop window (feature `desktop`)
bondulance --headless # or: serves UI + WS on 127.0.0.1
Configuration reference, session/restore semantics, the agent tool set, the proxy policy and the WebSocket protocol are all documented in the book.
Development
cargo build
cargo test --workspace # unit + integration
cargo clippy --workspace --all-targets
cargo fmt --check
(cd app/frontend && npx playwright test) # frontend tests (dev-only, chromium)
mdbook build docs -d docs/book # user documentation
Building the desktop app:
cd app
frontend/node_modules/.bin/tauri build --features desktop # add --bundles deb|rpm
Contributions follow agents/rules/ (git, rust, documentation); design and
invariants for agents live in AGENTS.md.
Tech stack
Rust (edition 2024) + tokio;
serde/toml config;
thiserror errors;
tokio-tungstenite WS server;
Tauri v2 desktop shell (optional desktop feature);
git2 for reads. The frontend is a
bundlerless vanilla-JS SPA under app/frontend
(Playwright for tests). The sandbox, egress proxy,
SSH bridge, agent-file parser and LLM client are the pinned companion crates
(sandbox,
socket-ssh,
http-proxy,
agent-parser),
pinned by SHA —
full list and links in AGENTS.md.