Created
December 16, 2025 04:21
-
-
Save pranjalAI/2e8b31a2205560e7aa589e56fcef8d50 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from agents.profile_agent import ProfileAgent | |
| from agents.fundamentals_agent import FundamentalsAgent | |
| from agents.ratios_agent import RatiosAgent | |
| from agents.risk_agent import RiskAgent | |
| from agents.summary_agent import SummaryAgent | |
| from state import ResearchState | |
| def run_research_pipeline(query: str) -> ResearchState: | |
| state = ResearchState(query=query) | |
| agents = [ | |
| ProfileAgent(), | |
| FundamentalsAgent(), | |
| RatiosAgent(), | |
| RiskAgent(), | |
| SummaryAgent(), | |
| ] | |
| for agent in agents: | |
| state = agent.run(state) | |
| return state |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment