Skip to main content
Connect Autogen agents to Thesys to render interactive UIs, charts, and dynamic components instead of plain text responses.
This guide assumes you have basic knowledge of Python, Streamlit, and Autogen. You’ll also need a Thesys API key from the C1 Console.
1

Install dependencies

2

Configure Thesys model client

Create a model client that connects to Thesys API:
main.py
3

Create agent with tools

Define your agent with tools and system message:
main.py
4

Build Streamlit interface

Create a Streamlit app to run the agent and render responses:
main.py
5

Run the application

Access your app at http://localhost:8501 to interact with your Autogen agent through Thesys-powered UI.

View the code

Find more examples and complete code on our GitHub repository.