> ## 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.

# Chainlit Ui • AI Agents Framework

> Module reference for chainlit_ui

# chainlit\_ui

<Badge color="purple">AI Agents Framework</Badge>

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonai import chainlit_ui
```

## Functions

<CardGroup cols={2}>
  <Card title="on_run()" icon="function" href="../functions/on_run">
    Function definition.
  </Card>

  <Card title="on_modify()" icon="function" href="../functions/on_modify">
    Function definition.
  </Card>

  <Card title="set_profiles()" icon="function" href="../functions/set_profiles">
    Function definition.
  </Card>

  <Card title="start_chat()" icon="function" href="../functions/start_chat">
    Function definition.
  </Card>

  <Card title="on_settings_update()" icon="function" href="../functions/on_settings_update">
    Handle updates to the ChatSettings form.
  </Card>

  <Card title="on_chat_resume()" icon="function" href="../functions/on_chat_resume">
    Function definition.
  </Card>

  <Card title="run_agents()" icon="function" href="../functions/run_agents">
    Runs the agents and returns the result.
  </Card>

  <Card title="output()" icon="function" href="../functions/output">
    Function definition.
  </Card>

  <Card title="agent()" icon="function" href="../functions/agent">
    Function definition.
  </Card>

  <Card title="task()" icon="function" href="../functions/task">
    Function definition.
  </Card>

  <Card title="main()" icon="function" href="../functions/main">
    Run PraisonAI with the provided message as the topic.
  </Card>

  <Card title="auth_callback()" icon="function" href="../functions/auth_callback">
    Function definition.
  </Card>
</CardGroup>
