PraisonAIUI is a protocol-driven UI framework for building AI applications. This page explains how it differs from other popular tools.
| Feature | PraisonAIUI | Streamlit | Gradio |
|---------|-------------|-----------|--------|
| Architecture | Protocol-driven (SDK→JSON→Client) | Script re-run | Input→Output |
| UI Styles | 6 (chat, agents, dashboard, playground, docs, custom) | 1 | 1 |
| Components | 48 structured | ~30 widgets | ~20 blocks |
| Custom Pages | @aiui.page() decorator | Multipage apps | Tabs |
@aiui.page()
| Theme System | 22 presets + custom CSS variables | Limited | Limited |
| Agent-First | ✅ Built for agents | ❌ General | ❌ ML demos |
| Extensibility | Plugin architecture | ❌ | ❌ |
| YAML Config | ✅ Full config | ❌ | ❌ |
Gradio is designed for ML demos with an input→output paradigm. You define inputs, a function, and outputs.
PraisonAIUI is designed for conversational AI with callbacks and structured components.
| Aspect | PraisonAIUI | Gradio |
|--------|-------------|--------|
| Paradigm | Conversational callbacks | Input→Output |
| Components | 48 structured (cards, tables, charts) | ~20 blocks |
| Dashboard | Full admin panel with pages | Tabs only |
| Agent Support | Built-in profiles, tools, memory | Manual |
When to use PraisonAIUI: Chat agents, admin dashboards, multi-agent systems.
When to use Gradio: ML model demos, quick input/output interfaces.
---
Every feature implements a FeatureProtocol ABC with SDK-first fallback:
FeatureProtocol
Python functions return JSON dicts that the client renders:
Components include: cards, tables, charts, forms, alerts, badges, tabs, accordions, and more.
| Style | Use Case |
|-------|----------|
| chat | Conversational AI |
chat
| agents | Multi-agent playground |
agents
| playground | Prompt testing |
playground
| dashboard | Admin panels |
dashboard
| docs | Documentation sites |
docs
| custom | Full control |
custom
Extend the dashboard with custom views:
22 Tailwind presets + custom CSS variables + dark/light mode:
Same features configurable either way:
✅ Choose PraisonAIUI when you need:
❌ Consider alternatives when you need: