# Better Agent LLM Index ## Documentation # Docs - Get started: undefined - [Introduction](/docs/get-started/introduction) - [Installation](/docs/get-started/installation): Set up Better Agent in your project. - [Usage](/docs/get-started/usage): Create your first agent app. - [llms.txt](/docs/get-started/llms-txt): Use the Better Agent docs as plain text for LLM tools. - Concepts: undefined - [Agent](/docs/concepts/agent): The fundamental building block of Better Agent. - [Tools](/docs/concepts/tools): Let agents take structured actions. - [Human in the Loop](/docs/concepts/hil): Require human approval before a tool runs. - [MCP](/docs/concepts/mcp): Use MCP to connect agents to external tools and data. - [Structured Output](/docs/concepts/structured-output): Get typed, validated responses from your agents. - [Events](/docs/concepts/events): Observe what happens during an agent run in real time. - [Plugins](/docs/concepts/plugins): Extend Better Agent with cross-agent behavior. - [API](/docs/concepts/api): Expose your Better Agent app over HTTP. - [Client](/docs/concepts/client): Type-safe HTTP client for Better Agent servers. - [Persistence](/docs/concepts/persistence): Store and replay conversation history across runs. - [Providers](/docs/concepts/providers): Connect Better Agent to model APIs. - [CLI](/docs/concepts/cli): Generate portable client types from your Better Agent app. - [Errors](/docs/concepts/errors): Understand Better Agent error codes, shapes, and recovery. - [TypeScript](/docs/concepts/typescript): End-to-end type inference from server to client. - Providers: undefined - [OpenAI](/docs/providers/openai) - [xAI](/docs/providers/xai) - [Anthropic](/docs/providers/anthropic) - Integrations: undefined - Full stack: undefined - [Astro](/docs/integrations/full-stack/astro): Build Better Agent apps in Astro. - [Remix](/docs/integrations/full-stack/remix): Build Better Agent apps in Remix. - [Next.js](/docs/integrations/full-stack/nextjs): Build Better Agent apps in Next.js. - [Nuxt](/docs/integrations/full-stack/nuxt): Build Better Agent apps in Nuxt. - [SvelteKit](/docs/integrations/full-stack/sveltekit): Build Better Agent apps in SvelteKit. - [SolidStart](/docs/integrations/full-stack/solidstart): Build Better Agent apps in SolidStart. - [TanStack Start](/docs/integrations/full-stack/tanstack-start): Build Better Agent apps in TanStack Start. - Backend: undefined - [Hono](/docs/integrations/backend/hono): Integrate Better Agent with Hono. - [Fastify](/docs/integrations/backend/fastify): Integrate Better Agent with Fastify. - [Express](/docs/integrations/backend/express): Integrate Better Agent with Express. - [Elysia](/docs/integrations/backend/elysia): Integrate Better Agent with Elysia. - [NestJS](/docs/integrations/backend/nestjs): Integrate Better Agent with NestJS. - Plugins: undefined - [Rate Limit](/docs/plugins/rate-limit): Rate limiting plugin using windowed counters with optional custom storage. - [Auth](/docs/plugins/auth): API key auth plugin with static keys or custom validation. - [Sandbox](/docs/plugins/sandbox): Give your agents a real workspace to run code, edit files, and preview apps. - [IP Allowlist](/docs/plugins/ip-allowlist): IP allowlist plugin with exact IPs, CIDR ranges, and proxy-aware resolution. - [Logging](/docs/plugins/logging): Structured runtime logging plugin with filtering, redaction, and custom formatting. ## Cookbook # Docs - [Build a Human-in-the-Loop Chat](/cookbook/build-a-human-in-the-loop-chat): Build a chat app that pauses risky actions for approval. - [Build a RAG Chat](/cookbook/build-a-rag-agent): Build a chat app that retrieves context before answering. - [Build a Structured Extraction Pipeline](/cookbook/build-a-structured-extraction-pipeline): Turn free-form text into typed structured data. - [Build an MCP Chat](/cookbook/build-an-mcp-chat): Build a chat app that uses tools from an MCP server.