How zabrodsk/rockaway-deal-intelligence works
Deal Intelligence evaluates startup deal flow from uploaded pitch decks, metrics, Specter data, or company URLs. Its principal workflow collects and normalizes evidence, organizes questions, generates and refines pro/con arguments, then ranks deals and presents recommendations. The web app also supports saved analyses, optional web and Specter enrichment, VC-specific matching, and founder–VC debates. The README documents these capabilities; sampled source was partial, so uncertain internal call wiring is omitted.
Main entry points: graph.py Analysis graph · app.py Web application · agent_api.py Agent API · db.py Supabase data
Components 23
Intake and evidence
- Document ingestion
src/agent/ingest - Specter CSV intake
src/agent/ingest/specter_ingest.py - Evidence store
src/agent/ingest/store.py
Deal analysis
- Analysis graph
src/agent/pipeline/graph.py - Question trees
src/agent/pipeline/stages/answering/tree.py - Argument generation
src/agent/pipeline/stages/generation.py - Critique and refinement
src/agent/pipeline/stages/refinement.py - Deal ranking
src/agent/pipeline/stages/ranking.py
Optional enrichment
- Web search
src/agent/web_search/providers.py - Specter MCP
src/agent/ingest/specter_mcp_client.py - Person intelligence
src/agent/person_intel/service.py
Application workflows
- Web application
web/app.py - Agent API
web/agent_api.py - Batch runner
src/agent/batch.py - Specter batch worker
src/agent/specter_batch_worker.py - Company worker
src/agent/specter_company_worker.py - VC matching
src/agent/matching/engine.py - Founder VC debate
src/agent/debate/orchestrator.py - Company chat
src/agent/company_chat.py
Persistence and services
- Supabase data
web/db.py - LLM providers
src/agent/llm.py
Other components
- Investment team
- Startup founder
Connections 28
- Investment team → Web application: submits deals
- Startup founder → Web application: shares evidence
- Web application → Agent API: starts analysis
- Batch runner → Analysis graph: runs analysis
- Agent API → Document ingestion: processes files
- Agent API → Specter CSV intake: processes exports
- Document ingestion → Evidence store: builds evidence
- Specter CSV intake → Evidence store: builds evidence
- Agent API → Analysis graph: evaluates deals
- Analysis graph → Question trees: organizes questions
- Analysis graph → Argument generation: generates arguments
- Analysis graph → Critique and refinement: refines arguments
- Analysis graph → Deal ranking: ranks deals
- Analysis graph → Evidence store: retrieves evidence
- Analysis graph → LLM providers: requests completions
- Agent API → Web search: requests search
- Agent API → Specter MCP: requests augmentation
- Specter MCP → Person intelligence: fetches profiles
- Web application → Specter batch worker: dispatches jobs
- Specter batch worker → Supabase data: polls queue
- Specter batch worker → Company worker: spawns company runs
- Company worker → Analysis graph: evaluates company
- Web application → Supabase data: reads and writes
- Web application → VC matching: triggers matching
- VC matching → Supabase data: loads deal data
- Web application → Founder VC debate: runs debate
- Founder VC debate → Supabase data: persists messages
- Web application → Company chat: handles chat