Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

open-ag-ui-demo

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

  •  
  •