|
| 1 | +# NemoAgent |
| 2 | +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. |
| 3 | + |
| 4 | +## Features |
| 5 | +* Runs completely local |
| 6 | +* Generate Python project structures automatically |
| 7 | +* Write Python code based on task descriptions |
| 8 | +* Execute development tasks using AI-generated commands |
| 9 | +* Utilize the Mistral-Nemo language model for intelligent code generation and testing |
| 10 | +* Implement best practices in Python development automatically |
| 11 | + |
| 12 | +## Installation |
| 13 | +You can install NemoAgent using pip: |
| 14 | + |
| 15 | +`pip install nemo-agent` |
| 16 | + |
| 17 | +## Usage |
| 18 | +After installation, you can use NemoAgent from the command line: |
| 19 | + |
| 20 | +`nemo-agent "Your task description here"` |
| 21 | +If you run nemo-agent without any arguments, it will prompt you to enter a task. |
| 22 | + |
| 23 | +## Examples |
| 24 | +Create a simple calculator: |
| 25 | + |
| 26 | +`nemo-agent "Create a simple calculator with add, subtract, multiply, and divide functions with tests"` |
| 27 | + |
| 28 | +Generate a web scraper: |
| 29 | + |
| 30 | +`nemo-agent "Build a web scraper to extract headlines from a news website with tests"` |
| 31 | + |
| 32 | +Develop a basic API: |
| 33 | + |
| 34 | +`nemo-agent "Create a Flask API with endpoints for user registration and login with tests"` |
| 35 | + |
| 36 | +## How It Works |
| 37 | + |
| 38 | +NemoAgent uses the Mistral-Nemo language model to interpret your task description. |
| 39 | +It generates a project structure and necessary files based on the task. |
| 40 | +The AI writes Python code to implement the requested functionality. |
| 41 | +NemoAgent can execute various development tasks like creating virtual environments, installing dependencies, and running tests. |
| 42 | + |
| 43 | +## Requirements |
| 44 | +* Python 3.12.4 or higher |
| 45 | +* Ollama running mistral-nemo |
| 46 | +* Linux |
| 47 | +* Minimum of an RTX 4070 |
| 48 | + |
| 49 | +## Contributing |
| 50 | +Contributions to NemoAgent are welcome! Please feel free to submit a Pull Request. |
| 51 | + |
| 52 | +## License |
| 53 | +This project is licensed under the MIT License - see the LICENSE file for details. |
| 54 | + |
| 55 | +## Disclaimer |
| 56 | +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. |
0 commit comments