Skip to content

CopilotKit/CopilotKit-Deepmind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CopilotKit-Deepmind

Post Generator Agent

Demo

Stack Analyzing Agent

Demo

A demo project with a Next.js frontend and a FastAPI-based backend agent for Post Generation and Stack Analyzing using Google Gemini.


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.