Iiwi Β· /ΛiΛ.wiΛ/ "ee-wee" β turns your coding-agent sessions into a weekly engineering report, without anything leaving your machine.
English | ηΉι«δΈζ
The weekly status update is work you already did once. Iiwi reads the sessions your coding agent already recorded, groups them by repository, and writes the report. Works with OpenCode, Claude Code, and Codex.
- Nothing leaves your machine. Your local
opencode runwrites the narrative β no network, no API key. - Finds your sessions anywhere. Every project, whichever folder you run from.
- Groups by repository. Worktrees collapse into one entry; child and subagent sessions stay with it.
- Redacts first. Common secret patterns are stripped locally before anything is written.
Needs Python 3.11+ and git. Plus one harness: OpenCode (the default, needs an
opencode executable) or Claude Code / Codex (no CLI, just a readable transcript
store at ~/.claude/projects or ~/.codex).
pipx install iiwi # or: pip install iiwi
iiwi doctor # is the harness ready?
iiwi report --period last-week # write the reportThe report lands under reports/.
Pass --dry-run to print the report to the terminal instead of writing a file.
Run iiwi with no arguments if you would rather not remember flags:
$ iiwi
___ _ _
|_ _(_)_ __ _(_)
| || \ V V / |
|___|_|\_/\_/|_| v0.9.1
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Turn coding-agent sessions into engineering reports
github.com/mike840609/iiwi
βΆ Generate Report
Browse Sessions
Check Setup
Settings
ββ jk β Enter Select β 1-4 β ? Help β q Quit
Choosing Generate a report shows every setting at once instead of asking one
question at a time β ββ moves, ββ changes a value, and a line under the list
explains the setting you are on. Press g to generate, or r to open
Review sessions first, which weighs each repository by how much of the period
it actually accounts for:
Review Sessions 6 / 6 selected β 252 / 252 msgs
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Select sessions to include in the report:
1. βΎ ββββββββββββ 71% β iiwi 3 / 3 Aug 5 β 180 msgs
βΆ ββββββββββββ 24% β Add the interactive menu Aug 5 β 60 msgs
ββββββββββββ 24% β Redact before writing Aug 5 β 60 msgs
ββββββββββββ 24% β Group worktrees Aug 5 β 60 msgs
2. βΈ ββββββββββββ 24% β obsidian-wiki 2 / 2 Aug 4 β 60 msgs
3. βΈ ββββββββββββ 5% β dotfiles 1 / 1 Aug 3 β 12 msgs
ββ jk β ββ hl β Space Toggle β p Preview β e Exclude β a All β g Generate β / Search β ? Help β b Back
Space toggles a repository or a single session, p previews a transcript
(redacted), and e excludes a repository from every future scan. Your selection
is remembered per period.
iiwi doctor # is the harness ready?
iiwi scan --period last-week # preview how sessions group
iiwi report --period last-week # write the report
iiwi history # reports already written
iiwi update # check PyPI for a newer release
iiwi run # the same questions, one at a time| Flag | What it does |
|---|---|
--harness claude-code / --harness codex |
Read another harness's sessions β the narrative still comes from your local opencode run |
--no-llm |
Deterministic structured report; works whether or not OpenCode is installed |
--sanitize |
OpenCode's stronger redaction, which intentionally removes most work evidence |
--dry-run |
Print the report instead of writing a file |
--json |
Redacted machine-readable output for scan, doctor, history, and update (the default when stdout is piped) |
iiwi --help lists everything, and run is the linear wizard if you prefer being
asked. In scripts, name a subcommand directly β with no terminal to prompt at, the
menu exits with status 3 rather than reading stdin.
Settings come from an environment variable first, then the settings file, then the default:
iiwi config init # walk through all
iiwi config set harnesses.opencode.cli.model deepseek-r1 # write one
iiwi config list # show all, with sources
iiwi config unset report.timezone # back to the defaultEvery setting and its environment-variable name is in the configuration guide.
Everything happens on your machine: sessions are read from disk, common secret
patterns are redacted, and the redacted transcript is handed to your locally
installed opencode run. No API key, and update is the only command that touches
the network.
Reports may still contain private goals, filenames, commands, and full working paths β always review one before sharing it. See Privacy and security for the full data flow and current limits.
| Page | What's in it |
|---|---|
| CLI reference | Every command, option, and exit code |
| Configuration | Settings file, environment variables, precedence |
| Privacy and security | Data flow, redaction boundary, what reports still contain |
| Security policy | Threat model and how to report a vulnerability |
| Usage guides | Reporting periods, subagents, repository grouping, output handling |
| Usage statistics | How the usage section is built, and its window caveat |
| Support and limits | The per-harness caveat list |
| Architecture | How a report is produced, end to end |
| Releasing | How a release is cut |
The Κ»iΚ»iwi is a scarlet Hawaiian honeycreeper whose long curved bill reaches nectar others cannot β which is what this tool does with the sessions your agent left behind. Pronounced the anglicised way, "ee-wee".
git clone https://github.com/mike840609/iiwi.git
cd iiwi
uv sync --locked --extra dev # install the project and its dev tools
uv run iiwi # run your working copy
uv run pytest --cov=iiwi --cov-fail-under=80 # tests, with the coverage gate CI enforces
uv run ruff check . # lint
uv run pyright # type checkThe last three are exactly what CI runs, so a green local run means a green PR.
The name is cased by where it appears:
| Context | Form |
|---|---|
| Distribution, CLI, URLs, application directories | iiwi |
| Python package and imports | iiwi |
| Prose | Iiwi |
| Environment variables | IIWI_ prefix |
| Error base class | IiwiError |
MIT
