How skala-smart-farm/agtech-investment-agent-final works
This is a LangGraph multi-agent system that discovers public AgTech AI startup candidates, screens eligibility, evaluates eligible companies, and produces an investment decision and checked PDF report. The README documents the evaluation sequence and the comparison across candidates; the graph modules route between discovery, evaluation, and reporting. Evidence collection combines web search and a document/web RAG path, with a shared evidence registry and code-based citation checks. Some subsystem links reflect documented workflow or SOURCE INDEX references; unsampled implementation details are not inferred.
Main entry points: discovery.py Candidate Discovery · tech.py Technology Analysis · builder.py Graph Builder · eligibility.py Eligibility Gate
Components 28
Workflow
- Application
app.py - Graph Builder
graph/builder.py - Workflow Routes
graph/routes.py - Workflow State
graph/state.py - Discovery Flow
graph/discovery_graph.py
Evaluation
- Candidate Discovery
agents/discovery.py - Eligibility Gate
agents/eligibility.py - Founder Analysis
agents/founder.py - Technology Analysis
agents/tech.py - Market Analysis
agents/market.py - Competition Analysis
agents/competition.py - Investment Decision
agents/decision.py - Criterion Judge
core/judge.py
Evidence
- Agentic RAG
rag/agentic_rag.py - Hybrid Retrieval
rag/index.py - Document Loading
rag/loader.py - Web Search
tools/web_search.py - Discovery Channels
tools/channels.py - Evidence Registry
tools/sources.py - Citation Checks
tools/grounding.py
Shared Runtime
- LLM Runtime
core/llm.py - Bounded LLM
core/llm_bounded.py
Reporting
- Report Generation
agents/report.py - PDF Renderer
report/render.py - Evaluation Report
Other components
- Evaluator
- Search Providers
- LLM Service
Connections 37
- Evaluator → Application: runs
README.md - Application → Graph Builder: starts
app.py - Graph Builder → Workflow Routes: configures
graph/builder.py - Graph Builder → Workflow State: uses
graph/builder.py - Graph Builder → Discovery Flow: registers
graph/builder.py - Discovery Flow → Candidate Discovery: dispatches
graph/discovery_graph.py - Discovery Flow → Eligibility Gate: dispatches
graph/discovery_graph.py - Candidate Discovery → Eligibility Gate: screens
agents/discovery.py - Candidate Discovery → Discovery Channels: collects candidates
agents/discovery.py - Candidate Discovery → Web Search: searches
agents/discovery.py - Eligibility Gate → Web Search: checks sources
agents/eligibility.py - Eligibility Gate → Discovery Channels: checks listings
agents/eligibility.py - Workflow Routes → Founder Analysis: routes next
README.md - Founder Analysis → Technology Analysis: evaluates next
README.md - Technology Analysis → Market Analysis: evaluates next
README.md - Market Analysis → Competition Analysis: evaluates next
README.md - Competition Analysis → Investment Decision: evaluates next
README.md - Founder Analysis → Criterion Judge: judges criteria
core/judge.py - Technology Analysis → Criterion Judge: judges criteria
agents/tech.py - Market Analysis → Agentic RAG: uses RAG
agents/market.py - Technology Analysis → Agentic RAG: queries baseline
agents/tech.py - Agentic RAG → Hybrid Retrieval: retrieves documents
rag/agentic_rag.py - Hybrid Retrieval → Document Loading: loads corpus
rag/index.py - Agentic RAG → Web Search: searches web
rag/agentic_rag.py - Web Search → Search Providers: queries providers
tools/web_search.py - Candidate Discovery → Evidence Registry: records evidence
agents/discovery.py - Technology Analysis → Evidence Registry: records evidence
agents/tech.py - Investment Decision → Evidence Registry: reads evidence
agents/decision.py - Investment Decision → Citation Checks: verifies quotes
agents/decision.py - Criterion Judge → Bounded LLM: requests judgments
core/judge.py - Bounded LLM → LLM Runtime: uses runtime
core/llm_bounded.py - LLM Runtime → LLM Service: calls
core/llm.py - Workflow Routes → Report Generation: routes at completion
graph/routes.py - Report Generation → PDF Renderer: renders report
agents/report.py - PDF Renderer → Evaluation Report: produces PDF
README.md - Report Generation → Investment Decision: uses results
agents/report.py - Evaluation Report → Evaluator: delivers report
README.md