Overview

The Built-in Agent is CopilotKit's simplest agent option, i.e what you get "built-in". It connects directly to an LLM with full support for tools, generative UI, shared state, and all CopilotKit features — without requiring an external agent framework.

It supports most popular models from OpenAI, Anthropic, Google, and AI-SDK defined models out of the box

When to use Built-in Agent

  • Quick setup — no external agent framework to configure or deploy
  • Chat + tools — your use case is primarily conversational with frontend and server tools
  • Direct model access — you want to use OpenAI, Anthropic, Google, or AI-SDK models directly
Info

If you need more control over your agent loop, consider using an agent framework instead.

Features

Getting Started

Head to the Quickstart to set up a working Built-in Agent in minutes.

2087950ee