Skip to content
quebragalho/docs

Get started

Documentation

All 32 catalog models in your code, your terminal and your agent. One API key, one balance and the same base URL for everything.

How it works

To switch models, change only the model name.

OpenAI basehttps://api.quebragalho.dev/v1
Anthropic basehttps://api.quebragalho.dev
KeyAuthorization: Bearer $QUEBRAGALHO_API_KEY

Start here

Let your agent set it up

Paste a prompt into Claude Code, Codex or the agent you already use. It finds your tools, connects each one to Quebra-Galho and shows the diff before writing. The key stays in your terminal, never in the chat.

  1. 1 Create a keyKeep it in a terminal variable
  2. 2 Paste the promptInto the agent you already use
  3. 3 Approve the diffIt only writes after your ok
See the prompt and the rules

Most used tools

See all 43

Three formats, one key

Use the format your tool already speaks. Balance, limits and catalog are the same in all three.

POST/v1/chat/completionsOpenAI Chat
OpenAI SDK, Cursor, Cline, OpenCode and n8n
POST/v1/messagesAnthropic Messages
Claude Code, Anthropic SDK and Zed
POST/v1/responsesOpenAI Responses
Codex in the terminal and the app

Catalog, balance and status have their own routes too. See the API reference.