crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

[FEATURE] Add an OpenUI guide and runnable CrewAI Flow example

Open vishxrad opened this issue 3 months ago • 4 comments

Feature Area

Documentation

Is your feature request related to an existing bug?

N/A

Describe the solution you'd like

Add a dedicated guide and runnable example that show how to render CrewAI Flow responses with OpenUI.

The integration uses CrewAI for the Flow lifecycle, conversation state, and LLM calls. The existing ag-ui-crewai endpoint carries requests and streamed events. OpenUI generates the component prompt, parses and renders OpenUI Lang, applies the UI theme, and sends follow-up or form actions into new CrewAI turns.

The documentation would include:

  • an OpenUI page in the frontend guide
  • links from the frontend overview, Generative UI, A2UI, and Conversational Flows pages
  • Arabic, Korean, and Brazilian Portuguese translations
  • a runnable Python backend and React frontend under docs/examples/openui-crewai
  • chart, follow-up, and validated form examples

Tested versions:

  • CrewAI 1.15.16
  • ag-ui-crewai 0.3.0
  • @openuidev/react-ui 0.13.6
  • @openuidev/react-lang 0.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
  • navigation JSON and diff checks passed
  • browser checks passed for theming, chart rendering, a follow-up LLM turn, form values returning to the Flow, and viewport overflow

Describe alternatives you've considered

Tool-based rendering and A2UI remain useful when the application owns each component or catalog. Building a custom chat shell around the lower-level OpenUI renderer would duplicate the message list, composer, streaming state, and action handling already provided by OpenUI AgentInterface.

Additional context

The example uses the existing CrewAI Flow and AG-UI extension point. Generated OpenUI prompt and library spec files remain ignored build artifacts.

AI-assisted contribution. Maintainers: please apply the required llm-generated label because outside contributors cannot set repository labels.

Willingness to Contribute

Yes, I'd be happy to submit a pull request.

vishxrad avatar Aug 19 '26 10:08 vishxrad

This is a third-party product listing (OpenUI), not a CrewAI docs gap.

CrewAI already documents the frontend contract: Flows over AG-UI with CopilotKit, plus tool-based generative UI, agentic generative UI, and A2UI. See https://docs.crewai.com/en/guides/frontend/overview. Pointing OpenUI's agUIAdapter() at ag-ui-crewai can live in OpenUI's own docs. Commercial frontend integrations belong off this tracker.

Vidit-Ostwal avatar Aug 25 '26 10:08 Vidit-Ostwal

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 15 '26 12:10 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 20 '26 12:10 github-actions[bot]

Thanks for reaching out! This request is a better fit for the CrewAI Community Tools repository.

Please open an issue there and submit any corresponding pull request there as well.

github-actions[bot] avatar Nov 23 '26 05:11 github-actions[bot]