Skip to content

Developed with Panel, this project facilitates enhanced human-agent interactions within CrewAI applications, featuring a dynamic UI that supports real-time communication and workflow management between users and AI agents.

License

Notifications You must be signed in to change notification settings

JerichoCruz/interactive-crewai-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive CrewAI Panel

Crew AI + Ollama + Panel Logo

This project leverages the CrewAI framework and Panel library to create an interactive web application facilitating dynamic interaction between human users and AI agents. It's designed to analyze and strategize business processes with AI insights and human expertise.

What This App Does

This application is a demo of how custom AI agents work together and include a human-in-the-loop to derive strategic insights through a single prompt. It integrates three specialized AI agents:

  • Market Research Analyst: Analyzes market demands and customer outreach strategies.
  • Technology Expert: Assesses technological trends and adoption strategies to enhance business operations.
  • Business Development Consultant: Advises on business model scalability and potential revenue streams.

These agents work collaboratively within a responsive web interface to provide real-time analysis and feedback, allowing users to input data and receive actionable business intelligence.

Features

  • Dynamic human-agent interaction.
  • Real-time analytical feedback.
  • Responsive web interface using Panel.

Prerequisites

  • Python Installation: Make sure you have Python 3.10.11 or higher installed. Download Python
  • Virtual Environment: Usage of a Python virtual environment is recommended for managing dependencies. Learn about virtual environments
  • Ollama Installation: Ollama must be installed as part of the LangChain libraries. Ensure all dependencies for Ollama are correctly installed. crewai_panel.py uses mistral which can be installed running this command: ollama run mistral
  • SERP API Key: An API key for the SERP service. Ensure you have the API key configured as an environment variable. Sign up and get a key at SERP. (Optional)
  • API Keys: Ensure you have the necessary API keys configured as environment variables, as detailed in the .env file instructions.
  • Git: Optional but recommended for cloning the repository. Install Git

Installation

Clone the repository and install dependencies:

pip install -r requirements.txt

Usage

Create a .env file at the root directory with your SERPER_API_KEY:

SERPER_API_KEY=your_api_key_here

See .env.sample

Run the application:

panel serve crewai_panel.py

Access the application via http://localhost:5006/crewai_panel in your browser.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

About

Developed with Panel, this project facilitates enhanced human-agent interactions within CrewAI applications, featuring a dynamic UI that supports real-time communication and workflow management between users and AI agents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages