An AI Agent for python code gen using the Mistral-Nemo Ollama framework.
Project description
NemoAgent
NemoAgent is an AI Agent for Python codegen using the Mistral-Nemo Ollama framework. It creates project structures, writes code, writes tests, runs tests, and performs development tasks based on natural language prompts.
Features
- Runs completely local
- Generate Python project structures automatically
- Write Python code based on task descriptions
- Execute development tasks using AI-generated commands
- Utilize the Mistral-Nemo language model for intelligent code generation and testing
- Implement best practices in Python development automatically
Installation
You can install NemoAgent using pip:
pip install nemo-agent
Usage
After installation, you can use NemoAgent from the command line:
nemo-agent "Your task description here"
If you run nemo-agent without any arguments, it will prompt you to enter a task.
Examples
Create a simple calculator:
nemo-agent "Create a simple calculator with add, subtract, multiply, and divide functions with tests"
Generate a web scraper:
nemo-agent "Build a web scraper to extract headlines from a news website with tests"
Develop a basic API:
nemo-agent "Create a Flask API with endpoints for user registration and login with tests"
How It Works
NemoAgent uses the Mistral-Nemo language model to interpret your task description. It generates a project structure and necessary files based on the task. The AI writes Python code to implement the requested functionality. NemoAgent can execute various development tasks like creating virtual environments, installing dependencies, and running tests.
Requirements
- Python 3.12.4 or higher
- Ollama running mistral-nemo
- Linux
- Minimum of an RTX 4070
Contributing
Contributions to NemoAgent are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
NemoAgent generates code using AI. While it strives for accuracy and best practices, the generated code should be reviewed and tested before use in production environments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nemo_agent-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6898116ae12485f92ffd19c415904ba2066f54bc668ccb6477b49371c492e87 |
|
MD5 | db7392003d9f19d1f8db091cb469cd1b |
|
BLAKE2b-256 | 9d1ddb9d4b4cf8de6e0aa36def5d3f58e31095719b85af761d8b71c927d370e9 |