Skip to content

acwdc/financial-agent-ui

 
 

Repository files navigation

Welcome 👋

This is a generative UI financial agent.

We use Vercel's AI SDK and LangChain agents to dynamically answer and render UI.

In addition, we use Polygon's Stocks API to get real-time stock data and financials.

Twitter Follow

Getting Started 🚀

Screenshot 2024-06-05 at 9 27 43 PM

Make sure that you have an OpenAI and Polygon API key.

  1. Download the repo locally:

    git clone https://github.com/virattt/financial-agent-ui.git
    
  2. Create a .env file in the root project directory (next to .env.example) and add the following:

    OPENAI_API_KEY=YOUR_OPENAI_API_KEY      # Get one at https://platform.openai.com
    POLYGON_API_KEY=YOUR_POLYGON_API_KEY    # Get one at https://polygon.io
    
  3. Install dependencies:

    npm install
    
  4. Run the app:

    npm dev
    
  5. Chat with the agent!

Disclaimer 🛑

The goal of this application is only to explore generative AI and UI.

This financial agent is not intended as financial advice. It is designed to provide users with tools and information to explore technical concepts with respect to generative AI only. Users should conduct their own research or consult with a financial advisor before making any financial decisions.

Contributing 👷‍♂️

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License 📜

This project is licensed under the MIT License.

Contributors ❤️

About

Financial agent + generative UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 97.8%
  • CSS 2.0%
  • JavaScript 0.2%