Skip to content
Get the AI shot you actually asked for on FramesField — Shot Lab, workflows & real API rates.
agentscamp

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

Agent

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".

sonnet6
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Guide

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.

8m read· Jul 1, 2026· Imtiaz Rayhan
Guide

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.

5m read· Jul 1, 2026· Imtiaz Rayhan
Guide

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.

5m read· Nov 25, 2026· Imtiaz Rayhan
Guide

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.

5m read· Aug 4, 2026· Imtiaz Rayhan
Guide

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.

18m read· Sep 11, 2026· Imtiaz Rayhan
Guide

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.

4m read· Jun 11, 2026· Imtiaz Rayhan
Guide

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.

10m read· Sep 11, 2026· Imtiaz Rayhan
Guide

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.

7m read· Jun 3, 2026· Imtiaz Rayhan
Guide

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.

5m read· Aug 4, 2026· Imtiaz Rayhan
Guide

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.

7m read· Jun 3, 2026· Imtiaz Rayhan
Guide

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.

9m read· Nov 12, 2026· Imtiaz Rayhan
Guide

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.

6m read· Aug 4, 2026· Imtiaz Rayhan
Guide

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.

10m read· Aug 4, 2026· Imtiaz Rayhan
Guide

10 Best Claude Skills for API Development

Choose Claude skills for error contracts, idempotency, pagination, limits, webhooks, CORS, GraphQL, OpenAPI, tools, and MCP servers.

10m read· Aug 4, 2026· Imtiaz Rayhan
Guide

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.

9m read· Oct 8, 2026· Imtiaz Rayhan
Guide

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.

4m read· Jul 18, 2026· Imtiaz Rayhan
Guide

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.

6m read· Jul 18, 2026· Imtiaz Rayhan
Guide

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.

9m read· Jun 20, 2026· Imtiaz Rayhan
Guide

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.

5m read· Jun 4, 2026· Imtiaz Rayhan
Tool

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.

open sourcesdk
Tool

Applied Compute

Custom AI model training and inference platform (AC2) for post-training open models, dedicated Blackwell serving, and workload-trained model routers.

enterpriseplatform
Tool

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.

open sourcesdk
Tool

Baseten

Production inference platform for ML and LLM models — autoscaling GPU deployments, scale-to-zero, and packaging via the open-source Truss framework.

freemiumplatform
Tool

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.

freemiumplatform
Tool

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.

freemiumassistant
Tool

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.

freemiumplatform
Tool

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.

freemiumplatform
Tool

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.

open sourceplatform
Tool

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.

open sourcesdk
Tool

Groq

GroqCloud runs open-weight LLMs on custom LPU hardware for very fast, low-latency inference through an OpenAI-compatible API.

freemiumplatform
Tool

Instructor

A Python library that returns validated Pydantic objects from LLM calls, with validation retries and streaming, across OpenAI, Anthropic, Google and more.

open sourcesdk
Tool

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.

open sourcesdk
Tool

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.

freemiumplatform
Tool

Mastra

An open-source TypeScript framework for building AI agents, workflows, RAG, and tool-calling, with memory, model routing, and built-in observability.

open sourcesdk
Tool

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.

paidplatform
Tool

OpenRouter

A hosted gateway to 600+ models from 80+ providers behind one OpenAI-compatible API, with one key, prepaid credits and automatic provider fallback.

freemiumplatform
Tool

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.

freemiumplatform
Tool

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.

paidplatform
Tool

Vercel AI SDK

An open-source TypeScript toolkit for building AI apps — unified model API, streaming, structured output, tool calling, and UI hooks.

open sourcesdk
Command

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.

/add-streaming-endpoint<the route/feature to stream, or the framework>
Command

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.

/scaffold-rag-pipeline<data source and use case>
Term

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.

Term

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.

Term

Batch Inference

Batch inference processes many LLM requests asynchronously instead of one-at-a-time interactively — typically at ~50% discount via provider batch APIs.

Term

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.

Term

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.

Term

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.

Term

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.

Term

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.

Term

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.

Term

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.

Term

Reasoning Model

A reasoning model is an LLM trained to think before answering — generating internal reasoning tokens it can spend adaptively on hard problems.

Term

Semantic Caching

Semantic caching reuses LLM responses keyed by meaning rather than exact text, matching queries by embedding similarity to cut cost and latency.

Term

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.

Term

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.

Term

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.

Term

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.

Term

Token Streaming

Token streaming delivers model output incrementally as it's generated — via SSE or websockets — so users see text immediately instead of waiting.

Term

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.