Skip to main content

UI Module

The UI module provides components for building agent user interfaces, including A2A (Agent-to-Agent) and AG-UI protocols.

Installation

pip install praisonaiagents

Components

AGUI

AG-UI protocol implementation.
from praisonaiagents import AGUI

ui = AGUI(agent=my_agent)
ui.start()

A2A

Agent-to-Agent communication protocol.
from praisonaiagents import A2A

a2a = A2A(agents=[agent1, agent2])
a2a.connect()