Skip to content

copilotkit-support/open-ag-ui-demo-langgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

open-ag-ui-demo

A demo project with a Next.js frontend and a FastAPI-based backend agent for stock analysis and chat.


Project Structure

  • frontend/ — Next.js 15 app (UI)
  • agent/ — FastAPI backend agent (Python)

Getting Started

1. Environment Configuration

Create a .env file in each relevant directory as needed.

Backend (agent/.env):

GOOGLE_API_KEY=<<your-gemini-key-here>>

Frontend (frontend/.env):

GOOGLE_API_KEY=<<your-gemini-key-here>>

2. Start the Backend Agent

cd agent
poetry install
poetry run python main.py

3. Start the Frontend

cd frontend
pnpm install
pnpm run dev

Open http://localhost:3000 in your browser to view the app.


Notes

  • Ensure the backend agent is running before using the frontend.
  • Update environment variables as needed for your deployment.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy