Part 5 of the AI Agent Getting Started series: deploy OpenClaw on a VPS, install Node/npm and the CLI, run onboarding, configure a model API, open the Web UI, connect messaging channels, and keep the Agent alive with systemd.
Replay a synthetic 429 retry storm with immediate retries, synchronized exponential backoff, and jitter plus a total budget, then build a safe gateway and agent state machine.
Use three tasks and a runnable offline replay to design constraint-first LLM routing across quality thresholds, cost, TTFT, health, cache affinity, and fallback.
Trace authentication, model mapping, protocol translation, SSE streaming, retries, token billing, and observability to see what an LLM gateway adds beyond a conventional API gateway.
Replay OpenAI, Claude, and Gemini cache bills with a 12,000-token prefix and ten requests. Calculate writes, reads, TTL costs, misses, and break-even points from official pricing.
Agent Skills are more than prompts saved to files. Learn how CLAUDE.md, AGENTS.md, and SKILL.md differ, then inspect a two-call experiment measuring instruction compliance and token cost.
MCP and A2A are both agent protocols, but they solve different problems. Compare tool invocation with agent delegation using the same refund workflow, Agent Cards, Tasks, Artifacts, transports, and security boundaries.
MCP is not a model API or merely a plugin system. Follow a real order lookup to understand MCP hosts, clients, servers, JSON-RPC, stdio, and Streamable HTTP.
Stop malformed or inconsistent AI JSON. Learn the difference between JSON mode and schema-constrained output, with OpenAI, Claude, and Gemini examples plus validation and retry patterns.
Compare OpenAI Responses and Chat Completions, Claude Messages, and Gemini GenerateContent across authentication, messages, tools, streaming, multimodal input, and structured output.
Learn where API keys belong: environment variables, ignored .env files, secret managers, and CI/CD secrets—plus the correct response when a credential reaches Git history.
A successful AI API call can still produce null or empty text. Learn how to inspect content, tool calls, reasoning, finish reasons, streaming events, and protocol-specific response paths.
Does Windsurf support custom Base URLs, OpenAI-compatible APIs, or BYOK? Learn what Cascade's model selector and proxy settings actually do, plus practical alternatives.
Configure Continue 2.0 in VS Code with config.yaml, an OpenAI-compatible apiBase, API key, model roles, and fixes for Chat, Edit, Autocomplete, and Responses API issues.
Configure an OpenAI-compatible Base URL, API key, model, and capabilities in Cline, then control risk and spend with Auto Approve, Checkpoints, .clineignore, and model routing.
Install Qwen Code, configure an OpenAI-compatible Base URL, API key, and model in settings.json or environment variables, then validate and troubleshoot your first agent task.
Configure a third-party OpenAI-compatible API in OpenCode with /connect and opencode.json, add multiple models, protect credentials, and troubleshoot failures.
Configure Cursor BYOK correctly, understand the limits of custom OpenAI-compatible Base URLs, and fix authentication, endpoint, model, and streaming errors.