Rules it keeps
Not a gateway. Hatcheck is never between an agent and its model. It rewrites no agent's config, holds no login, and runs nothing in the background. Tools such as magpie put a local gateway in that path so any agent can use any model and accounts can take over from each other when a quota runs out. If that is what you want, use one of those. Hatcheck is for the opposite case: keeping several accounts apart, and knowing which one each session ran on.
Each rule links to the code that keeps it, so it can be checked rather than taken on trust.
- Not in the path.
cl,cxandcksetCLAUDE_CONFIG_DIR,CODEX_HOMEorKIMI_CODE_HOMEand run the agent in their place; nothing stays running (launch.rs,run). - No agent's config is rewritten, except when you ask:
hatcheck bind --hookadds one hook to each Claude Code profile's settings, each Codex home's and Antigravity CLI's, or points the one it added at thehatcheckit finds now, andunbind --hookremoves only what it added (bind.rs,add_hooks).hatcheck statusline --installsets the status line of the profiles you name, leaves one somebody else set alone, and--uninstalltakes out only the one it added (statusline.rs);hatcheck profilesandsearchonly read. - No credentials. It never asks for, stores, refreshes or moves a login. For Claude it never reads one: Claude Code's own
/usageis run in the profile and the snapshot it saves is read. For Codex, the home's token is sent only to ChatGPT's usage endpoint, as it is, never refreshed (usage.rs,run_claude_usageandfetch_codex_usage). For Kimi, the home's token is sent only to Kimi's usage endpoint, as it is, never refreshed. For Antigravity CLI it never reads one either: agy's own/usageis run, onceagy modelshas said it's signed in, since agy asked without a sign-in would start one (agy.rs,run_usage). For ZCode, DeepSeek Harness and Qwen Code it reads no login and asks for no usage. MiniMax Code reads no auth or provider config, and its plan quota isn't wired into hatcheck. Signing in happens in the agents themselves, in a terminal. - Live usage is opt-in in the app, and
--cachedin the CLI shows what Claude Code and Codex last saved, and the last readings hatcheck kept of agy's and Kimi's, which save none, with their age. - No automatic switching between accounts.
hatcheck bestranks and prints commands, for choosing between accounts you may use for the work at hand; nothing starts, moves or switches a session on its own (best.rs). - Nothing leaves your computer except those usage requests: Claude Code's to Anthropic, one to ChatGPT per Codex account, one to Kimi per Kimi home (the only addresses the binary itself calls:
CODEX_USAGE_URLinusage.rs,DEFAULT_USAGE_URLandGLOBAL_USAGE_URLinkimi.rs), and Antigravity CLI's own/usageto Google, with the model list it fetches first to say it's signed in. DSH, mcode, qwen, copilot and opencode add no request. - What the agents send is theirs to govern. Hatcheck adds no data path of its own. What each agent sends to its maker, and whether that is kept or used to train models, depends on the maker's terms for your product and plan, which differ between them and change; check them for each account you keep apart: Claude Code, Codex (and the API), Antigravity, Kimi, Z.ai, DeepSeek, MiniMax, Qwen Code and GitHub Copilot, and OpenCode's to whichever provider you signed it in to, under that provider's terms. Hatcheck summarises none of them; its weekly check only keeps the links alive.
- Nothing runs in the background. No daemon; the app's engine lives only while the app does (serve.rs).
- Every change to a session can be undone.
movedeletes the original only once every copied file is checked, never puts an older copy over a newer one, and is undone by moving the session back;forkkeeps the original;relocateprints the command that undoes it; and all three have a--dry-runthat runs every check and writes nothing. DSH's, mcode's, qwen's, copilot's and opencode's stores are only ever read.