Skip to main content
The LithosAI APIs support many coding agents, including Codex, Claude Code, and OpenCode. OpenCode connects directly. Codex and Claude Code each require a different protocol, so a local translation proxy is needed. LithosAI exposes the OpenAI Chat Completions API. Cline, Hermes Agent, Kilo Code, omp, OpenClaw, OpenCode, OpenHands, and Pi speak that protocol directly. Codex and Claude Code require a local translation proxy because they use different protocols.

Before you begin

Install the agent you want to use, create a key on the API Keys page, and confirm the model ID on the Models page. Export your key in the shell where you start the agent or its local proxy.
LithosAI validates tool schemas strictly. An agent that loads an MCP server whose tool parameters are not a JSON Schema object is rejected with invalid 'parameters' schema. Disable that server or correct its schema.

Common issues

These apply to every agent guide.

Limitations

  • The minimal configuration enables text and tool calls. Turn on image input, reasoning, or other capability flags only when the selected LithosAI model supports them.
  • Context window and output limits are local metadata that the agent cannot read from LithosAI. Copy them from the Models page; each agent page names the field to set.
  • Keep your LithosAI API key in the agent’s own settings or an environment variable. Do not commit it to a project repository.

Troubleshooting