lizard agents
Connect the credentials that coding agents use in sandboxes, and set each agent’s defaults. Run the agents with lizard sandbox prompt.
Usage
lizard agents status
lizard agents login [chatgpt] [flags]
lizard agents add <credential> [flags]
lizard agents remove <credential>
lizard agents use <agent> [flags]Credentials belong to a project: what you connect signs in agent runs in that project’s sandboxes, for you and the other members of the project, and a new project starts with nothing connected. The commands use the linked project, or the one you pass with -p, --project. For a ChatGPT login, the platform keeps the long-lived token and hands a sandbox a short-lived access token for each run. Lizard passes API keys and the stored Claude subscription token unchanged in each run’s environment. Use credentials you can revoke.
Agents and credentials
| Agent | Name | Accepts |
|---|---|---|
| Codex | codex | one of: chatgpt, openai, deepseek, openrouter |
| Claude Code | claude | one of: claude, anthropic, openrouter |
| pi | pi | any of: claude, chatgpt, anthropic, openai, openrouter, llmgateway |
| OpenCode | opencode | any of: chatgpt, anthropic, openai, openrouter, llmgateway |
| Prime Agent | prime | any of: claude, chatgpt, anthropic, openai, openrouter, llmgateway |
Kimi Code (kimi, with kimi or moonshot credentials) is listed but can’t run yet.
Subcommands
lizard agents status
Show which credentials are connected and which agents can run. Plain lizard agents does the same.
lizard agents login [chatgpt]
Connect your ChatGPT subscription with a device code. The CLI prints a URL and a code; open the URL, sign in, and enter the code within 15 minutes. The command waits until you approve.
| Flag | Description |
|---|---|
--open | Open the sign-in page in your browser |
lizard agents add <credential>
Add an API key: anthropic, openai, openrouter, llmgateway, deepseek, or moonshot. For a Claude subscription, run claude setup-token on your machine and add its token as claude.
| Flag | Description |
|---|---|
--key <value> | The key or token. Without it, the CLI reads stdin, or asks |
lizard agents remove <credential>
Remove a connected credential (alias logout).
lizard agents use <agent>
Set an agent’s credential and defaults.
| Flag | Description |
|---|---|
--credential <name> | For Codex and Claude Code: which credential to use |
-m, --model <model> | Default model (none clears it) |
--effort <level> | Default reasoning effort (none clears it) |
Examples
Connect ChatGPT and run Codex
lizard agents login chatgpt --open
lizard sandbox create -t codex
lizard sandbox prompt genuine-toddler-jasj "add a health check endpoint and test it"Add a Claude subscription for Claude Code
claude setup-token
lizard agents add claude
lizard sandbox create -t claude
lizard sandbox prompt genuine-toddler-jasj --agent claude "fix the failing tests"Run Codex on an OpenAI API key
lizard agents add openai < openai.key
lizard agents use codex --credential openai --effort highSee also
- lizard sandbox:
sandbox prompt,conversations, andinterrupt - Sandboxes: templates and lifecycle
Updated