dromerosm/crewai-multiagent-research
13
CrewAI Multiagent Research Tool
This Space runs a multi-agent research workflow built with CrewAI and Gradio. It searches the web, extracts relevant content, and returns a final report.
Current stack
crewaiwith multi-agent orchestration.gradioas UI runtime in Hugging Face Spaces.duckduckgo-search,newspaper4k, andPyMuPDFfor retrieval.- OpenAI, Azure OpenAI, and Groq model options in the interface.
CrewAI alignment
This repository is aligned with the current CrewAI docs:
- Intro: <https://docs.crewai.com/en/introduction>
- Core concepts used here:
- Agents
- Tasks
- Crews
- Tools
Recent CrewAI versions may evolve output metadata. The app handles token metrics defensively to support both token_usage and usage_metrics structures when available.
How it works
- The
Researcheragent performs search and source collection. - The
Editoragent refines findings into a structured final report. - The app streams verbose execution logs in the UI.
- The generated report can be exported to
outputs/output.md.
Local run
- Create a virtual environment:
python3 -m venv .venv
source .venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Run the app:
python3 app.pyHugging Face Space config
The Space is currently functional and running. For deployment operations, this repo uses:
HF_TOKENHF_SPACE_ID
Both values must exist in .env locally for deployment scripts/API calls.
Notes
.envis gitignored and must never be committed.- Secrets are managed in Hugging Face Space settings/API.
- Variables can be listed via API; secret values are never retrievable.
