For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: An agent run steered inside its replies: a 3 question brief, a checkbox plan with skip and retry, a mid run fork and a ticket handoff
When to use
- A full page assistant chat, new chat welcome screen or 2 model comparison inside an AI product
- A copilot docked beside the page it works on, or opened from a launcher in the page corner
- Answers that show the work behind them: sources read, tool steps, plans to approve and run cost
When not to use
- Many runs triaged at once in status groups with search and an attention filter: use the Agent Run Queue block
- A read only narration of one run with Summary, Detailed and Raw log views: use the Live Run Feed block
- The product layout around the chat: a sidebar of threads, workspaces and account menus: use the App Shell blocks
- A plain overlay chat panel opened from a button, with suggestion chips and a composer: use the Sheet blocks
- A highlighted snippet with a filename header and copy button, outside any conversation: use the Code Block component
Agent notes
- Replace
SOURCES,PLAN_STEPS,FORK_CHOICES,OWNERSandMODELSin data.ts; Attach offersPICKABLE_FILESin place of a real file picker - Each plan step lands on its
runMstimer andstep_comparefails its first run by design throughfailure; call your agent tools there onTaskCreateonly setstaskCreatedand queuesCREATED_REPLY, andonArtifactDownloadonly fires atoast; no tracker or file store is called- Each
AiChatroot sizes itself to the viewport withh-svh, ormin-h-svhin ai-chat-5; give it your layout's height inside an app shell - Every reply is canned content from the block's data file, played back on
setTimeoutandsetIntervaltimers; stream your model's output there instead
Third-party API docs
- Sonner v2: API reference, docs
- Shiki v4: API reference, docs, through ReUI Code Block
https://reui.io/blocks/ai-agents/ai-chat/ai-chat-6.mdget_block("ai-chat-6")npx shadcn@latest add @reui/ai-chat-6Shadcn Components in the Agentic Task Panel Block
Dependencies
- sonner
Shadcn Agentic Task Panel Block
Agentic side panel where the answers carry the controls. Part of the ReUI Shadcn AI & Agents AI Chat blocks collection.
A docked AI panel that runs a task end to end: confirm which workspace sources and attached files the agent may read, edit and run an ordered plan step by step, retry a step that fails, answer the question the agent raises mid run to drop a branch from its own plan, then assign the finished work as a ticket with the files the run produced. Model picker, live run status in the header, and a rewind whenever the context changes.
It is composed from Attachment, Avatar, Badge, Bubble, Button, Card, Checkbox, Code Block, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Agentic Task Panel Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn AI & Agents AI Chat blocks to assemble a full screen instead of a single section.
All Shadcn AI & Agents AI Chat Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Copilot Shell AI copilot chat surface with streaming transcript and recent chats
- Docked Assistant Docked AI assistant chat panel beside a page with insert into draft
- Prompt Starter Welcome AI chat welcome screen with prompt starters and a docked composer
- Quote Reply Sidebar Floating right chat sidebar that pushes the page and replies to a quoted sentence
- Connected Apps Chat AI chat welcome screen where connected work apps set the answer scope
- Model Comparison Split pane model comparison running one prompt against two AI models
- Voice Assistant Panel Docked voice first assistant panel that answers in a different shape each time
- Branching Thread Branching AI chat thread with reply versions, cited sources and code artifacts
- Structured Answers AI chat welcome screen with scoped sources and structured answers
- Answer Receipts AI chat stage with framed answer receipts on a live dot field
- Docs Support Assistant Ask AI docs support panel that shows the knowledge base being read
- Corner Chat Popup Corner AI chat popup with history, expand and page context
Related Shadcn AI & Agents Block Categories
- Agent Activity (5) Agent run views, from live step feeds and approvals to research traces, MCP call tables, and run reports.
- AI Usage (4) Spend planning and month to date spend views, edge AI node fleets and local model settings for AI product workspaces.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Agentic Task Panel block?
Use it for an agent run steered inside its replies: a 3 question brief, a checkbox plan with skip and retry, a mid run fork and a ticket handoff.
The AI Chat category fits:
- A full page assistant chat, new chat welcome screen or 2 model comparison inside an AI product
- A copilot docked beside the page it works on, or opened from a launcher in the page corner
- Answers that show the work behind them: sources read, tool steps, plans to approve and run cost
For many runs triaged at once in status groups with search and an attention filter, use the Agent Run Queue block. For a read only narration of one run with Summary, Detailed and Raw log views, use the Live Run Feed block. For the product layout around the chat: a sidebar of threads, workspaces and account menus, use the App Shell blocks. For a plain overlay chat panel opened from a button, with suggestion chips and a composer, use the Sheet blocks. For a highlighted snippet with a filename header and copy button, outside any conversation, use the Code Block component.
What is the Agentic Task Panel block built with?
Can I restyle the Agentic Task Panel block?
How should I use Shadcn ai chat blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.