Docs
Build with win.sh
Run the open-source loop harness locally, connect it to hosted win.sh, and give agents readable business operating loops.
Local harness
Install loop packs, inspect journals, and hand runs to Codex or Claude Code from the terminal.
API tokens
Create scoped tokens in Settings or approve a token from the browser when the CLI asks.
API reference
Use bearer auth for token management and connector snapshot reads.
60-second local start
The open-source package is file-first: loop contracts live in Markdown, state lives in JSONL journals, and Codex or Claude Code can execute from your repo.
npm install -g @win.sh/win
win auth login
win install bug-autofix
win status
win tick
win exec --agent codex --dry-run