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
api_key = gp-your-api-key
base_url = https://api.gonkagate.com/v1
model = current GonkaGate model IDOnly 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.
- 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.
Coding 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
Cursor
- Best for
- GonkaGate inside Cursor through the OpenAI settings path. Covers base URL override, manual model registration, and a first validation prompt.
- Docs
- Cursor 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
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
- 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.
- OpenClaw integration guide if your setup follows the separate OpenClaw path.
Was this page helpful?