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
api_key = gp-your-api-key
base_url = https://api.gonkagate.com/v1
model = current GonkaGate model IDThese 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.
- Docs
- LangChain guide
LlamaIndex
- Best for
- Apps already using the OpenAI LLM wrapper or `Settings.llm`. Focuses on the narrow `OpenAI(...)` configuration path.
- Docs
- LlamaIndex guide
PydanticAI
- Best for
- Apps already using `OpenAIProvider` and `OpenAIChatModel`. Covers the provider and model swap, not broader agent design.
- Docs
- PydanticAI guide
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.
- Docs
- Aider guide
Cline
- Best for
- GonkaGate inside the VS Code assistant flow. Covers provider setup plus a first validation prompt.
- Docs
- Cline guide
Roo Code
- Best for
- Roo's OpenAI-compatible provider calling GonkaGate. Covers the provider switch plus a read-only validation step.
- Docs
- Roo Code guide
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.
- Docs
- n8n guide
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
- GonkaGate Quickstart if you still need your first successful request from scratch.
- OpenAI to GonkaGate Migration Guide if you are switching an existing OpenAI-compatible app end to end.
- API Reference Overview for exact request fields, streaming behavior, and runtime-independent failure policy.
- Claude Code, Cursor, OpenCode, and OpenClaw for current agent-owned setup paths.
Was this page helpful?