Enterprise-grade B2B API research and agentic buildability evaluator β fully automated, end-to-end.
Feed it a target app list β Get structured developer portal audit data, auth methods, gating protocols, and an interactive intelligence dashboard. Zero manual steps.
Quick Start β’ Architecture β’ Pipeline Stages β’ Demo β’ Engineering β’ Roadmap
Auditing external SaaS APIs before building agent toolkits is slow, manual, and doesn't scale across hundreds of integrations:
| Manual Workflow (per App) | Time Spent |
|---|---|
| π Researching developer documentation | ~15 min |
| π Identifying supported API auth methods | ~10 min |
| π‘οΈ Auditing developer account access & gates | ~15 min |
| π Evaluating toolkit buildability & blockers | ~10 min |
| Total for 100 apps | ~83 Hours |
This agentic pipeline reduces the entire 100-app audit to under 3 minutes.
βββββββββββββββββββββββ
β π App Target List β
β (100 Apps) β
ββββββββββββ¬βββββββββββ
β
ββββββββββββββββΌβββββββββββββββ
β STAGE 1 β Target Parser β
β Loads name & hints β
β Excludes local dev cache β
ββββββββββββββββ¬βββββββββββββββ
β
ββββββββββββββββΌβββββββββββββββ
β STAGE 2 β Grounded Agent β
β Gemini 2.5-Flash + Search β
β Queries docs & extracts infoβ
ββββββββββββββββ¬βββββββββββββββ
β
ββββββββββββββββΌβββββββββββββββ
β STAGE 3 β Verification Loopβ
β verify_agent.py (Audit) β
β Compares passes vs targets β
ββββββββββββββββ¬βββββββββββββββ
β
ββββββββββββββββΌβββββββββββββββ
β STAGE 4 β Data Clustering β
β analyze_data.py β
β Auth/Access Stats Summary β
ββββββββββββββββ¬βββββββββββββββ
β
ββββββββββββββββΌβββββββββββββββ
β STAGE 5 β HTML Compiler β
β build_dashboard.py β
β Generates index.html UI β
βββββββββββββββββββββββββββββββ
Each stage's output feeds directly into the next, culminating in a single portable, interactive HTML dashboard.
composio-api-research-agent/
β
βββ π research_agent.py # Stage 1 & 2 β Research pipeline & structured extraction
βββ π verify_agent.py # Stage 3 β Validation loop (15-app audit)
βββ π analyze_data.py # Stage 4 β Statistical clustering & segmentation
βββ π build_dashboard.py # Stage 5 β HTML dashboard compilation
β
βββ π screenshots/ # Project visual assets
β βββ dashboard_preview.png # Full interactive case study screenshot
β
βββ π index.html # Final self-contained interactive dashboard
βββ π raw_results.json # Raw JSON database for all 100 apps
βββ π analysis_summary.json # Statistical aggregates and easy wins
βββ π verification_report.json # Audit details and accuracy shift logs
βββ π requirements.txt # Python dependencies
βββ π .env.example # Environment template
βββ π .env # Local credentials (git-ignored)
What makes this implementation production-grade:
The final dashboard is built by a compilation script (build_dashboard.py) that reads JSON aggregates and injects them directly into the HTML file. This ensures the output is 100% portable and runs offline without CORS errors.
Uses the new google-genai SDK with Google Search grounding enabled. The agent crawls the web, reads current API documentation, and extracts info into structured Pydantic models.
Features a dedicated validation script (verify_agent.py) that selects a random 15-app sample, compares unverified first-pass outputs with manual docs, and tracks accuracy progression.
Includes print fallbacks that clean stdout strings, preventing terminal crashes on systems using older CP1252/ASCII character mappings.
Includes a built-in .env parser requiring no third-party libraries, loading configurations and keeping API keys protected.
| Detail | Value |
|---|---|
| Core Client | google-genai Client |
| Model | gemini-2.5-flash |
| Grounding | Google Search tool |
| Output Schema | Pydantic AppResearchResult |
| Detail | Value |
|---|---|
| Verification Sample | 15 random apps across categories |
| First-Pass Accuracy | 40.0% (missed specific enterprise limits) |
| Final Accuracy | 100.0% (after grounded verification & audit) |
| Accuracy Shift | +60.0% |
| Detail | Value |
|---|---|
| Auth Distribution | API Keys (57%), OAuth2 (57%), Tokens (29%) |
| Access Types | Self-Serve (75%) vs Gated (25%) |
| Easy Wins | 75 apps (100% self-serve & buildable today) |
| Gated Blocker | Paid plan required (47.8%), Partner outreach (39.1%) |
The fully compiled dashboard features category-wise sorting, instant search, metric cards, and responsive Chart.js data visualizations:
| Dashboard Header & Stats | Key Patterns & Strategic Insights |
|---|---|
![]() |
![]() |
| Agentic Workflow Pipeline | Interactive 100-App Matrix |
|---|---|
![]() |
![]() |
- Python 3.10+
- Google Gemini API key (optional - falls back to pre-researched cache if omitted)
git clone https://github.com/Subodh26oct/composio-api-research-agent.git
cd composio-api-research-agentOn Windows:
python -m venv .venv
.venv\Scripts\activateOn macOS/Linux:
python3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtCreate a .env file in the root folder:
GEMINI_API_KEY="your-gemini-api-key-here"# Run research data extraction
python research_agent.py
# Execute verification audit
python verify_agent.py
# Generate statistics
python analyze_data.py
# Compile HTML dashboard
python build_dashboard.py| Layer | Technology | Purpose |
|---|---|---|
| Language | Python 3.10+ | Core scripting |
| Cognitive Agent | Gemini 2.5-Flash | Search-grounded content generation |
| Validation | Pydantic | Structured JSON schema formatting |
| Aggregation | Pandas | Statistical clustering & groupings |
| Visual Library | Chart.js | Dynamic client-side graphs |
| Presentation | HTML5 / CSS3 / JavaScript | Interactive single-page case study |
Planned pipeline enhancements:
| Priority | Feature | Description |
|---|---|---|
| π΄ P0 | Multi-Agent Consensus | Parallel research instances voting on auth patterns to minimize hallucinations |
| π P1 | Auto-Spec Crawler | Automatically extracting OpenAPI / GraphQL specs from evidence URLs |
| π‘ P2 | YAML Exporter | Directly generating Composio-ready integration configuration manifests |
| π’ P3 | Credentials Verifier | Live test integrations verifying sandbox access automatically |
Subodh AI & Software Engineer
Built for the Composio AI Product Ops Intern take-home assignment.




