A versatile Python agent utilizing OpenAI's GPT-3.5 to assist with various coding tasks, from generating code snippets to providing debugging help. This project aims to streamline the coding process by leveraging AI for enhanced productivity and learning.
- Code Generation: Generate code snippets based on natural language prompts.
- Debugging Assistance: Get help with debugging Python code.
- Code Explanation: Understand complex code with detailed explanations.
- Interactive Sessions: Engage in interactive coding sessions with the agent.
-
Clone the Repository:
git clone https://github.com/LikithMeruvu/Python-coding-Agent.git cd Python-coding-Agent
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Dependencies:
pip install -r requirements.txt
Open Respective Files and Add you API info in Variables specified by 'your_api'
-
Run the Agent with GroqAPI:
python python-coding-agent.py
Run the Agent with OPENAI_API:
python openai-agent.py
-
Interact with the Agent:
- The agent will prompt you for input. Provide your coding queries, and the agent will respond accordingly.
- langgraph.py: Contains the logic for the agents in langgraph.
- openai-agent.py: Manages interactions with the OpenAI API.
- python-coding-agent.py: Core functionality of the Python coding agent.
- temp.py: Temporary file for testing and experimentation.
- requirements.txt: Lists all the dependencies required to run the project.
- README.md: Provides an overview and usage instructions for the project.
- LICENSE: License information for the project.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please open an issue or reach out to the maintainer:
- GitHub: LikithMeruvu