Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinAgent: A Hybrid Financial AI Agent

FinAgent is a lightweight financial AI agent that leverages OpenAI's GPT-4 and the Alpha Vantage API to provide intelligent, real-time responses to financial queries. By combining conversational AI with external APIs, FinAgent demonstrates the power and flexibility of hybrid agents in modern application development.


Features

  • Conversational AI: Uses OpenAI GPT-4 to understand and process user queries.
  • Real-Time Financial Data: Integrates with the Alpha Vantage API to fetch up-to-date stock and financial information.
  • Hybrid Workflow: Combines language understanding and API integration for intelligent, data-driven insights.

Medium Article

Read a walkthrough of this project on Medium: The Hybrid AI Agent: Integrating ChatGPT with External API


Setup Instructions

Prerequisites

  • Python 3.7+
  • Alpha Vantage API Key (Get one from Alpha Vantage)
  • OpenAI API Key (Sign up at OpenAI)

Installation

Clone the repository:

   git clone https://github.com/your-username/finagent.git
   cd finagent

Install the required dependencies:

pip install -r requirements.txt

Set up your API keys in the .env file:

OPENAI_API_KEY = "your_openai_api_key"
ALPHAV_API_KEY = "your_alpha_vantage_api_key"

Usage

python agent.py

About

inAgent is a lightweight financial AI agent that leverages OpenAI's GPT-4 and the Alpha Vantage API to provide intelligent, real-time responses to financial queries.

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages