Chi (χ)
Chi ("kai") is an open-source autoresearch harness: point a fleet of LLM coding agents (any vendor) at any problem with a programmatic evaluator — a build, a correctness check, and a score — and let them iterate unattended.
Status: v1 (Phases 0–1) — single coder agent, two adapters (headless vendor CLIs and a LiteLLM tool loop), enforced SQLite+JSONL run store, hard budget caps, two-layer steering, deterministic watchdog.
Quick start
uv tool install --editable . # or: uv venv --python 3.12 && uv pip install -e ".[dev]"
chi # opens the full-terminal session (Textual UI)
The session has a Claude Code-style interface: scrolling transcript, bottom
input with a slash-command dropdown, live status bar, and modal fuzzy pickers.
chi --plain gives a minimal line-based REPL (also used automatically when
stdout is not a terminal).
Inside the session:
/vendors pick providers (fuzzy); store keys with `chi providers --set-key X`
/models pick coder models — saved as your global defaults
/run fleet.yaml start a run; iteration results stream in live
just type plain text while a run is active becomes a steering directive
/stop /status /ledger /champion /quit
Everything also works non-interactively for scripts and CI:
chi providers --enable anthropic,deepseek
chi models --pick anthropic/claude-sonnet-5,claude
chi validate examples/fleet.yaml
chi ping --fleet examples/fleet.yaml
chi run examples/fleet.yaml
chi steer runs/<run_id> "stop micro-tuning; try itertools"
Inspect results:
uv run chi status runs/<run_id>
uv run chi ledger runs/<run_id> --negative
uv run chi champion runs/<run_id> --export best.py
Define your own problem
A problem is a directory with a problem.yaml (see
problems/optimize_function/): entrypoint commands for correctness and
benchmark, held-out seeds, and a score metric/direction. Correctness is a hard
gate; candidates never see reference outputs.
Coder adapters
-
litellm_loop— tools-in-a-loop over any LiteLLM-routable model (Anthropic, OpenAI, DeepSeek, GLM, MiniMax, ...). -
cli_subprocess— drives a headless vendor CLI per iteration, e.g.:coders: - id: c1 model: claude adapter: cli_subprocess command: "claude -p --permission-mode acceptEdits {prompt_file}" -
scripted— deterministic playback, used by the test suite.
Design
See docs/superpowers/specs/2026-07-25-chi-v1-design.md (v1 design, grounded
in a multi-agent fleet postmortem) and docs/product-spec-v1.md (full product
spec). License: Apache-2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getchi-0.1.0.tar.gz.
File metadata
- Download URL: getchi-0.1.0.tar.gz
- Upload date:
- Size: 386.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afeff72e9351ab7ba3e455364ac2f15c0df0f08a194eb55b8eb14af3b37baf46
|
|
| MD5 |
46f1974f12fc7e87ed7a1368d83605c2
|
|
| BLAKE2b-256 |
0fafcaa665c0dc001c1419c28aa535408ea5d88df99782555a3c39b09bd80d45
|
Provenance
The following attestation bundles were made for getchi-0.1.0.tar.gz:
Publisher:
publish.yml on kdpisda/chi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
getchi-0.1.0.tar.gz -
Subject digest:
afeff72e9351ab7ba3e455364ac2f15c0df0f08a194eb55b8eb14af3b37baf46 - Sigstore transparency entry: 2305970734
- Sigstore integration time:
-
Permalink:
kdpisda/chi@fc700cca113a06334f15440504c5a0ec7e1326c0 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kdpisda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fc700cca113a06334f15440504c5a0ec7e1326c0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file getchi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: getchi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 108.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ffb5e4d6a25b692722473e8fa5104fa5f6cefda721b8e0e6c242de2ed2145f4
|
|
| MD5 |
590df1a0713a2370db36d4f5a3dc47df
|
|
| BLAKE2b-256 |
d92f3c9a1b57d534dcc4753e5bdb32906b27bf777d209359967b77e16394667a
|
Provenance
The following attestation bundles were made for getchi-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on kdpisda/chi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
getchi-0.1.0-py3-none-any.whl -
Subject digest:
6ffb5e4d6a25b692722473e8fa5104fa5f6cefda721b8e0e6c242de2ed2145f4 - Sigstore transparency entry: 2305970819
- Sigstore integration time:
-
Permalink:
kdpisda/chi@fc700cca113a06334f15440504c5a0ec7e1326c0 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kdpisda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fc700cca113a06334f15440504c5a0ec7e1326c0 -
Trigger Event:
release
-
Statement type: