Free, with source
MIT-licensed code. Read it, fork it, run it offline, or change how the loop works. No open-core bait and switch.
Open source · local-first · MIT
Oni is a free, open-source agentic development environment. It runs coding agents in disposable worktrees, verifies every attempt, and waits for a human before merging. No accounts. No seats. No cloud control plane.
$ oni
◆ ONI v0.1.0 ● daemon
project oni-demo-page filter REVIEW
────────────────────────────────────
▌ 3f2a1b9c REVIEW 1/3 !
Add Path Guard section
branch oni/path-guard-3f2a1b9c
verify node verify.mjs ✓
warn verify.mjs changed
merge blocked until accepted
────────────────────────────────────
m merge · a accept · d discard · ? help
Philosophy
Oni is a tool you own. The daemon runs on your machine, the worktrees live on your disk, and the interface is a local web app or your terminal. There is nothing to subscribe to.
MIT-licensed code. Read it, fork it, run it offline, or change how the loop works. No open-core bait and switch.
No login, no usage meter, no hosted control plane. Your repo and your model credentials stay where you put them.
Agents do the work. You review the real patch and decide. Oni is a cockpit, not an autonomous deployment pipeline.
The system
Every task is a contract: prompt, acceptance check, isolated branch, and a human at the gate. The daemon owns git isolation; the agent only owns its worktree.
Agents never write to the base branch. Each task gets a fresh
worktree and an oni/<slug> branch.
Your command decides. Oni reinjects the failure, retries within a bounded budget, and restores the verifier from the base branch.
Review the unified patch, then merge with --no-ff.
Stop, retry, accept verification changes, or discard without
cleaning up a mess.
Interfaces
Start a task from a terminal, supervise from a desktop browser, or check in from your phone. All clients speak the same local API.
Terminal
oni opens the Ratatui TUI with a live task list,
logs, patches, and a Juniperus command palette.
oni · : route · ? help
Desktop
A wider supervision view for mouse and keyboard: projects, tasks, patches, actions, and verification warnings.
http://127.0.0.1:7766
Phone
One-hand review, merge, stop, and retry from the same PWA. Install it over HTTPS, or reach the TUI over SSH.
add to home screen
Scripts
oni health, oni tasks, oni
new --watch, oni merge. JSON output for
automation.
oni --help
Optional router
A small local model can turn “mergeá la tarea 3f2a1b9c” into a structured decision. Oni validates and sanitizes it, then shows it to you. It never executes the decision.
deterministic fallback · no main_direct · human gate
$ oni route "mergeá la tarea 3f2a1b9c"
intent merge_worktree
project oni-demo-page
agent opencode
worktree isolated_branch
loop completed · max 1
preview only; nothing was executed
Documentation
Everything is in the repository: scope, architecture, TUI keys, sandbox plan, brand rules, and the Juniperus contract.
Install, run, and the full interface map.
02Scope, guardrails, review states, and roadmap.
03Keys, layout, mouse targets, and the route preview.
04Why worktrees are not a filesystem jail, and what is next.
05Contract v1, dataset, LoRA/GGUF pipeline, sidecar, and bench.
06Palette, type, wordmark rules, and the Hannya caveat.
Install
Rust 1.88+, Node 22+, git, and an agent CLI. The PWA is embedded in the daemon binary.
# clone the repo
git clone https://github.com/Davoassassin27/oni
cd oni
# build the embedded PWA and the daemon
npm install
npm run build
cargo build --release --manifest-path oni-daemon/Cargo.toml
# terminal 1: run the daemon
./oni-daemon/target/release/oni-daemon
# terminal 2: install and open the TUI
cargo install --path oni-daemon --bin oni --locked
oni
Principles