LLM App Dev — AI Agents, Skills & Tools
Building production LLM applications — structured outputs, provider fallbacks, caching, streaming, and SDKs covered across guides, tools, and skills.
66 items
LLM Integration Engineer
Use this agent to add an LLM feature to an application and make it production-grade — typed/structured output, streaming, provider fallback and retries, caching, and cost/latency controls. Examples — "add an AI summary endpoint to our app", "our LLM calls return unparseable JSON and break, make them reliable", "add streaming and a fallback provider to our chat feature".
API Error Contract Designer
Design or normalize an API's error contract so clients get stable machine-readable codes, safe human messages, field-level validation details, correlation IDs, and consistent HTTP semantics. Use when adding endpoints, replacing ad hoc error strings, documenting SDK behavior, or fixing clients that branch on fragile message text.
LLM Output Schema Generator
Turn an example of the data you want from an LLM into a precise, validated output schema (Pydantic / Zod / JSON Schema) and wire it into structured-output calls. Use when adding typed LLM output, replacing brittle JSON parsing, or designing an extraction shape.
Provider Fallback Wrapper
Wrap LLM calls so a provider outage, rate limit, or timeout degrades gracefully — with multi-provider fallback, bounded retries with backoff, and timeouts. Use when an app depends on a single model/provider and needs production resilience.
Model Router Designer
Design a model router that sends each LLM request to the cheapest model that can handle it and escalates only the hard cases to the strongest — cutting cost and latency without tanking quality, gated by an eval set so the savings don't come from silently worse answers. Use when one expensive model serves all traffic (most of it easy), when LLM cost or latency is too high, or when balancing quality against spend across a range of request difficulty.
Semantic Cache Designer
Design a semantic cache for LLM responses — serve a cached answer when a new query is similar enough to a past one — to cut cost and latency on repetitive traffic, with the similarity threshold calibrated on real query pairs and a cache key that prevents cross-user/model leaks. Use when an LLM app sees many near-duplicate prompts (FAQs, support, search), when token spend on repetitive queries is high, or when latency on common questions matters.
Token Usage Profiler
Measure and attribute LLM token usage and cost across an app — input vs output tokens by feature, route, model, and tenant — then rank the waste and the specific lever to cut it. Use when LLM spend is high or climbing with no clear cause, before scaling a feature that calls a model, or when you need per-feature or per-tenant cost attribution for billing or budgets.
LLM API Pricing in 2026: Every Major Model Compared
Per-million-token prices for Claude, GPT, Gemini, DeepSeek, Mistral, and Grok — plus caching and batch discounts — verified against vendor pricing pages.
LLM Context Windows Compared (2026)
Context windows and max output tokens across Claude, GPT, Gemini, DeepSeek, and Grok — the million-token era, what it costs, and what fits in practice.
API Rate Limiting Design: Algorithms, Distributed State & LLM Quotas
Design production API rate limiting with token bucket vs sliding window algorithms, atomic Redis state, per-tier keys, 429 headers, and LLM token budgets.
Idempotency Keys: Design APIs That Are Safe to Retry
Design idempotent API mutations with client keys, atomic claims, response replay, payload fingerprints, in-flight handling, TTLs, and downstream safety.
The Best LLM Inference Providers in 2026: Groq vs Together vs Fireworks vs Baseten and More
Groq, fal, Cerebras, Together AI, Fireworks, Applied Compute, Baseten, Modal and Replicate compared on latency, post-training, custom GPUs and compatibility.
LiteLLM vs OpenRouter: One API for Every Model (2026)
LiteLLM vs OpenRouter compared — self-hosted gateway library vs hosted model marketplace. Keys, billing, control, and which unified LLM layer fits.
Mastra vs LangChain (2026): TypeScript Agent Frameworks Compared
Mastra vs LangChain.js and LangGraph.js in 2026: license, workflows, memory, evals, observability and deployment compared, plus where the Vercel AI SDK fits.
Calling Any Model: Unified LLM Gateways & SDKs in 2026
LiteLLM, OpenRouter, Vercel AI Gateway, Cloudflare AI Gateway and Portkey compared: hosting, fee model, fallback config, caching, keys and latency overhead.
Production Model Routing: Cut Cost Without Hiding Regressions
Design an LLM model router with capability gates, difficulty signals, cascades, fallbacks, per-route evals, shadow traffic, budgets, and safe rollout.
Structured Output vs JSON Mode vs Function Calling: Which to Use in 2026
What JSON mode, function calling and native structured outputs each guarantee, the exact parameters on OpenAI, Claude, Gemini, Ollama and vLLM, with code.
Use Claude Code with Other Models: Gateways, Bedrock, and Third-Party Endpoints
Claude Code with other models: what Anthropic supports (Bedrock, Agent Platform, Foundry, gateways), the model env vars, and third-party endpoint setups.
LLM-as-Judge: Build Evaluators You Can Actually Trust
Design and calibrate LLM-as-judge evaluators — rubrics, pointwise and pairwise scoring, bias controls, human agreement, reliability tests, and CI gates.
10 Best Claude Skills for Building AI Applications
Compare Claude skills for structured output, fallbacks, evals, hallucinations, routing, token cost, semantic caching, PII, guardrails, and tools.
10 Best Claude Skills for API Development
Choose Claude skills for error contracts, idempotency, pagination, limits, webhooks, CORS, GraphQL, OpenAPI, tools, and MCP servers.
9 Best Claude Skills for Prompt Engineering
Compare Claude skills for prompt rewrites, regression harnesses, output schemas, tool definitions, prompt caching, PII redaction, and CLAUDE.md memory.
Claude's Document Skills: Excel, PowerPoint, Word, and PDF
How Anthropic's pre-built document skills let Claude produce real .xlsx, .pptx, .docx, and PDF files — on claude.ai, the API, and in Claude Code.
Claude Skills on claude.ai and the API
How Agent Skills work beyond Claude Code: uploading to claude.ai, the /v1/skills API with code execution, Managed Agents, and the Agent SDK.
Add Image Understanding to Your App
A practical guide to sending images to a vision model and getting reliable, structured results: base64 vs URL, resolution, prompting, cost, and errors.
How to Build a Voice Agent: The STT → LLM → TTS Pipeline
How to build a real-time voice agent: the STT → LLM → TTS pipeline, the latency budget that makes or breaks it, and how to wire each stage.
Agno
An open-source Python framework for agents, teams and workflows, with AgentOS to run them as a service in your own cloud. Formerly Phidata.
Applied Compute
Custom AI model training and inference platform (AC2) for post-training open models, dedicated Blackwell serving, and workload-trained model routers.
BAML
A language for type-safe LLM functions: define prompt and schema in .baml files, generate clients for Python, TypeScript, Go and more, and parse messy output.
Baseten
Production inference platform for ML and LLM models — autoscaling GPU deployments, scale-to-zero, and packaging via the open-source Truss framework.
Cerebras
Cerebras Inference serves open-weight LLMs on wafer-scale chips for very fast output, through an OpenAI-compatible API with a free trial credit.
DeepSeek
DeepSeek is a free AI chat app and a pay-as-you-go API running the V4.1-Flash and V4-Pro models, whose weights are published under the MIT License.
Dify
A visual platform for LLM apps and agentic workflows: canvas-built workflows, a RAG pipeline, sandboxed agents and LLMOps, self-hosted via Docker Compose.
Fireworks AI
Hosted inference for open models: per-token serverless in several speed modes, per-second GPU deployments, training, and OpenAI- and Anthropic-compatible APIs.
Flowise
Open-source, low-code visual builder for LLM apps and AI agents — drag-and-drop to assemble chains, agents, and RAG; self-host or use Flowise Cloud.
Google ADK
Google's open-source, code-first framework for building, evaluating and deploying AI agents, in Python, Java, Go, Kotlin and TypeScript, with any model.
Groq
GroqCloud runs open-weight LLMs on custom LPU hardware for very fast, low-latency inference through an OpenAI-compatible API.
Instructor
A Python library that returns validated Pydantic objects from LLM calls, with validation retries and streaming, across OpenAI, Anthropic, Google and more.
LiteLLM
LiteLLM is an open-source Python SDK and self-hosted AI gateway that calls 100+ LLM providers in the OpenAI format, with keys, budgets and fallbacks.
LlamaParse
LlamaIndex's hosted document platform: Parse turns PDFs, scans and Office files into Markdown or JSON across four tiers, with Extract, Classify and Split.
Mastra
An open-source TypeScript framework for building AI agents, workflows, RAG, and tool-calling, with memory, model routing, and built-in observability.
Mistral OCR
Mistral AI's hosted OCR and document-understanding API: PDFs, Office files and images in, per-page Markdown and structured JSON out, billed per page.
OpenRouter
A hosted gateway to 600+ models from 80+ providers behind one OpenAI-compatible API, with one key, prepaid credits and automatic provider fallback.
Replicate
Run and deploy any open ML model — LLMs, image, video, audio — through one API with pay-per-second billing, and package your own with open-source Cog.
Together AI
A cloud for running, fine-tuning, and deploying open-source models (Llama, DeepSeek, Qwen) via an OpenAI-compatible API plus dedicated GPU endpoints.
Vercel AI SDK
An open-source TypeScript toolkit for building AI apps — unified model API, streaming, structured output, tool calling, and UI hooks.
Add a Streaming LLM Endpoint
Scaffold a token-streaming LLM endpoint — server-side streaming plus the client handler — so responses render incrementally instead of after a long wait.
Scaffold RAG Pipeline
Scaffold a Retrieval-Augmented Generation pipeline — ingestion (load, chunk, embed, upsert) and retrieval (search, rerank, grounded prompt with citations) — fitted to the project's stack.
AI Gateway (LLM Gateway)
An AI gateway is a proxy between your apps and model providers that centralizes keys, routing, fallback, caching, rate limits, logging and cost tracking.
AI Wrapper
An AI wrapper is a product whose core function is a prompt and interface around a third-party model API, such as Claude or GPT, rather than its own model.
Batch Inference
Batch inference processes many LLM requests asynchronously instead of one-at-a-time interactively — typically at ~50% discount via provider batch APIs.
Code Execution (Code Interpreter)
Code execution lets an AI assistant write and run real code in a sandbox, so numbers, files, and charts come from a computation rather than an estimate.
Context Rot
Context rot is the decline in an LLM's ability to recall and use information accurately as the number of tokens in its context window grows.
Context Window
The context window is the maximum text — measured in tokens — an LLM can consider at once: prompt, conversation, documents, and its own output combined.
Frontier Model
A frontier model is one of the most capable AI models available — the leading edge from labs like Anthropic, OpenAI, and Google, defining the state of the art.
Token (LLM)
A token is the unit LLMs read and write — a word fragment of roughly 3–4 characters in English. Models are priced, limited, and measured in tokens, not words.
Model Routing
Model routing sends each request to the cheapest model that can handle it, escalating only hard cases to a stronger model — cutting cost and latency.
Prompt Caching
Prompt caching reuses the computed state of a repeated prompt prefix across requests — dramatically cutting cost and time-to-first-token for stable context.
Reasoning Model
A reasoning model is an LLM trained to think before answering — generating internal reasoning tokens it can spend adaptively on hard problems.
Semantic Caching
Semantic caching reuses LLM responses keyed by meaning rather than exact text, matching queries by embedding similarity to cut cost and latency.
Speech-to-Text (STT)
Speech-to-text (STT), or automatic speech recognition, converts spoken audio into written text, often with timestamps and speaker labels, in batch or live.
Structured Output
Structured output makes an LLM return data in a guaranteed shape — JSON matching your schema — so code can consume model responses without parsing prose.
Temperature
Temperature controls how random an LLM's token choices are: low values make output focused and repeatable, high values make it varied and creative.
Text-to-Speech (TTS)
Text-to-speech (TTS) turns written text into spoken audio: the engine expands numbers and symbols into words, then generates a voice that reads them.
Token Streaming
Token streaming delivers model output incrementally as it's generated — via SSE or websockets — so users see text immediately instead of waiting.
Top-p (Nucleus Sampling)
Top-p sampling restricts an LLM's next-token choices to the smallest set whose probabilities sum to p — cutting the long tail of unlikely tokens adaptively.