Skip to main content

Scaffolding CLI for Agent UI Starter Pack

Project description

Agent UI Starter Pack

A high-performance, zero-dependency A2UI (Agentic-Adaptive User Interface) renderer built with React, TypeScript, and Vite.

🚀 Overview

This project provides a foundational implementation of the A2UI protocol, allowing AI agents to dynamically generate and update user interfaces using a declarative JSON schema. It is designed to be lightweight, premium, and easy to extend.

✨ Features

  • Zero-Dependency Renderer: Recursive rendering engine that handles complex A2UI JSON trees without external SDKs.
  • Multi-Platform Support: Built-in logic optimized for React, Lit (Web Components), and Flutter (GenUI SDK).
  • Premium Design System: Dark-mode aesthetic with glassmorphism, smooth transitions, and professional typography (Inter).
  • Protocol Ready: Native support for A2UI (Agent-to-User) and A2A (Agent-to-Agent) standards.
  • Agent Pulse: Built-in "Agent Online" status indicator with CSS animations.

🛠️ Getting Started

You can scaffold a new A2UI project in seconds without installing anything using uvx. Once the package is published to PyPI, the command is simply:

# Basic setup
uvx agentui-starter-pack create my-ui

# High-fidelity setup with CopilotKit/AGUI
uvx agentui-starter-pack create my-ui --ui agui --copilotkit

[!NOTE] Until the package is published to PyPI, use the --from flag to point to the GitHub repository: uvx --from git+https://github.com/enriquekalven/agent-ui-starter-pack.git agentui-starter-pack create my-ui

Prerequisites

  • Node.js (v18+)
  • Python (v3.10+) for the CLI
  • git
# Install dependencies
npm install

Development

# Start the Vite development server
npm run dev

The application will be available at http://localhost:5173.

🚀 Deployment

The project includes one-line deployment commands via the Makefile.

Platform Command
Cloud Run make deploy-cloud-run
Firebase make deploy-firebase
GKE make deploy-gke

For more options and configuration details, see the Deployment Guide.

🏗️ Architecture & Frameworks

Web Components (Lit)

A2UI's core repository is built with Lit. For the "Full Control" path, you can use the native Lit renderer to create standard Web Components that work in any framework (including Angular).

Flutter (GenUI SDK)

A2UI is designed for developers building custom surfaces across Web, Mobile, and Flutter. The GenUI SDK pattern allows for "Native-First" rendering where the agent sends blueprints that are realized using high-performance Flutter widgets.

AG UI (CopilotKit)

For high-end React implementations, we recommend CopilotKit (formerly AG UI). It provides a full-stack starter designed for A2A and A2UI, handling the streaming "pipes" so you can focus on building beautiful surfaces.

📡 A2A Protocol

The Agent-to-Agent (A2A) protocol enables agents to communicate over a network. See the A2A_GUIDE.md for details on exposing agents as services and orchestrating multi-agent systems.

📜 A2UI Protocol

The renderer expects an A2UISurface object with the following structure:

{
  "surfaceId": "unique-id",
  "content": [
    {
      "type": "Text",
      "props": { "text": "Hello World", "variant": "h1" }
    },
    {
      "type": "Card",
      "props": { "title": "System Meta" },
      "children": [...]
    }
  ]
}

📄 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentui_starter_pack-0.1.2.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentui_starter_pack-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file agentui_starter_pack-0.1.2.tar.gz.

File metadata

  • Download URL: agentui_starter_pack-0.1.2.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for agentui_starter_pack-0.1.2.tar.gz
Algorithm Hash digest
SHA256 74d5eb8b94c5b8261a9e66ee4d9f062d7388877690b8cf39e3a613e9f2b90b55
MD5 9ea9a4f3d021755d8b42961cfababb68
BLAKE2b-256 acc3ccef3aaffc1a0dbc2f26895ec905765d193c62c58a5658a39e3f50e4ce21

See more details on using hashes here.

File details

Details for the file agentui_starter_pack-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agentui_starter_pack-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f313215bb42ffcfcfe63a11d4c6bb79089d4c5419be19fa5145962f040480c46
MD5 8378ba41ad122c381fd5928c274be691
BLAKE2b-256 ec404262b416f5ec07375b403bc95f5e45973aed2440c265583fe818ff6ad4c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page