Skip to content

The Coding Agent is an intelligent, terminal-friendly AI assistant built using Agno, Groq and llama language model . It’s designed to help developers quickly search, generate, and refine code snippets without leaving their workflow.

License

Notifications You must be signed in to change notification settings

Prabrit/Coding-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding_agent_logo

Coding Agent - A terminal-based AI assistant designed to help developers search, generate, and understand code quickly.

Features

  • Code-Only Focus – Only answers programming and computer-related questions.
  • Source-Backed Results – Every answer includes a source link for verification.
  • Web-Integrated – Uses DuckDuckGo for real-time code search.
  • Strict Domain Control – Rejects non-coding questions politely.

Tech Stack

  • Agno – AI agent orchestration.
  • Groq – High-performance large language model inference.
  • DuckDuckGo Search Tool – Retrieves real-time coding resources.
  • Python – Core programming language.
  • dotenv – For environment variable management.

Installation & Setup

1️⃣ Clone the repository

git clone https://github.com/Prabrit/Coding-Agent.git
cd coding-agent

2️⃣ Python environment Setup

python3 -m .venv venv

3️⃣ Install dependencies

  • All the dependencies are given in the requirements.txt file with it's version . Just run the command bellow in your terminal to install them .
  pip install -r requirements.txt

4️⃣ Set up environment variables

  • Replace the fields shown bellow in the .env file with your API keys:
  PHI_DATA_KEY="PROVIDE YOUR PHIDATA API KEY HERE"
  GROQ_API_KEY="PROVIDE YOUR GROQ API KEY HERE"
  AGNO_API_KEY="PROVIDE YOUR AGNO API KEY HERE"
  EXA_API_KEY="PROVIDE YOUR EXA API KEY HERE"

5️⃣ Run the Coding Agent

python3 Coding_agent.py

Usage

Once running, you can ask any coding-related question:

Enter your question (or type 'exit' to quit):

If you ask a non-coding question:

I am very Sorry 🥹 , It is not from my domain , Please ask me about some coding related stuffs 🤗

Example Screenshots

  • Solving Leetcode 50 using agent

    Draw
  • Now giving it a non coding question

    Draw

📜 License

This project is licensed under the MIT License – feel free to use and modify it.

About

The Coding Agent is an intelligent, terminal-friendly AI assistant built using Agno, Groq and llama language model . It’s designed to help developers quickly search, generate, and refine code snippets without leaving their workflow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages