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.0.tar.gz (14.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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentui_starter_pack-0.1.0.tar.gz
  • Upload date:
  • Size: 14.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.0.tar.gz
Algorithm Hash digest
SHA256 dc007e262ec91c3795c0dfad57b51687d9f68987fbb245fbeb80fb8fc9f7b6d4
MD5 4ad6b36853282d9c89e8d742cf35a0be
BLAKE2b-256 675599b583131f1b97839237a757b7d46b666fbdede163ed4d7d5f57a358f7bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentui_starter_pack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 facb2ca9fac47e20069972bec14376d83d41ab2a05fb8d609d196af6a083e883
MD5 227a7bf28572adf78510a22e80d37897
BLAKE2b-256 e6f9f9a79b56ab0cc312616afb7ff6502d974f725b56eaa06c92ff1e327eb1ef

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