cd /news/ai-agents/inspector-for-ai-agents-finally-make… · home topics ai-agents article
[ARTICLE · art-130424] src=promptcube3.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Inspector for AI agents finally makes debugging less of a black box

CopilotKit released Inspector, a debugging tool for AI agents that surfaces every event between the agent and the frontend in real-time and links failures directly to the event that caused them. The tool is built into the CopilotKit provider and active by default in development builds for React, Vue, and Angular, and connects to CopilotKit Intelligence, which analyzes saved threads to generate editable SKILL.md files stored in Learning containers scoped to a single user, a team, or the entire organization. Inspector is hard-coded to stay out of production and server rendering, and includes a Playground for forking saved conversations to test alternate paths.

by read3 min views5 publishedSep 15, 2026
Inspector for AI agents finally makes debugging less of a black box
Image: Promptcube3 (auto-discovered)

Debugging AI agents is a nightmare because everything happens in a stream—tool calls, subagent delegation, and long-running processes all blur together. The new Inspector tool from CopilotKit tries to solve this by surfacing every event between the agent and the frontend in real-time. It essentially links failures directly to the event that caused them and includes a Playground where you can fork saved conversations to test different paths without polluting your actual app's chat history.

The whole system relies on the AG-UI (Agent-User Interaction Protocol) to connect agents to the UI. The most interesting part is the connection to CopilotKit Intelligence, which claims to enable "self-learning." It analyzes patterns across saved threads and generates SKILL.md files. You have to review and edit these before they ship, but it's an attempt to turn user interactions into permanent agent skills.

How to get it running #

You don't actually install the Inspector separately; it's baked into the CopilotKit provider and active by default in development builds. It supports React, Vue, and Angular.

To start a fresh project, use:

npx copilotkit@latest create

If you're using the React core, it looks like this:

import { CopilotKit } from "@copilotkit/react-core/v2";

If the Inspector is getting in your way, you can kill it using the enableInspector prop. This works the same across all three supported frameworks:

provideCopilotKit({ runtimeUrl: "/api/copilotkit", enableInspector: false })

One detail to note: the Inspector is hard-coded to stay out of production and server rendering, so even if you set the flag to true, it won't leak into your live environment.

The "Automatic Learning" loop #

The workflow here is Threads → Insights → Skills → Agent. The system scans the runs behind your saved threads, identifies recurring patterns, and writes them into a SKILL.md file.

These are stored in Learning containers, which let you control whether the learned skill applies to a single user, a specific team, or the entire organization. For instance, if users constantly have to correct an agent on how to schedule meetings (e.g., "check calendars but don't book without asking"), the system identifies that pattern and creates meeting-scheduling/SKILL.md. Once you approve it, the agent applies that logic to future runs.

Using the Playground for edge cases #

The Playground is basically an isolated tab that hits your actual app runtime. It's a decent way to test weird edge cases or throw junk at the agent without ruining your actual conversation logs.

The key feature here is the ability to fork a stored conversation into the Playground. You can pick up exactly where a previous session stopped and try a different prompt direction to see if you can fix a failure. Just keep in mind that Playground threads are volatile and disappear when your local session ends, unless you have CopilotKit Intelligence connected to persist them.

Next DEV.to needs a one-tap translation toggle for comments to actually feel global →

All Replies (4) #

I'm skeptical this actually works. Does this tool handle the 404 errors I get with most auto-apply scripts?

I want to try this tonight. Does this actually work with LangGraph or is it just for custom setups?

── more in #ai-agents 4 stories · sorted by recency
── more on @copilotkit 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/inspector-for-ai-age…] indexed:0 read:3min 2026-09-15 ·