Hey everyone,
Recently started working with CrewAI and really loved all the different things you could do with it!
As a way to showcase the different features available and to have an easier way to interact and iterate with the Crews, I created a simple demo of how to integrate a crew with Streamlit.
You can find it all on this repo, feel free to use it and don’t hesitate to point our where things could be improved!
Below is the readme of the project:
CrewAI Streamlit Hacker News Demo
Overview
A demonstration of integrating a CrewAI agent within a Streamlit UI to analyze top Hacker News posts. This project sets up a crew, tool, agent, and task to showcase core functionalities.
You can access a live version of the app here.
Features
-
Crew, Tool & Agent Integration: Seamlessly fetch, analyze, and display top posts.
-
Interactive UI: Leverages Streamlit for real-time visualization.
-
Modular Design: Easy to maintain and extend.
Installation
Clone the repository and create a virtual environment
git clone https://github.com/ArthurVerrez/crewai-streamlit-hackernews-demo
cd crewai-streamlit-hackernews-demo
python -m venv env
Activate the Environment
Mac/Linux:
source env/bin/activate
Windows:
env\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Usage
(Optional) Set LLM_API_KEY
in the .env
file, then run the app:
streamlit run app.py