[FEATURE] Document and demonstrate OpenUI with CrewAI flows
Feature Area
Documentation
Is your feature request related to an existing bug?
N/A
Describe the solution you'd like
Add a runnable CrewAI and OpenUI example plus a guide in the frontend documentation.
CrewAI should own the Flow lifecycle, conversation state, and LLM turns. The existing ag-ui-crewai endpoint should carry the request and streamed events. OpenUI should own the generated component prompt, OpenUI Lang parser and renderer, theme, follow-up actions, and form submissions.
The example should use OpenUI AgentInterface with agUIAdapter() against a CrewAI Flow. It should demonstrate a model-generated chart, follow-up choices that create a new LLM turn, and a validated form whose values return to the same conversation. The documentation should position OpenUI in the generative UI spectrum and link it from the frontend overview, Generative UI, A2UI, and Conversational Flows pages.
Tested versions:
- CrewAI 1.15.16
ag-ui-crewai0.3.0@openuidev/react-ui0.13.6@openuidev/react-lang0.2.11
Validation completed:
- 4 backend tests passed
- 3 frontend tests passed
- TypeScript and Vite production build passed
- OpenUI prompt and library spec generation passed
- MDX parsing, navigation JSON, and internal-link checks passed
- Live browser checks passed for theme rendering, a generated chart, a follow-up LLM turn, and form values returning to the Flow
- Viewport regression checks passed with no horizontal overflow or clipped chart content
Describe alternatives you've considered
Tool-based rendering and A2UI remain appropriate when the application owns each component or catalog. A custom chat shell around the lower-level OpenUI renderer would duplicate message, composer, streaming, and action behavior already provided by AgentInterface.
Additional context
The contribution belongs in CrewAI because it uses the existing Flow and AG-UI extension point and documents another frontend rendering path. Generated OpenUI prompt and spec files remain build artifacts and are excluded from the contribution.
Implementation PR: vishxrad/crewAI#1
This issue was prepared with an AI coding assistant. Please apply the required llm-generated label; outside contributors cannot set labels in this repository.
Willingness to Contribute
Yes, I'd be happy to submit a pull request.
Closing this upstream publication because the requested review target is the fork. The implementation will remain available in the fork for review, and a separate upstream submission can be opened later.
Reopening this issue to track the documentation integration. The implementation and validation are available in https://github.com/vishxrad/crewAI/pull/1.
Closing as a duplicate of #7046.