Give your CrewAI agents interactive UI components, dynamic workflows, and live dashboards powered by Thesys C1
Create a new CrewAI agent
Create a new LLM class for Thesys
BaseLLM
class to create a new LLM class for Thesys.Update the reporting agent to use Thesys
crew.py
file, the researcher
and reporting_analyst
agents would be defined. The job of
of the reporting_analyst
agent is to analyze the research and provide a summary of the findings.
This is the perfect place to use Thesys as the LLM and generate a properly formatted report complete with
charts and tables rather than just a plain text response.So lets go ahead and update the reporting_analyst
agent to use Thesys.Rendering the response
reporting_analyst
agent using Thesys, we need to render the response.
There are multiple ways to go about it but for this guide we will use the Streamlit SDK
to render the response.First we need to install the dependencies.main.py
file to serve a streamlit app.Run the app
http://localhost:8501
and you should be able to run your crewai agent
using the UI.