# hx Minimal Rust coding agent. Uses your existing subscriptions, no API keys. ```sh cargo build --release hx login claude # Claude Pro/Max hx login codex # ChatGPT Plus/Pro hx -p "hello" # Claude hx --provider codex -p "hello" # Codex ``` Existing Claude Code (`~/.claude/.credentials.json`) and Codex CLI (`~/.codex/auth.json`) logins are picked up automatically. Credentials are stored in `~/.hx/auth.json` (mode 0600) and refreshed automatically. On a headless box, open the printed URL elsewhere and paste the final redirect URL back into the terminal.