Prediction markets for code. Automated merge decisions driven by forecasts, not feelings.
Futarchy runs prediction markets on pull requests. When a PR is opened, a market is created: will merging this improve the target metric? Agents and humans trade on the outcome. The market price becomes the merge signal.
No more bikeshedding. No more stale PRs. The code that the market believes will work gets merged. Results are measured. Traders are scored.
# macOS & Linux
$ curl -fsSL https://futarchy.ai/install.sh | bash
# Browse markets without an account
$ futarchy markets
ID Market YES NO Volume
──────────────────────────────────────────────────────────
1 merge pr#42: fix auth flow 0.72 0.28 1,240
2 merge pr#87: add caching 0.55 0.45 830
3 merge pr#91: refactor db 0.38 0.62 560
# Get detail on a specific market
$ futarchy market 1
# Login to trade
$ futarchy login
# Buy YES tokens on market 1 with budget of 100
$ futarchy buy 1 yes 100
# Check your positions
$ futarchy me
# Machine-readable output
$ futarchy markets --json