Finance_AgenticAI

Financial Agentic AI redefines financial analysis by integrating cutting-edge AI with real-time web search capabilities. This multi-agent system brings together financial insights and web intelligence to deliver precise, actionable, and up-to-date stock market information, all tailored to your needs.

24
11
Python

First Of All A Big Thanks To Krish Naik Sir!

🌟 Financial Agentic AI: Your Ultimate Stock Market Companion 🌟

Financial Agentic AI redefines financial analysis by integrating cutting-edge AI with real-time web search capabilities. This multi-agent system brings together financial insights and web intelligence to deliver precise, actionable, and up-to-date stock market information, all tailored to your needs.


✨ Highlights

  • πŸ€– Intelligent Agents: A robust team of AI agents designed for specialized roles, ensuring accurate and comprehensive results.
  • πŸ“Š Financial Insights: Dive deep into stock prices, company news, analyst recommendations, and historical trends with advanced tools.
  • 🌐 Real-Time Web Search: Augment your financial knowledge with live updates from Google Search and DuckDuckGo, ensuring nothing escapes your radar.
  • πŸ“ˆ Unified System: Experience seamless integration of financial and web-based intelligence, empowering your stock market decisions like never before.

πŸ”§ Features

1. Web Search Agent

  • Purpose: Scours the web for relevant, real-time data.
  • Tools:
    • Google Search: Fixed language and results for consistency.
    • DuckDuckGo: Privacy-conscious searches with maximum results tailored to your query.
  • Capabilities:
    • Always includes sources for transparency.
    • Displays results in Markdown format for readability.

2. Financial Insights Agent

  • Purpose: Analyzes stock market trends and financial data.
  • Tools:
    • YFinanceTools: Tracks stock prices, company news, analyst recommendations, and historical prices.
  • Capabilities:
    • Provides structured insights in easy-to-read tables.
    • Combines data visualization and textual summaries for clarity.

3. Multi-Agent Integration

  • Purpose: Combines the power of Web Search and Financial Insights agents.
  • Capabilities:
    • Delivers a holistic view of the stock market.
    • Responds to queries with multi-dimensional insights for better decision-making.

πŸ” How It Works

  1. Agent-Based Architecture:

    • Build highly specialized AI agents using the phi.agent framework.
  2. Real-Time Data Processing:

    • Access live financial and web-based information using APIs.
  3. Intuitive Interaction:

    • Get responses enriched with tables, Markdown formatting, and always backed by credible sources.
  4. Query Example:

    • Question: β€œSummarize analyst recommendations and share the latest news for Nvidia.”
    • Response: A structured table highlighting analyst sentiments, news trends, and real-time updates.

πŸš€ Quickstart

Step 1: Clone the Repository

git clone https://github.com/yourusername/financial-agentic-ai.git
cd financial-agentic-ai

Step 2: Install Dependencies

pip install -r requirements.txt

Step 3: Set Up Environment Variables

  • Create a .env file with the following keys:
    GROQ_API_KEY=your_groq_api_key
    

Step 4: Run the Script

python financial_agent.py

πŸ“š Key Technologies

  • phi.agent: Modular AI agent framework.
  • Groq Model: AI model powering intelligent decision-making.
  • YFinanceTools: Real-time financial data analysis.
  • Google Search & DuckDuckGo APIs: Live web search integration.

🎯 Use Cases

  • Financial analysts seeking reliable and actionable insights.
  • Stock market enthusiasts looking for real-time updates.
  • AI researchers exploring multi-agent architectures.

πŸ’‘ Why Choose Financial Agentic AI?

  • Dynamic Intelligence: Combines financial and web insights in a single response.
  • Transparency: Always includes sources and structured outputs for trustworthiness.
  • Customizable: Fully adaptable to various financial scenarios.