Open source · local-first · MIT

Ship intent.
Not keystrokes.

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.

License
MIT, forever
Runtime
your machine
Merge
always human
oni / terminal
$ 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
review TUI · PWA · CLI

Philosophy

Open source, not a SaaS.

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.

01

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.

02

No accounts, no seats

No login, no usage meter, no hosted control plane. Your repo and your model credentials stay where you put them.

03

Built for one human

Agents do the work. You review the real patch and decide. Oni is a cockpit, not an autonomous deployment pipeline.

The system

Small surface. Sharp edges.

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.

01

Worktree per task

Agents never write to the base branch. Each task gets a fresh worktree and an oni/<slug> branch.

02

Verification loop

Your command decides. Oni reinjects the failure, retries within a bounded budget, and restores the verifier from the base branch.

03

Human merge

Review the unified patch, then merge with --no-ff. Stop, retry, accept verification changes, or discard without cleaning up a mess.

Interfaces

One daemon. Four ways in.

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

TUI

oni opens the Ratatui TUI with a live task list, logs, patches, and a Juniperus command palette.

oni · : route · ? help

Desktop

PWA

A wider supervision view for mouse and keyboard: projects, tasks, patches, actions, and verification warnings.

http://127.0.0.1:7766

Phone

Mobile

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

CLI

oni health, oni tasks, oni new --watch, oni merge. JSON output for automation.

oni --help

Optional router

Juniperus, preview only.

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
$ 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

Read the source, not a sales deck.

Everything is in the repository: scope, architecture, TUI keys, sandbox plan, brand rules, and the Juniperus contract.

Install

From zero to a TUI.

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

Boring where it matters.