A multi-agent due diligence pipeline that automatically researches a company from a single URL. It uses AG2 to orchestrate specialist agents in parallel threads, each powered by TinyFish for deep web scraping.
Given a company URL, the system runs a 4-stage pipeline:
After the pipeline completes, an interactive Q&A mode lets you ask follow-up questions grounded in the collected data.
TAGS: due-diligence, multi-agent, web-scraping, tinyfish, parallel-agents, research-assistant, company-research, automation
Clone and navigate to the folder:
git clone https://github.com/ag2ai/build-with-ag2.git
cd build-with-ag2/due-diligence-with-tinyfish
Install dependencies:
pip install -r requirements.txt
Set environment variables:
export OPENAI_API_KEY=your-openai-key
export TINYFISH_API_KEY=your-tinyfish-key
python main.py --url https://example.com
This will:
due_diligence_acme_20260311_120000/)python main.py --report-path ./due_diligence_acme_20260311_120000/
Skip the pipeline and jump straight into Q&A over a previously generated report.
due_diligence_acme_20260311_120000/
├── company_profile.json # Seed crawl results
├── founders_team/
│ ├── founders.json
│ ├── executives.json
│ └── headcount.json
├── investors.json
├── press/
│ ├── articles.json
│ └── sentiment.json
├── financials.json
├── tech_stack.json
├── social.json
├── validation_notes.json
├── report.md # Final synthesized report
└── references.md # Index of all output files
For more information or any questions, please refer to the documentation or reach out to us!
This project is licensed under the Apache License 2.0. See the LICENSE for details.