This repo orchestrates a 7-node KOI-net stack locally.
For full operational detail, advanced setup, and troubleshooting, see RUNBOOK.md.
- Clones all node repos
- Initializes
.envfiles - Syncs Python envs (
uv) - Starts/stops all nodes in protocol-safe order
- Auto-propagates coordinator contact and search target RIDs
- Runs end-to-end search queries
Run from this repo root.
make bootstrapmake set-shared-password PASSWORD='replace-with-strong-secret'make configure-github \
GITHUB_API_TOKEN='ghp_...' \
GITHUB_REPOSITORIES='owner/repo,owner/repo'make configure-hackmd \
HACKMD_API_TOKEN='your-hackmd-token' \
HACKMD_NOTE_IDS='note-id-1,note-id-2'Optional for HackMD:
# add workspace scoping if needed
make configure-hackmd \
HACKMD_API_TOKEN='your-hackmd-token' \
HACKMD_WORKSPACE_ID='workspace-id' \
HACKMD_NOTE_IDS='note-id-1,note-id-2'make env-checkmake upmake statusmake query \
Q='koi network architecture' \
TYPE=hybrid \
TOP_K=10make downmake help
make logs
make restart
make query-tail UUID='<query-uuid>'- Full setup + token guidance + troubleshooting: RUNBOOK.md