docs/kilo.md
Kilo supports API and CLI-backed auth. Source mode can be auto, api, or cli.
api)
~/.codexbar/config.json (providers[].apiKey for kilo) or KILO_API_KEY.https://app.kilo.ai/api/trpc.cli)
~/.local/share/kilo/auth.json and uses kilo.access.kilo login).auto)
Auto, API, CLIKILO_API_KEYPlan: and Activity: lines.KILO_API_KEY or provider apiKey.kilo login to create ~/.local/share/kilo/auth.json.KILO_API_KEY or rerun kilo login.CodexBar can show usage for any Kilo organization the API key belongs to.
X-KILOCODE-ORGANIZATIONID header on
every usage call to scope the response to that organization.auth.json): the header is applied to CLI-resolved tokens
as well. If a CLI token isn't authorized for the chosen organization, that
card surfaces an unauthorized error while Personal and other enabled scopes
continue to render normally.