Skip to content

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 or just start coding. What's better? VIsualise Everything

License

Notifications You must be signed in to change notification settings

ARYPROGRAMMER/Learn-Coding-with-Copilotkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

Learn Coding with CopilotKit, CoAgents, and LangGraphs๐Ÿš€

Cover Image

๐Ÿ“– 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
Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

๐Ÿ—๏ธ 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

  1. Install the dependencies for the backend:

    cd agent  
    poetry install  
  2. Create a .env file in the ./agent directory:

    GROQ_API_KEY=your_groq_api_key_here  
    
  3. Run the demo:

    poetry run demo  

๐Ÿ–ฅ๏ธ Running the UI

  1. Install the dependencies for the frontend:

    cd ./frontend-interface  
    npm i --legacy-peer-deps  
  2. Create a .env file in the ./frontend-interface directory:

    GROQ_API_KEY=your_groq_api_key_here  
    
  3. Run the Next.js project:

    npm run dev  
  4. Navigate to http://localhost:3000.


๐Ÿ–ฅ๏ธ Running the Backend

  1. Install the dependencies for the backend:

    cd ./backend  
    pip install -r -requirements.txt  
  2. Create a .env file in the ./frontend-interface directory:

    GROQ_API_KEY=your_groq_api_key_here  
    
  3. Run the FAST API server:

    python run_agent.py  

๐Ÿง‘โ€๐Ÿ’ป Usage

  1. Launch LangGraph Studio:
    Run LangGraph Studio and load the ./agent folder into it.

  2. Ensure proper configuration: Make sure the .env file is properly configured as mentioned in the setup steps.


๐Ÿ”ง Troubleshooting

If you encounter any issues, try the following:

  1. Ensure no other application is running on port 8000.
  2. In /agent/dsa_agent/demo.py, change 0.0.0.0 to 127.0.0.1 or localhost.

๐Ÿ“œ License

This project is UN Licensed.


Give CopilotKit a โญ on GitHub if you love it!

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 or just start coding. What's better? VIsualise Everything

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published