genui  by flutter

Generative UI SDK for Flutter

Created 2 months ago
537 stars

Top 59.2% on SourcePulse

GitHubView on GitHub
Project Summary

Generative UI SDK for Flutter (flutter_genui) addresses the challenge of replacing static, text-based outputs from LLMs with dynamic, interactive graphical interfaces within Flutter applications. It targets Flutter developers aiming to enhance chatbots and agent-based user experiences by increasing interaction bandwidth and simplifying the integration of LLM-generated UIs, moving beyond traditional text-only conversations.

How It Works

The SDK employs a JSON-based format to define and compose UIs using a developer's existing Flutter widget catalog. It facilitates a high-bandwidth interaction loop by feeding UI state changes back to the LLM agent, enabling dynamic responses and actions. This approach aims to eliminate custom middleware between LLM agents and the UI layer, streamlining development and improving user satisfaction.

Quick Start & Requirements

Usage details are available in packages/flutter_genui/USAGE.md. Specific installation commands, prerequisites (e.g., GPU, Python versions), or setup time estimates are not detailed in the provided text.

Highlighted Details

  • Enables LLMs to render interactive graphical UIs (e.g., carousels, forms with sliders, checkboxes) instead of text descriptions.
  • Leverages existing Flutter widget catalogs for brand and design consistency.
  • Supports interactive state feedback, allowing UI changes to influence agent behavior.
  • Aims for framework agnosticism and integration with any LLM capable of structured JSON output.
  • Future considerations include Genkit integration, streaming UI, and Dart Bytecode support.

Maintenance & Community

Contribution guidelines are available in CONTRIBUTING.md. No specific community channels, notable contributors, or sponsorships are mentioned in the provided text.

Licensing & Compatibility

The license type and compatibility notes for commercial use or closed-source linking are not specified in the provided text.

Limitations & Caveats

The project is explicitly marked as "Highly Experimental," indicating that APIs are subject to drastic changes. All core packages are currently in a "work in progress" state.

Health Check
Last Commit

22 hours ago

Responsiveness

Inactive

Pull Requests (30d)
120
Issues (30d)
49
Star History
539 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.