![]() |
---|
- 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.
- 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.
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
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 🤗
This project is licensed under the MIT License – feel free to use and modify it.