Skip to content

feat(frontend): restore agent playground UI on big-agents - #4817

Closed
mmabrouk wants to merge 6 commits into
big-agentsfrom
fe-feat/agent-playground-generation
Closed

mmabrouk wants to merge 6 commits into
big-agentsfrom
fe-feat/agent-playground-generation

Conversation

@mmabrouk

@mmabrouk mmabrouk commented Jun 24, 2026 •

Copy link
Copy Markdown
Member

Context

GitHub marks #4810 as merged, but current big-agents does not contain the agent playground UI/RAG files from fe-feat/agent-playground-generation. Representative files such as web/oss/src/components/AgentChatSlice/AgentChatPanel.tsx and examples/python/RAG_QA_chatbot/backend/agent_loop.py are missing on big-agents, while the branch is still 6 commits ahead.

Changes

Superseded by #4818, which reapplies the same current local UI/RAG files onto a fresh branch based directly on current big-agents.

Tests / notes

#4817 was opened directly from the old Arda branch and is not mergeable against current big-agents. Use #4818 instead.

mmabrouk and others added 6 commits June 19, 2026 21:37
Ports the AgentChatSlice frontend (ai-sdk useChat over the agent /messages
stream) and the RAG_QA_chatbot example onto the current functional agent
branches. See the PR description for the note to Arda.
The agent-chat slice transport relied on the server defaulting to a
stream. The real /messages endpoint only streams when the client sends
Accept: text/event-stream; otherwise it returns a batch JSON body, which
useChat cannot render. Send the SSE Accept header so streamed assistant
replies show up.
Frontend layer for agent workflows, stacked on the agent chat slice (#4780).

Playground:
- AgentChatPanel as the third generation arm; buildAgentRequest + per-entity isAgentMode;
  multi-session tabs, attachments, conversation rewind; streaming over the v6 /messages
  contract (SSE).
- Rendering: markdown (tables, headings, code highlight, LaTeX), collapsible thinking,
  tool cards, streamed usage/cost, failed-run error surfaced from the trace.
- Session history picker; open-a-session-from-observability deep link.

Observability:
- Sessions table renders cell data (page-store context) + real height + id truncation.
- Agent reply shown in Last output, session-drawer conversation, and Traces Outputs
  (read the nested agent span, not the root's streamed-generator repr).
- Open-in-Playground replays an agent run from its root span (agent chat, not completion).

Agent config controls are taken verbatim from #4775; AgentConfigControl additionally
wires gatewayTools (Composio) into the tool picker (2-line delta on top of #4775).
@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jun 24, 2026
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Jun 24, 2026 2:30pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 577d4bd5-5b9b-49de-89bb-4130e2ea9e36

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fe-feat/agent-playground-generation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

1 active deployment
Preview — 99554286 Deployed Jun 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature frontend size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants