[GH-ISSUE #441] ai_finance_agent_team not working #3156

Closed
opened 2026-05-02 01:50:42 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ma-gu-16 on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/Shubhamsaboo/awesome-llm-apps/issues/441

https://github.com/Shubhamsaboo/awesome-llm-apps/tree/main/advanced_ai_agents/multi_agent_apps/agent_teams/ai_finance_agent_team

multiple errors. its not working. i stopped debugging...

t_team.py", line 26, in <module> tools=[YFinanceTools(stock_price=True, analyst_recommendations=True, company_info=True, company_news=True)], File "C:\laragon\bin\python\python-3.10\lib\site-packages\agno\tools\yfinance.py", line 36, in __init__ super().__init__(name="yfinance_tools", tools=tools, **kwargs) TypeError: Toolkit.__init__() got an unexpected keyword argument 'stock_price'

or :

finance_agent_team.py", line 41, in <module> agent_os = AgentOS(agents=[agent_team]) File "C:\laragon\bin\python\python-3.10\lib\site-packages\agno\os\app.py", line 239, in __init__ self._initialize_agents() File "C:\laragon\bin\python\python-3.10\lib\site-packages\agno\os\app.py", line 431, in _initialize_agents agent.initialize_agent() AttributeError: 'Team' object has no attribute 'initialize_agent'. Did you mean: 'initialize_team'?

Originally created by @ma-gu-16 on GitHub (Jan 26, 2026). Original GitHub issue: https://github.com/Shubhamsaboo/awesome-llm-apps/issues/441 https://github.com/Shubhamsaboo/awesome-llm-apps/tree/main/advanced_ai_agents/multi_agent_apps/agent_teams/ai_finance_agent_team multiple errors. its not working. i stopped debugging... `t_team.py", line 26, in <module> tools=[YFinanceTools(stock_price=True, analyst_recommendations=True, company_info=True, company_news=True)], File "C:\laragon\bin\python\python-3.10\lib\site-packages\agno\tools\yfinance.py", line 36, in __init__ super().__init__(name="yfinance_tools", tools=tools, **kwargs) TypeError: Toolkit.__init__() got an unexpected keyword argument 'stock_price'` or : `finance_agent_team.py", line 41, in <module> agent_os = AgentOS(agents=[agent_team]) File "C:\laragon\bin\python\python-3.10\lib\site-packages\agno\os\app.py", line 239, in __init__ self._initialize_agents() File "C:\laragon\bin\python\python-3.10\lib\site-packages\agno\os\app.py", line 431, in _initialize_agents agent.initialize_agent() AttributeError: 'Team' object has no attribute 'initialize_agent'. Did you mean: 'initialize_team'?`
Author
Owner

@STiFLeR7 commented on GitHub (Jan 30, 2026):

This looks like an API drift issue rather than a logic bug.

From the trace:

  1. YFinanceTools no longer accepts kwargs like stock_price, company_info, etc. in recent versions of agno.
  2. Team.initialize_agent() appears to have been renamed to initialize_team().

This example likely targets an older agno API. I can submit a PR to:

  • Update the example to match the current agno API, or
  • Pin the compatible agno version explicitly

Let me know which approach you’d prefer.

<!-- gh-comment-id:3822271207 --> @STiFLeR7 commented on GitHub (Jan 30, 2026): This looks like an API drift issue rather than a logic bug. From the trace: 1) `YFinanceTools` no longer accepts kwargs like `stock_price`, `company_info`, etc. in recent versions of agno. 2) `Team.initialize_agent()` appears to have been renamed to `initialize_team()`. This example likely targets an older agno API. I can submit a PR to: - Update the example to match the current agno API, or - Pin the compatible agno version explicitly Let me know which approach you’d prefer.
Author
Owner

@Shubhamsaboo commented on GitHub (Jan 30, 2026):

Please Update the example to match the current agno API and ping the version that you use in the requirements.txt file.

Thank you!

<!-- gh-comment-id:3822432970 --> @Shubhamsaboo commented on GitHub (Jan 30, 2026): Please Update the example to match the current agno API and ping the version that you use in the requirements.txt file. Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-llm-apps#3156