A curated collection of practical AI projects implementing OCR systems, RAG, AI agents, and other AI use cases.
Startup Analyst
Elite startup due-diligence agent that scrapes company websites and produces investment-grade reports

Overview
Startup Analyst is a single-agent AI system that takes a company name and URL, crawls its website, and generates a structured report covering market position, financials, team, risks, and strategic recommendations.
You give it a prompt like "Analyse Mistral AI (https://mistral.ai)" and it scrapes the site, pulls together everything it can find, and returns a clean report you could hand to an investor.
The agent is powered by MiniMax M2.5 (via OpenRouter) and uses Firecrawl to extract content from web pages.
Features
- Website scraping: Pulls structured content from specific pages (team, pricing, about, products)
- Full-site crawling: Discovers and extracts content across multiple pages in one pass
- Investment-grade reports: Covers company profile, market opportunity, financials, risks, and strategic recommendations
- Streaming UI: Results appear progressively as the agent works, with a clean Gradio interface
- Ready-made examples: One-click analysis for xAI, Perplexity, Cursor, ElevenLabs, and Mistral
Tech Stack
Frameworks and Libraries:
Models and APIs:
- MiniMax M2.5 via OpenRouter for reasoning and report generation
- Firecrawl for website scraping and crawling
Prerequisites
- Python 3.11 or higher
- uv (recommended) or pip
- API keys for:
- OpenRouter — get yours at https://openrouter.ai
- Firecrawl — get yours at https://firecrawl.dev
Installation
1. Clone the Repository
git clone https://github.com/Sumanth077/Hands-On-AI-Engineering.git
cd Hands-On-AI-Engineering/ai_agents/startup_analyst
2. Install Dependencies
uv sync
Or with pip:
pip install -r requirements.txt
3. Set Up Environment Variables
cp .env.example .env
Edit .env and add your keys:
OPENROUTER_API_KEY=your_openrouter_api_key_here
FIRECRAWL_API_KEY=your_firecrawl_api_key_here
Usage
uv run python app.py
Then open http://localhost:7860 in your browser.
Enter a prompt like:
Perform a comprehensive startup intelligence analysis on Mistral AI (https://mistral.ai)
The agent will scrape the site, crawl key pages, and stream back a structured report.
Project Structure
startup_analyst/
├── agent.py # Agent definition and instructions
├── app.py # Gradio UI and streaming logic
├── pyproject.toml # Dependencies
├── .env.example # Environment variables template
└── README.md # This file
How It Works
The agent follows a four-part analysis framework:
- Foundation analysis — company name, founding date, location, value proposition, and team
- Market intelligence — target market, competitive positioning, and business model
- Financial assessment — funding history, revenue indicators, and growth metrics
- Risk evaluation — market, technology, team, and financial risks
Firecrawl handles two modes of web access. The scrape tool extracts structured content from a specific URL. The crawl tool walks an entire site and pulls content from every page it finds. The agent decides which to use depending on what it needs.
The Gradio app buffers the model's stream and only starts rendering once it detects the first markdown heading. This suppresses any model narration before the actual report begins.