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 community tool your app already uses for OpenAI-compatible calls. If you need Claude Code, Cursor, OpenCode, or OpenClaw, use the dedicated guides for Claude Code, Cursor, OpenCode, or OpenClaw instead.

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

Shared OpenAI-compatible values

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

These values apply to LangChain, LlamaIndex, PydanticAI, TanStack AI, Vercel AI SDK, Aider, Cline, and Roo Code. The n8n community node uses the same GonkaGate API surface, but the package setup is documented separately below.

Use a fresh model ID from GET /v1/models before you send real traffic on the OpenAI-compatible path.

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.

Community 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.
Roo Code
Best for
Roo's OpenAI-compatible provider calling GonkaGate. Covers the provider switch plus a read-only validation step.

Community integrations

n8n
Best for
Self-hosted n8n that should use the official GonkaGate community node package instead of piecing together generic OpenAI-compatible nodes by hand.

Before you change the rest of your app

  • Verify one small request or status check first.
  • If requests still fail, confirm that the wrapper or tool is still using its OpenAI-compatible path, or the curated Anthropic-compatible Claude Code 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?