CoolFace
Apppublic

saadtoorx/multi-agent-event-planner

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

๐Ÿ—“๏ธ Multi-Agent Event Planner

An AI-powered Multi-Agent Event Planner built with CrewAI and Streamlit. This project demonstrates how specialized autonomous agents collaborate to research venues, coordinate logistics, and design marketing & communications for events โ€” producing a usable event plan and downloadable reports.

<div align="center"> <img src="images/demo_screenshot.png" width="80%" alt="Event Planner Demo Screenshot"> </div>


๐Ÿš€ Features

  • โ€”๐Ÿค– Multi-Agent Collaboration โ€” Distinct agents handle venue sourcing, logistics coordination, and marketing/communications so tasks are parallelized and specialized.
  • โ€”๐Ÿ“… End-to-End Event Workflow โ€” From venue research to marketing strategy and final downloadable summary.
  • โ€”๐Ÿ” Web Research & Scraping โ€” Integrates search and scraping tools to gather venue and vendor details.
  • โ€”๐Ÿง  CrewAI Memory & Context โ€” Agents share context (task outputs) so downstream tasks use validated inputs (e.g., chosen venue feeds logistics & marketing).
  • โ€”๐Ÿงฉ Simulated or Real Execution โ€” Supports a simulated planning mode out-of-the-box and an option to execute with real CrewAI agents when configured.
  • โ€”๐Ÿ“ฆ Downloadable Artifacts โ€” Venue JSON, marketing report (Markdown), and a complete event summary are exportable.

๐Ÿ—๏ธ Architecture Overview

๐Ÿง  Agents

  • โ€”Venue Coordinator โ€” Identifies candidate venues, checks capacity/availability, and outputs structured venue details.
  • โ€”Logistic Manager โ€” Plans catering, equipment, transportation, and on-site logistics using venue constraints.
  • โ€”Marketing & Communications Agent โ€” Designs promotional messaging, suggested channels, and a marketing timeline.

๐Ÿ“‹ Tasks

  1. 1.Venue Task โ€” Research and select a venue that meets event requirements and produce venue_details.json.
  2. 2.Logistic Task โ€” Coordinate catering, rentals, transport and create confirmations/checklist.
  3. 3.Marketing Task โ€” Produce a marketing strategy and promotional materials as marketing_report.md.

๐Ÿ› ๏ธ Tools Used

  • โ€”WebsiteSearchTool / SerperDev-style tool โ€” for web search and quick facts.
  • โ€”ScrapeWebsiteTool โ€” extract structured details from vendor/venue pages.
  • โ€”CrewAI framework โ€” orchestrates agents & tasks.
  • โ€”OpenAI API (LLM) โ€” agent reasoning, planning, and content generation.
  • โ€”Fallback/mock tools are used when live search/scrape packages are not available so the app still runs.

๐Ÿ“ Project Structure

multi-agent-event-planner/ โ”œโ”€โ”€ .github/ # ๐Ÿ”„ GitHub Actions workflows โ”‚ โ””โ”€โ”€ workflows/ โ”‚ โ””โ”€โ”€ pushtohf.yml # ๐Ÿš€ Auto-deploy to Hugging Face Spaces โ”œโ”€โ”€ app.py # ๐Ÿš€ Streamlit app interface (main) โ”œโ”€โ”€ agents.py # ๐Ÿค– Agent definitions (Venue, Logistics, Marketing) โ”œโ”€โ”€ tasks.py # ๐Ÿ“‹ Task definitions (venuetask, logistictask, marketingtask) โ”œโ”€โ”€ tools.py # ๐Ÿ› ๏ธ Tool configuration & fallbacks for scraping/search โ”œโ”€โ”€ apputils.py # ๐Ÿ”‘ Helpers: API setup, printing utilities, etc. โ”œโ”€โ”€ requirements.txt # ๐Ÿ“ฆ Python dependencies โ”œโ”€โ”€ LICENSE # ๏ฟฝ Project license (MIT) โ””โ”€โ”€ README.md # ๏ฟฝ This documentation


๐Ÿ› ๏ธ Installation & Setup

  1. 1.Clone the repository

git clone https://github.com/saadtoorx/multi-agent-event-planner.git cd multi-agent-event-planner

  1. 1.Install dependencies

pip install -r requirements.txt

  1. 1.Configure API keys (required for real-agent execution)

Create a .env file with your keys:

OPENAIAPIKEY=your-openai-key SERPERAPIKEY=your-serper-key # Optional: set model name used in the app OPENAIMODELNAME=gpt-4o-mini

Note: If you don't provide search/scrape keys or CrewAI packages are missing, the app falls back to simulated execution so you can test the UI and outputs.

โ–ถ๏ธ Running the App

streamlit run app.py

  • โ€”Open the sidebar and enter OpenAI and Serper API keys to enable full functionality.
  • โ€”Fill event details (topic, city, date, participants, budget, venue type) and click Start Planning.
  • โ€”Choose Simulated or Use Real CrewAI Agents before executing the planning run.
  • โ€”Download generated venue_details.json, marketing_report.md, or the complete summary.

๐Ÿ“ฆ Tech Stack

  • โ€”Python 3.8+
  • โ€”Streamlit (UI)
  • โ€”CrewAI (multi-agent orchestration)
  • โ€”crewai-tools / SerperDev-like search & scrape tools
  • โ€”OpenAI API (LLM)
  • โ€”pydantic (output models)
  • โ€”python-dotenv

๐Ÿค– Agent Summary

AgentResponsibility
Venue CoordinatorResearches and finalizes venue selection; outputs structured venue details.
Logistic ManagerPlans catering, equipment, transport, and on-site logistics.
Marketing & CommunicationsCreates marketing strategy, messaging, and timeline for attendee outreach.

๐Ÿ”ฎ Future Improvements

  • โ€”๐ŸŒ Integrate live vendor & venue APIs for booking checks and pricing.
  • โ€”๐Ÿงพ Add automated budget optimization and cost breakdown.
  • โ€”๐Ÿ“… Export plans to calendar formats (ICS) and PDF reports.
  • โ€”๐Ÿ“Š Add UI visualizations for workflow, timelines, and resource allocation.
  • โ€”๐Ÿงฉ Add more specialized agents (e.g., Sponsorship Agent, Budget Analyst).

๐Ÿ“„ License

Licensed under the MIT License. See LICENSE for full terms.


โœจ Built By

Created with โค๏ธ by Saad Toor (@saadtoorx) Powered by CrewAI, Streamlit, and OpenAI