Skip to main content

Framework and Tool Guides

Choose the GonkaGate guide for your framework or coding tool.

Choose the guide for the wrapper or coding tool your app already uses for OpenAI-compatible calls. Every guide on this page uses the same GonkaGate connection values.

If you are wiring the raw OpenAI SDK directly, use OpenAI SDK Compatibility instead.

Shared connection values

Shared connection values
api_key = gp-your-api-key
base_url = https://api.gonkagate.com/v1
model = current GonkaGate model ID

Only the configuration location changes from guide to guide. Use a fresh model ID from GET /v1/models before you send real traffic.

Framework guides

LangChain
Best for
Apps already using `ChatOpenAI` in Python or TypeScript. Keeps the wrapper and only swaps the connection values.
LlamaIndex
Best for
Apps already using the OpenAI LLM wrapper or `Settings.llm`. Focuses on the narrow `OpenAI(...)` configuration path.
PydanticAI
Best for
Apps already using `OpenAIProvider` and `OpenAIChatModel`. Covers the provider and model swap, not broader agent design.
TanStack AI
Best for
Apps already following TanStack chat patterns. Covers the OpenAI adapter plus the server-route wiring TanStack needs.
Vercel AI SDK
Best for
Apps already using AI SDK primitives such as `streamText`. Covers the OpenAI-compatible provider setup, not the raw `openai` client.

Coding tool guides

Aider
Best for
Local repo chat sessions through GonkaGate. Covers a one-session CLI command or a repo-local config file.
Cline
Best for
GonkaGate inside the VS Code assistant flow. Covers provider setup plus a first validation prompt.
Cursor
Best for
GonkaGate inside Cursor through the OpenAI settings path. Covers base URL override, manual model registration, and a first validation prompt.
Roo Code
Best for
Roo's OpenAI-compatible provider calling GonkaGate. Covers the provider switch plus a read-only validation step.

Before you change the rest of your app

  • Verify one small read-only request first.
  • If requests still fail, confirm that the wrapper or tool is still using its OpenAI-compatible path.
  • These guides cover the wrapper or tool layer. For the raw SDK path, full migration steps, or exact request fields, use the pages below.

See also

Was this page helpful?