Skip to content

Instantly share code, notes, and snippets.

@pranjalAI
Created December 16, 2025 04:21
Show Gist options
  • Select an option

  • Save pranjalAI/2e8b31a2205560e7aa589e56fcef8d50 to your computer and use it in GitHub Desktop.

Select an option

Save pranjalAI/2e8b31a2205560e7aa589e56fcef8d50 to your computer and use it in GitHub Desktop.
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