Sep 10One Agent, Three Surfaces
Copilot Kit Logo
Intro to AI Agents
By Eli Berman and Nathan Tarbert
August 7, 2025

The Agent landscape can easily feel like alphabet soup (LLM's, RAG, MCP, A2A, AG-UI, LangGraph, Tavily, etc.)

How do you make sense of it all?

We've put together this guide for those trying to understand agents as you onboard yourself into the agent ecosystem.

Together, let's simplify everything in hopes that this useful guide will help you navigate through the AI agent ecosystem.

__wf_reserved_inherit

What are AI Agents?
We like to think of them like mini-coworkers embedded in your product that have the ability to complete complex tasks.

__wf_reserved_inherit

Visualizing the layers, and where agents fit in might be one of the most important factors in understanding how all of the pieces fit together.
Consider four layers:

  • LLM: This is the brain of the agent
  • Frameworks: Agent memory, planning and recursion
  • Tools: This extends the agents capabilities via API's and services
  • Application or UX layer: This is where users interact with agents
__wf_reserved_inherit

Think of a triangle with three points, as the agent stack.

  • MCP: Giving agents contexts and tools
  • A2A or ACP: Agents communicating with agents
  • AG-UI: Bringing agents to the frontend
__wf_reserved_inherit

What is AG-UI?

AG-UI takes agents from backend automation to user-facing applications and brings structure, interactivity, standardization, and reactivity to the agent-powered frontend.

__wf_reserved_inherit

The next question is, what can you build with agents?

Backend Automations:

  • Backend Automations: Trigger agents via API or cron for background workflows
  • Replace scripts with dynamic decision making logic

Fullstack Agentic Applications:

  • Agents embedded directly in your UI, interacting live with users
  • Real-time reasoning + frontend control via AG-UI or similar protocol
__wf_reserved_inherit

Concepts Worth Mastering with four examples:

Retrieval-Augmented Generation (RAG):

  • An AI framework that combines the strengths of information retrieval and generative language models.

Context Engineering:

  • Designing systems that decide what information an AI model sees before it generates a response.

Prompt Engineering:

  • Designing input prompts to effectively interact with AI models, especially LLMs like GPT.

Vibe Coding:

  • Using AI to generate, refine, and debug code.

The more you master these layers, the more control you have over agentic behavior!

__wf_reserved_inherit

Get your hands on these tools and start building!

__wf_reserved_inherit

Let's answer why the agent stack matters.
Autonomous agents will:

  • Replace entire SaaS workflows
  • Supercharge dev productivity
  • Build entirely new UX paradigms

The agent stack and ecosystem turns raw AI into usable, interactive products by connecting reasoning (LLMs), memory and planning (frameworks), actions (tools), and user interfaces (apps).

__wf_reserved_inherit
__wf_reserved_inherit

Top posts

See All
aimock: Deterministic Mock Infra for AI Apps
Eli Berman August 14, 2026
aimock: Deterministic Mock Infra for AI Appsaimock is open-source mock infrastructure for every AI service your app talks to — LLMs, MCP tools, vector DBs, image models, TTS, and more. Write a JSON fixture, run npx aimock, point your API URL at localhost. Tests run offline in milliseconds and are completely deterministic, so zero tokens burned. Now at 1M+ weekly installs and 700+ stars, quietly powering CI at OpenClaw, TanStack, Mastra and the AG-UI protocol. From the team at CopilotKit.
Building a Production-Ready Slack Agent with Channels SDK
Nathan Tarbert and Anmol BaranwalAugust 13, 2026
Building a Production-Ready Slack Agent with Channels SDKWatch Mike Ryan (CopilotKit Engineer) build a production-ready Slack agent, using Mastra, end to end with the Channels SDK. It's the open-source library that brings any AG-UI agent into Slack, Teams, Discord, WhatsApp, and more chat platforms. Learn how an agent goes from a message in a channel to a real response, with tools, rich native messages, and durable memory across a thread.
Claude Managed Agents are now AG-UI compatible
Eli Berman August 12, 2026
Claude Managed Agents are now AG-UI compatibleAnthropic just shipped a full AG-UI integration for Claude Managed Agents (CMA), so you can drop a Managed Agent into any AG-UI-compatible frontend without gluing together your own transport, state sync, and UI primitives. That means React, React Native, Next.js, and Angular on the web, plus Slack, Teams, and other messaging surfaces via the Channels SDK — all with generative UI, streaming, tool calls, and stateful sessions. Everything is open source. Here's where to start and how to ship.
Are you ready?

Stay in the know

Subscribe to our blog and get updates on CopilotKit in your inbox.