An AI-powered Command-Line Coding Agent that helps you generate, debug, and run Python code directly from your terminal.
- Generate and execute Python scripts automatically
- Integrates OpenAI API for intelligent code suggestions
- Simple CLI commands for seamless interaction
- Lightweight and easy to set up
- Clone the repository using
git clone https://github.com/<your-username>/cli-coding-assistant.git - Navigate to the project directory using
cd cli-coding-assistant - Install dependencies with
pip install -r requirements.txt - Create a
.envfile and add your OpenAI API key:OPENAI_API_KEY=your_api_key_here
- Run the agent using
python agent.py
When prompted, type what you want the agent to build.
Example:
create a TODO app using HTML, CSS, and JS with CRUD operations
- Python 3.8 or higher
- openai
- python-dotenv
- pydantic
- requests