> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# A2 U I • AI Agent SDK

> A2UI: Optional A2UI facade (lazy — imports a2ui-agent-sdk on first use).

# A2UI

> Defined in the [**a2ui**](../modules/a2ui) module.

<Badge color="blue">AI Agent</Badge>

Optional A2UI facade (lazy — imports a2ui-agent-sdk on first use).

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.ui import A2UI

    part = A2UI.create_part({"createSurface": {...}})
    prompt = A2UI.system_prompt("You are a helpful assistant.")
```

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/ui/a2ui/__init__.py#L29">
  `praisonaiagents/ui/a2ui/__init__.py` at line 29
</Card>
