Repository navigation
feat(showcase/ag2): port frontend-variant demos for parity - #4264
Closed
AlemTuzlak wants to merge 2 commits into
Closed
AlemTuzlak wants to merge 2 commits into
AlemTuzlak wants to merge 2 commits into
Conversation
…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.
AlemTuzlak
requested review from
jpr5,
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
April 24, 2026 14:55
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
7 tasks
Contributor
|
Superseded by #4280 (omnibus parity PR) |
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`)
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.pyConversableAgent with frontend-only variations.Ported (13)
prebuilt-sidebar,prebuilt-popup— pre-built chat layoutschat-slots— slot-overridden CopilotChatchat-customization-css— scoped CSS themingheadless-simple— bespoke chat on useAgent + useComponentreadonly-state-agent-context— useAgentContextreasoning-default-render— built-in CopilotChatReasoningMessagetool-rendering-default-catchall— useDefaultRenderTool()tool-rendering-custom-catchall— branded wildcard rendererfrontend-tools— sync useFrontendToolfrontend-tools-async— async useFrontendToolhitl-in-app— async frontend tool + app-level modalhitl-in-chat— useHumanInTheLoop + time pickerEach demo has: page(+ support components), QA checklist, e2e smoke spec, manifest entry with full
highlightpaths.Skipped (missing primitive)
gen-ui-interrupt— needs LangGraph-styleinterrupt()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
AGUIStreammounts oneConversableAgentat 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 inPARITY_NOTES.mdas 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, expandedsubagents.Notes
test-and-check-packageslefthook is unrelated to showcase/ag2.Test plan
pnpm --filter @copilotkit/showcase-ag2 build(requires next-env + full install)qa/*.md)