A stochastic execution layer for coding agents.
Get started · Agents · Architecture · Changelog
One decision in the credential-free presentation gallery.
Choose the agents, models, reasoning settings, and strategies you want to try. Roulette-Driven Development (RDD) draws among them at the boundaries you choose, from starting a session to submitting a request in an open agent. The host applies the draw through its native settings. In a spare terminal pane, reels, wheels, cards, and other instruments show how each decision landed.
You can hold a model across several requests, walk its reasoning effort one step at a time, or deal models from a finite pool. RDD explores how those choices and their timing change the experience of working with an agent. Research notes describe what each mechanism does and what has been measured.
Let entropy decide.
Status: pre-release (0.6.0). There is no release or tag yet. Each integration runs through its agent's own settings and permissions; the agent versions it was exercised with are listed under compatibility. RDD is not a sandbox.
The instruments work without an agent or credentials. Build from a checkout with Rust 1.88 or later.
cargo install --locked --path .
rdd # reels: model, effort, strategy from a sample catalog
rdd spin --manual # hold, redraw, and accept
rdd wheel # a weighted recovery wheel
rdd dice 2d6 # dice, with the exact chance of the total
rdd galton --labels low,medium,high # a Galton board over an ordered choice
rdd capsules A:3,B:2,C --draws 3 # a finite pool, drawn without replacement
rdd spin --effort-policy galton # efforts that favor the middle
rdd presentation --preview # browse instruments and replay each example
rdd --json --seed 42 # the same draw as JSON, reproduciblyOpen the gallery with rdd presentation --preview, or go straight to
a scene such as rdd presentation --preview --example deck.
Presentation settings
rdd agents shows which agents are on your PATH and which integrations
are installed. Agents differ in where RDD can act:
| Codex | Claude Code | OpenCode | Pi | |
|---|---|---|---|---|
Start a session (rdd run) |
yes | yes | yes | — |
A request in a saved session (rdd run --resume) |
yes | yes | — | — |
| Independent requests in an open session | experimental launch | plugin | plugin | extension |
| New subagents | — | hook | plugin | — |
| Recovery after a failed build or test | — | hook | — | — |
| Timed redraw during a long request | — | — | plugin | — |
| What RDD knows about the result | requested | requested | configured | configured, checked per response |
Requested means RDD passed the settings to the agent's launch options or tool input. Configured means the agent reported the settings as set after RDD changed them. Pi also records the settings each response used, and RDD shows a mismatch.
rdd run codex --prompt 'Review this change'
rdd integrate pi install # open Pi and use /rdd on or /rdd once
rdd integrate opencode install # use /rdd-on or /rdd-once in OpenCode
rdd integrate claude install # add model candidates to rdd.json, then use /rdd onFresh installs leave request sampling off. Once enabled, Pi and OpenCode
draw from the current model by default. Claude Code uses an explicit
pool and offers separate profile switches for subagents and recovery.
rdd configure sets candidates and draw lifetimes through a short interview.
Pi, OpenCode, and Claude Code can switch profiles within a conversation.
Select a Codex profile when launching the experimental bridge,
then use rdd codex-live control to change sampling in a running session.
Getting started walks through each step.
rdd watchKeep a spare pane open and every draw from your integrated agents appears on its instrument: reels, a wheel, or a capsule pool for the model; a reel, a Galton board, or a walk's coin and track for the effort; a dealt card or a capsule pool for the strategy; a percentile die for a renewal gate, and a die then a wheel for recovery. A setting that was held rather than drawn again is named, not spun. Agent sessions get their own lanes. The pane replays committed decisions and never draws, so closing it affects nothing. Observer · Pi and the observer side by side
rdd watch during five Claude Code 2.1.331 requests against a local fixture
provider, with a 35% chance to redraw the model and a new effort on every
request. A keep continues the effort walk on the held model.
RDD picks an agent uniformly, then a model within it, then an effort that model supports: evenly, on a Galton board that favors the middle of the agent's own effort order, or by a walk that moves one level up or down from the model's last effort. The strategy is drawn independently, dealt from a deck without repeats, or drawn from a finite pool of capsules. Models can be weighted or dealt from a finite pool the same way. An agent with more models is not more likely to be picked. A draw can hold the model for a fixed number of requests, for a random number with a renewal gate that redraws with a chosen chance, or for the whole session, while the effort and the strategy are drawn again at every request. A draw stays binding until the next boundary: tool calls, retries, and queued input inside a request keep it, and a model you pick yourself is kept as an override. Architecture
- Codex continuous sampling requires an explicitly launched
rdd codex-livesession with Codex 0.172.0 or 0.173.0, and draws model and effort only: Codex offers no way to send guidance for a single request. Experimental Codex sessions - The Claude Code subagent hook covers new
Agenttool calls; forks, agent teams, and resumed subagents keep their native settings. - Release archives are built for Linux, macOS, and Windows, but none has been published yet. Build from a checkout for now.
| Getting started | Install, first draws, integrations, troubleshooting, removal |
| Agents | rdd run, saved sessions, Claude Code delegation and profile |
| Interaction | Manual review, wheels, strategy cards and decks, recovery |
| Pi · OpenCode | In-session integrations and their profiles |
| Observer | rdd watch and the decision record |
| Architecture | How candidates become committed, applied, and observed decisions |
| Research notes | Sampling semantics, findings from native agents, open questions |
| Distribution | Release archives and their contents |
| Changelog · Contributing · Security |
MIT. See LICENSE. Release archives include the license texts of every linked crate and runtime library. Codex, Claude Code, OpenCode, and Pi are named only to describe compatibility; RDD is not affiliated with their makers.

