Vote this Project Here
January 6, 2025 Β· View on GitHub
Note : Running Locally is the Best Option as the API Keys might get exhausted after some time and the app would not work as expected.
π About
Not everyone can code, but everyone can learn.
This project is an AI-powered DSA/Competitive Programming Helper with an inbuilt editor to help you:
- Prepare for coding interviews
- Start learning how to code from scratch
- Visualize everything with intuitive representations
Experience the future of coding education!
π Live Demo: learn-coding-with-copilotkit.vercel.app
π Why CopilotKit?
- Seamless Integration: Build AI copilots that enhance user experiences effortlessly.
- Open Source: Join a thriving community of developers using and contributing to CopilotKit.
- Future-Ready: Perfect for in-app AI agents, context-aware chatbots, shared state and beyond!
Learn more about CopilotKit.
π οΈ Project Description
Learn coding in a revolutionary way using CopilotKit, CoAgents, and LangGraphs! This project showcases how cutting-edge tools can simplify coding education through interactive UI and AI-driven technologies.
Key Features:
- π CopilotKit: Effortlessly integrate AI copilots into your apps, enabling in-app chatbots, context-aware interactions, and more.
- π€ CoAgents: A robust infrastructure for connecting LangGraph agents to humans in the loop, enabling seamless collaboration.
- π LangGraphs: Visual representations of programming languages to simplify understanding of their structure and syntax.
- π₯οΈ Inbuilt Editor: A powerful coding editor designed to boost productivity and learning.
Screenshots
View Achieved Accuracy
ποΈ Tech Stack
Frontend:
Backend:
APIs:
π Topics Covered
- TypeScript
- Next.js
- Competitive Programming
- Tailwind CSS
- Render Deployment
- Koyeb API
- ShadCN-UI
- Llama-70B
- Groq AI
- CopilotKit
- LangGraph (Python)
- CoAgents
βοΈ Installation
Clone the repository:
git clone https://github.com/<your-repo-name>.git
π§© Configuration
-
Install the dependencies for the backend:
cd agent poetry install -
Create a
.envfile in the./agentdirectory:GROQ_API_KEY=your_groq_api_key_here -
Run the demo:
poetry run demo
π₯οΈ Running the UI
-
Install the dependencies for the frontend:
cd ./frontend-interface npm i --legacy-peer-deps -
Create a
.envfile in the./frontend-interfacedirectory:GROQ_API_KEY=your_groq_api_key_here -
Run the Next.js project:
npm run dev -
Navigate to http://localhost:3000.
π₯οΈ Running the Backend
-
Install the dependencies for the backend:
cd ./backend pip install -r -requirements.txt -
Create a
.envfile in the./frontend-interfacedirectory:GROQ_API_KEY=your_groq_api_key_here -
Run the FAST API server:
python run_agent.py
π§βπ» Usage
-
Launch LangGraph Studio:
Run LangGraph Studio and load the./agentfolder into it. -
Ensure proper configuration: Make sure the
.envfile is properly configured as mentioned in the setup steps.
π§ Troubleshooting
If you encounter any issues, try the following:
- Ensure no other application is running on port
8000. - In
/agent/dsa_agent/demo.py, change0.0.0.0to127.0.0.1orlocalhost.
π License
This project is UN Licensed.
Give CopilotKit a β on GitHub if you love it!