Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      15 Essential Skills to Look for When Hiring Node.js Developers for Enterprise Projects (2025-2026)

      August 4, 2025

      African training program creates developers with cloud-native skills

      August 4, 2025

      React.js for SaaS Platforms: How Top Development Teams Help Startups Launch Faster

      August 3, 2025

      Upwork Freelancers vs Dedicated React.js Teams: What’s Better for Your Project in 2025?

      August 1, 2025

      LastPass can now warn or block logins to shadow SaaS apps – here’s how

      August 4, 2025

      Get up to a year of Adobe Creative Cloud access for 40% off

      August 4, 2025

      Got 6 hours? This free AI training from Google and Goodwill can boost your resume today

      August 4, 2025

      Why I recommend this budget phone with a paper-like screen over ‘minimalist’ devices

      August 4, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Laravel Boost, your AI coding starter kit

      August 4, 2025
      Recent

      Laravel Boost, your AI coding starter kit

      August 4, 2025

      Using GitHub Copilot in VS Code

      August 4, 2025

      Optimizely Mission Control – Part I

      August 4, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Top 20 kubectl Commands Every Kubernetes Beginner Must Know

      August 4, 2025
      Recent

      Top 20 kubectl Commands Every Kubernetes Beginner Must Know

      August 4, 2025

      Microsoft’s record stock run collides with Nadella’s admission that 15,000 layoffs still ‘hurt’

      August 4, 2025

      Microsoft and Adobe Power Up Fantasy Premier League Fans with AI – Here’s How

      August 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Machine Learning»Building AI Agents Using Agno’s Multi-Agent Teaming Framework for Comprehensive Market Analysis and Risk Reporting

    Building AI Agents Using Agno’s Multi-Agent Teaming Framework for Comprehensive Market Analysis and Risk Reporting

    May 4, 2025

    In today’s fast-paced financial landscape, leveraging specialized AI agents to handle discrete aspects of analysis is key to delivering timely, accurate insights. Agno’s lightweight, model-agnostic framework empowers developers to rapidly spin up purpose-built agents, such as our Finance Agent for structured market data and Risk Assessment Agent for volatility and sentiment analysis, without boilerplate or complex orchestration code. By defining clear instructions and composing a multi-agent “Finance-Risk Team,” Agno handles the coordination, tool invocation, and context management behind the scenes, enabling each agent to focus on its domain expertise while seamlessly collaborating to produce a unified report.

    Copy CodeCopiedUse a different Browser
    !pip install -U agno google-genai duckduckgo-search yfinance

    We install and upgrade the core Agno framework, Google’s GenAI SDK for Gemini integration, the DuckDuckGo search library for querying live information, and YFinance for seamless access to stock market data. By running it at the start of our Colab session, we ensure all necessary dependencies are available and up to date for building and running your finance and risk assessment agents.

    Copy CodeCopiedUse a different Browser
    from getpass import getpass
    import os
    
    
    os.environ["GOOGLE_API_KEY"] = getpass("Enter your Google API key: ")

    The above code securely prompts you to enter your Google API key in Colab without echoing it to the screen, and then it is stored in the GOOGLE_API_KEY environment variable. Agno’s Gemini model wrapper and the Google GenAI SDK can automatically authenticate subsequent API calls by setting this variable.

    Copy CodeCopiedUse a different Browser
    from agno.agent import Agent
    from agno.models.google import Gemini
    from agno.tools.reasoning import ReasoningTools
    from agno.tools.yfinance import YFinanceTools
    
    
    agent = Agent(
        model=Gemini(id="gemini-1.5-flash"),  
        tools=[
            ReasoningTools(add_instructions=True),
            YFinanceTools(
                stock_price=True,
                analyst_recommendations=True,
                company_info=True,
                company_news=True
            ),
        ],
        instructions=[
            "Use tables to display data",
            "Only output the report, no other text",
        ],
        markdown=True,
    )
    
    
    agent.print_response(
        "Write a report on AAPL",
        stream=True,
        show_full_reasoning=True,
        stream_intermediate_steps=True
    )
    

    We initialize an Agno agent powered by Google’s Gemini (1.5 Flash) model, equip it with reasoning capabilities and YFinance tools to fetch stock data, analyst recommendations, company information, and news, and then stream a step-by-step, fully transparent report on AAPL, complete with chained reasoning and intermediate tool calls, directly to the Colab output.

    Copy CodeCopiedUse a different Browser
    finance_agent = Agent(
        name="Finance Agent",
        model=Gemini(id="gemini-1.5-flash"),
        tools=[
            YFinanceTools(
                stock_price=True,
                analyst_recommendations=True,
                company_info=True,
                company_news=True
            )
        ],
        instructions=[
            "Use tables to display stock price, analyst recommendations, and company info.",
            "Only output the financial report without additional commentary."
        ],
        markdown=True
    )
    
    
    risk_agent = Agent(
        name="Risk Assessment Agent",
        model=Gemini(id="gemini-1.5-flash"),
        tools=[
            YFinanceTools(
                stock_price=True,
                company_news=True
            ),
            ReasoningTools(add_instructions=True)
        ],
        instructions=[
            "Analyze recent price volatility and news sentiment to provide a risk assessment.",
            "Use tables where appropriate and only output the risk assessment section."
        ],
        markdown=True
    )
    

    These definitions create two specialized Agno agents using Google’s Gemini (1.5 Flash) model: the Finance Agent fetches and tabulates stock prices, analyst recommendations, company info, and news to deliver a concise financial report, while the Risk Assessment Agent analyzes price volatility and news sentiment, leveraging reasoning tools where needed, to generate a focused risk assessment section.

    Copy CodeCopiedUse a different Browser
    from agno.team.team import Team
    from textwrap import dedent
    
    
    team = Team(
        name="Finance-Risk Team",
        mode="coordinate",
        model=Gemini(id="gemini-1.5-flash"),
        members=[finance_agent, risk_agent],
        tools=[ReasoningTools(add_instructions=True)],
        instructions=[
            "Delegate financial analysis requests to the Finance Agent.",
            "Delegate risk assessment requests to the Risk Assessment Agent.",
            "Combine their outputs into one comprehensive report."
        ],
        markdown=True,
        show_members_responses=True,
        enable_agentic_context=True
    )
    
    
    task = dedent("""
    1. Provide a financial overview of AAPL.
    2. Provide a risk assessment for AAPL based on volatility and recent news.
    """)
    
    
    response = team.run(task)
    print(response.content)

    We assemble a coordinated “Finance-Risk Team” using Agno and Google Gemini. It delegates financial analyses to the Finance Agent and volatility/news assessments to the Risk Assessment Agent, then synthesizes their outputs into a single, comprehensive report. By calling team.run on a two-part AAPL task, it transparently orchestrates each expert agent and prints the unified result.

    Copy CodeCopiedUse a different Browser
    team.print_response(
        task,
        stream=True,
        stream_intermediate_steps=True,
        show_full_reasoning=True
    )
    

    We instruct the Finance-Risk Team to execute the AAPL task in real time, streaming each agent’s internal reasoning, tool invocations, and partial outputs as they happen. By enabling stream_intermediate_steps and show_full_reasoning, we’ll see exactly how Agno coordinates the Finance and Risk Assessment Agents step-by-step before delivering the final, combined report.

    In conclusion, harnessing Agno’s multi-agent teaming capabilities transforms what would traditionally be a monolithic AI workflow into a modular, maintainable system of experts. Each agent in the team can specialize in fetching financial metrics, parsing analyst sentiment, or evaluating risk factors. At the same time, Agno’s Team API orchestrates delegation, context-sharing, and final synthesis. The result is a robust, extensible architecture ranging from simple two-agent setups to complex ensembles with minimal code changes and maximal clarity.


    Check out the Colab Notebook. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. Don’t Forget to join our 90k+ ML SubReddit. For Promotion and Partnerships, please talk us.

    🔥 [Register Now] miniCON Virtual Conference on AGENTIC AI: FREE REGISTRATION + Certificate of Attendance + 4 Hour Short Event (May 21, 9 am- 1 pm PST) + Hands on Workshop

    The post Building AI Agents Using Agno’s Multi-Agent Teaming Framework for Comprehensive Market Analysis and Risk Reporting appeared first on MarkTechPost.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous Articlesnapborg synchronizes snapper snapshots to a borg repository
    Next Article Google Researchers Advance Diagnostic AI: AMIE Now Matches or Outperforms Primary Care Physicians Using Multimodal Reasoning with Gemini 2.0 Flash

    Related Posts

    Machine Learning

    How to Evaluate Jailbreak Methods: A Case Study with the StrongREJECT Benchmark

    August 4, 2025
    Machine Learning

    Ambisonics Super-Resolution Using A Waveform-Domain Neural Network

    August 4, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-47957 – Microsoft Office Word Use-After-Free Remote Code Execution Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Salesforce CRM: Redefining Business Integration in 2025

    Development

    Snowflake Charts New AI Territory: Cortex AISQL & Snowflake Intelligence Poised to Reshape Data Analytics

    Machine Learning

    IT Rack Setup Services in Delhi – Professional IT Infrastructure Solutions

    Web Development

    Highlights

    Development

    How to Track User Interactions in React with a Custom Event Logger

    July 28, 2025

    In today’s data-driven world, understanding how users interact with your application is no longer optional…

    Critical D-Link DIR-825 Router Flaw (CVE-2025-7206, CVSS 9.8): Remote Crash Via Buffer Overflow

    July 10, 2025

    Isembard raised $9M to address manufacturing capacity crisis in the West

    April 24, 2025

    Finally, a Lenovo ThinkPad that impressed me in performance, design, and battery life

    June 23, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.