Skip to content

Python Coding Agent is an Crew AI Agent built using OpenAI's GPT-3.5 and Groq, designed to help with coding tasks such as generating code snippets, debugging, and providing code explanations. It aims to enhance productivity and learning through interactive sessions.

License

Notifications You must be signed in to change notification settings

LikithMeruvu/Python-coding-Agent

Repository files navigation

Python Coding Agent

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.

Table of Contents

Features

  • 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.

Installation

  1. Clone the Repository:

    git clone https://github.com/LikithMeruvu/Python-coding-Agent.git
    cd Python-coding-Agent
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install Dependencies:

    pip install -r requirements.txt

Usage

Open Respective Files and Add you API info in Variables specified by 'your_api'

  1. Run the Agent with GroqAPI:

    python python-coding-agent.py

    Run the Agent with OPENAI_API:

    python openai-agent.py
  2. Interact with the Agent:

    • The agent will prompt you for input. Provide your coding queries, and the agent will respond accordingly.

File Descriptions

  • 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.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please open an issue or reach out to the maintainer:

About

Python Coding Agent is an Crew AI Agent built using OpenAI's GPT-3.5 and Groq, designed to help with coding tasks such as generating code snippets, debugging, and providing code explanations. It aims to enhance productivity and learning through interactive sessions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages