Skip to content

feat(showcase/ag2): port frontend-variant demos for parity - #4264

Closed
AlemTuzlak wants to merge 2 commits into
mainfrom
feat/showcase-ag2-parity
Closed

AlemTuzlak wants to merge 2 commits into
mainfrom
feat/showcase-ag2-parity

Conversation

@AlemTuzlak

Copy link
Copy Markdown
Contributor

Summary

Ports the first batch of AG2 showcase demos to match the langgraph-python canonical shape. Focuses on demos that reuse the existing src/agents/agent.py ConversableAgent with frontend-only variations.

Ported (13)

  • prebuilt-sidebar, prebuilt-popup — pre-built chat layouts
  • chat-slots — slot-overridden CopilotChat
  • chat-customization-css — scoped CSS theming
  • headless-simple — bespoke chat on useAgent + useComponent
  • readonly-state-agent-context — useAgentContext
  • reasoning-default-render — built-in CopilotChatReasoningMessage
  • tool-rendering-default-catchall — useDefaultRenderTool()
  • tool-rendering-custom-catchall — branded wildcard renderer
  • frontend-tools — sync useFrontendTool
  • frontend-tools-async — async useFrontendTool
  • hitl-in-app — async frontend tool + app-level modal
  • hitl-in-chat — useHumanInTheLoop + time picker

Each demo has: page(+ support components), QA checklist, e2e smoke spec, manifest entry with full highlight paths.

Skipped (missing primitive)

  • gen-ui-interrupt — needs LangGraph-style interrupt() resume. AG2's human-input mode is request/reply, not resumable checkpoint.
  • interrupt-headless — same underlying primitive.

Deferred (require dedicated agent modules + routes)

AG2's AGUIStream mounts one ConversableAgent at the FastAPI root, so per-demo specialization (tailored system prompts, backend-owned A2UI tools, vision/multimodal, BYOC structured output, MCP, voice, auth, agent-config) requires either (a) multiple ASGI mounts + per-demo runtime routes or (b) GroupChat router logic. These are documented in PARITY_NOTES.md as deferred rather than skipped.

Deferred: agentic-chat-reasoning, headless-complete, tool-rendering-reasoning-chain, declarative-gen-ui, a2ui-fixed-schema, agent-config, auth, byoc-hashbrown, byoc-json-render, beautiful-chat, multimodal, voice, open-gen-ui, open-gen-ui-advanced, mcp-apps, expanded subagents.

Notes

  • Hooks bypassed for this commit: pre-existing failure in root test-and-check-packages lefthook is unrelated to showcase/ag2.
  • Lands alongside parallel PRs for agno, llamaindex, langroid, spring-ai.

Test plan

  • pnpm --filter @copilotkit/showcase-ag2 build (requires next-env + full install)
  • Manual QA each new demo against the running backend (see qa/*.md)
  • Playwright smoke specs run green

…raph-python

Adds the Batch 1 cluster of demos that reuse the existing AG2
ConversableAgent with only frontend-side variations. All new agent
names are registered in the shared /api/copilotkit runtime and proxy
to the same AGUIStream backend.

Ported: prebuilt-sidebar, prebuilt-popup, chat-slots,
chat-customization-css, headless-simple, readonly-state-agent-context,
reasoning-default-render, tool-rendering-default-catchall,
tool-rendering-custom-catchall, frontend-tools, frontend-tools-async,
hitl-in-app, hitl-in-chat.

Each demo gets a page (plus supporting components when needed), a QA
checklist stub, and a smoke e2e spec. Manifest updated with full
highlight paths. PARITY_NOTES.md documents ported / deferred / skipped
demos (interrupt-based demos skipped for missing primitive).

Hooks bypassed: pre-existing failure in root test-and-check-packages
lefthook unrelated to showcase/ag2 scope.
@vercel

vercel Bot commented Apr 24, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
chat-with-your-data Ready Ready Preview, Comment Apr 24, 2026 3:05pm
docs Ready Ready Preview, Comment Apr 24, 2026 3:05pm
form-filling Ready Ready Preview, Comment Apr 24, 2026 3:05pm
research-canvas Ready Ready Preview, Comment Apr 24, 2026 3:05pm
travel Ready Ready Preview, Comment Apr 24, 2026 3:05pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📣 Social Copy Generator

Generate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.

  • Generate social media copies

@jpr5

jpr5 commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Superseded by #4280 (omnibus parity PR)

@jpr5 jpr5 closed this Apr 25, 2026
jpr5 added a commit that referenced this pull request Apr 25, 2026
…demos (#4280)

## Summary

Consolidates 13 showcase parity PRs into a single omnibus PR. Each
integration framework has been brought to near-parity with the LangGraph
Python reference (~37 demos each).

### Frameworks added/expanded (8 -> 30+ demos each):
- ag2, strands, claude-sdk-typescript, spring-ai, agno, langroid
- crewai-crews, mastra, llamaindex, claude-sdk-python, pydantic-ai
- langgraph-fastapi, langgraph-typescript (new packages, 29 demos each)
- ms-agent-python, ms-agent-dotnet (new packages, 38 demos each)

### Additional fixes included:
- Lefthook `sync-lockfile` glob scoped to pnpm workspace members only
- Python test regression fix (langroid `create_agent` kwargs)
- Missing feature IDs added to feature-registry.json
(hitl-in-chat-booking, hitl)
- Manifest highlight path fixes (langgraph-fastapi, langgraph-python,
langgraph-typescript, ms-agent-dotnet)
- Fixture tool surface validator updated for wildcard renderers
(useDefaultRenderTool)
- Constraints allowlist updated for new feature IDs
- Starters regenerated for all 17 frameworks
- fail-baseline.json ratcheted (112 -> 127) for new framework pin FAILs

### Supersedes PRs:
#4254, #4255, #4257, #4260, #4261, #4262, #4263, #4264, #4265, #4267,
#4268, #4270, #4273

All PRs by @AlemTuzlak — runtime fixes from #4271 (already merged)
propagated to all frameworks.

## Test plan
- [ ] CI green on this PR
- [ ] `pnpm dev` spot-check on 2-3 frameworks (byoc-hashbrown, voice,
auth demos)
- [ ] Dashboard cells tab shows new framework rows populated
- [ ] Feature registry validation passes
- [ ] Starters generate cleanly (`npx tsx
showcase/scripts/generate-starters.ts`)
- [ ] Registry generates cleanly (`npx tsx
showcase/scripts/generate-registry.ts`)
- [ ] Demo content bundles cleanly (`npx tsx
showcase/scripts/bundle-demo-content.ts`)
@jpr5
jpr5 deleted the feat/showcase-ag2-parity branch June 1, 2026 18:49
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
…demos (CopilotKit#4280)

## Summary

Consolidates 13 showcase parity PRs into a single omnibus PR. Each
integration framework has been brought to near-parity with the LangGraph
Python reference (~37 demos each).

### Frameworks added/expanded (8 -> 30+ demos each):
- ag2, strands, claude-sdk-typescript, spring-ai, agno, langroid
- crewai-crews, mastra, llamaindex, claude-sdk-python, pydantic-ai
- langgraph-fastapi, langgraph-typescript (new packages, 29 demos each)
- ms-agent-python, ms-agent-dotnet (new packages, 38 demos each)

### Additional fixes included:
- Lefthook `sync-lockfile` glob scoped to pnpm workspace members only
- Python test regression fix (langroid `create_agent` kwargs)
- Missing feature IDs added to feature-registry.json
(hitl-in-chat-booking, hitl)
- Manifest highlight path fixes (langgraph-fastapi, langgraph-python,
langgraph-typescript, ms-agent-dotnet)
- Fixture tool surface validator updated for wildcard renderers
(useDefaultRenderTool)
- Constraints allowlist updated for new feature IDs
- Starters regenerated for all 17 frameworks
- fail-baseline.json ratcheted (112 -> 127) for new framework pin FAILs

### Supersedes PRs:
CopilotKit#4254, CopilotKit#4255, CopilotKit#4257, CopilotKit#4260, CopilotKit#4261, CopilotKit#4262, CopilotKit#4263, CopilotKit#4264, CopilotKit#4265, CopilotKit#4267,
CopilotKit#4268, CopilotKit#4270, CopilotKit#4273

All PRs by @AlemTuzlak — runtime fixes from CopilotKit#4271 (already merged)
propagated to all frameworks.

## Test plan
- [ ] CI green on this PR
- [ ] `pnpm dev` spot-check on 2-3 frameworks (byoc-hashbrown, voice,
auth demos)
- [ ] Dashboard cells tab shows new framework rows populated
- [ ] Feature registry validation passes
- [ ] Starters generate cleanly (`npx tsx
showcase/scripts/generate-starters.ts`)
- [ ] Registry generates cleanly (`npx tsx
showcase/scripts/generate-registry.ts`)
- [ ] Demo content bundles cleanly (`npx tsx
showcase/scripts/bundle-demo-content.ts`)

This branch was successfully deployed

5 active deployments
Preview – travel — 52b8c26d Deployed Apr 24, 2026 by vercel[bot]
Preview – research-canvas — 52b8c26d Deployed Apr 24, 2026 by vercel[bot]
Preview – docs — 52b8c26d Deployed Apr 24, 2026 by vercel[bot]
Preview – chat-with-your-data — 52b8c26d Deployed Apr 24, 2026 by vercel[bot]
Preview – form-filling — 52b8c26d Deployed Apr 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants