Get from zero to a running workflow with an evidence bundle in about 10 minutes.
- Rust 1.75+ (
rustup update stable) - Git
git clone https://github.com/escapeboy/boruna
cd boruna
cargo build --workspaceThis builds all 9 crates. Expect 1-2 minutes on first build.
cargo run --bin boruna -- run examples/hello.axExpected output:
Hello, Boruna!
This compiles hello.ax to bytecode and runs it on the VM. No capabilities are needed.
Boruna workflows are DAGs — directed acyclic graphs of steps. Each step is a .ax file that compiles independently and runs in isolation.
Run the LLM code review workflow (in demo mode — no real LLM calls):
cargo run --bin boruna -- workflow run examples/workflows/llm_code_review \
--policy allow-allExpected output:
Running workflow: llm_code_review
[1/3] fetch_diff → ok
[2/3] analyze → ok
[3/3] report → ok
Workflow completed in 0.03s
Three steps ran in topological order: fetch a diff, analyze it, produce a report. In demo mode the steps return representative data without calling any external services.
Add --record to capture a tamper-evident log of the run:
cargo run --bin boruna -- workflow run examples/workflows/llm_code_review \
--policy allow-all --recordExpected output:
Running workflow: llm_code_review
[1/3] fetch_diff → ok
[2/3] analyze → ok
[3/3] report → ok
Workflow completed in 0.03s
Bundle written to: .boruna/runs/20260319-120000-abc12/
cargo run --bin boruna -- evidence inspect .boruna/runs/20260319-120000-abc12/Expected output:
Run ID: 20260319-120000-abc12
Workflow: llm_code_review
Started: 2026-03-19T12:00:00Z
Completed: 2026-03-19T12:00:00Z
Policy: allow-all
Steps: 3 completed, 0 failed
Step Results:
fetch_diff → ok (0.0s)
analyze → ok (0.0s)
report → ok (0.0s)
Chain: valid (3 entries, no gaps)
cargo run --bin boruna -- evidence verify .boruna/runs/20260319-120000-abc12/Expected output:
Chain integrity: VALID
All step hashes: MATCH
Environment fingerprint: PRESENT
Verification: PASSED
The hash chain is unbroken. No step output was modified. This is what makes Boruna useful for audit: you can present this bundle, and anyone with the boruna binary can verify it independently.
- Deterministic execution: same workflow definition → same outputs, every time
- Capability policy:
--policy allow-allcontrols what side effects are permitted - Evidence bundle: a tamper-evident directory written alongside every recorded run
- Independent verification:
evidence verifyneeds no network access, no central server
# Document processing with fan-out parallelism
cargo run --bin boruna -- workflow run examples/workflows/document_processing \
--policy allow-all --record
# Customer support triage with an approval gate
cargo run --bin boruna -- workflow run examples/workflows/customer_support_triage \
--policy allow-all --recordcargo test --workspace557+ tests across all crates. All should pass.
- Write a workflow: Your First Workflow
- Understand the language: .ax Language Reference
- Understand determinism: Determinism
- Understand capabilities: Capabilities
- See all CLI commands: CLI Reference
- Check maturity status: Stability