nemo-agent


Namenemo-agent JSON
Version 3.0.2 PyPI version JSON
download
home_pagehttps://nemo-agent.com
SummaryYour Python AI Coder
upload_time2024-12-07 22:38:46
maintainerNone
docs_urlNone
authorBevan Hunt
requires_python<4.0,>=3.9
licenseMIT
keywords ai agent ai agent local ai agent python ai agent
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Nemo Agent

[![PyPI - Version](https://img.shields.io/pypi/v/nemo-agent)](https://pypi.org/project/nemo-agent/)

[![Nemo Agent](https://cdn.cometheart.com/nemo-agent-2.png)](https://cdn.cometheart.com/nemo-agent.mp4)

## Nemo Agent is your Python AI Coder!


https://github.com/user-attachments/assets/51cf6ad1-196c-44ab-99ba-0035365f1bbd


## Features
* Runs blazing fast
* Generates Python project structures automatically using `uv`
* Writes Python code based on task descriptions
* Executes development tasks using AI-generated commands
* Utilizes the `Ollama`, `OpenAI`, `Claude`, or `Gemini` language models for intelligent code generation
* Ability to import reference documents to guide the task implementation
* Allows importing existing code projects in multiple languages to serve as a reference for the task
* Enables the importation of csv data files to populate databases or graphs
* Implements best practices in Python development automatically
* Writes and runs passing tests using `pytest` up to 80%+ test coverage 
* Automatically fixes and styles code using `pylint` up to 7+/10
* Calculates and improves the complexity score using `complexipy` to be under 15
* Auto-formats the code with `autopep8`
* Shows the token count used for the responses

## Community
* Join our community - [Nemo Agent Telegram Group](https://t.me/+f-6nu2mUpgtiOGUx)

## Coding Ability
* `leetcode` hards
* `fastapi` or `flask` APIs
* `flask` web apps
* `streamlit` apps
* `tkinter` apps
* `jupyter notebook`
* Note: Not all runs will be successful with all models

## Install 

### OpenAI, Claude, or Gemini Install

#### Requirements
* Python 3.9 or higher
* OpenAI, Claude, or Gemini API KEY
* Mac or Linux
* No GPU requirement

#### Requirements Installation
* Install OpenAI, Claude, or GEMINI API KEY for `zsh` shell
    * `echo 'export OPENAI_API_KEY="YOUR_API_KEY"' >> ~/.zshrc` or
    * `echo 'export ANTHROPIC_API_KEY="YOUR_API_KEY"' >> ~/.zshrc` or
    * `echo 'export GEMINI_API_KEY="YOUR_API_KEY"' >> ~/.zshrc`
* `pip install nemo-agent`
* You are ready to use `nemo-agent`

### OR

### Ollama Install

#### Requirements
* Python 3.9 or higher
* Ollama running `qwen2.5-coder:32b`
* Linux with minimum specs of Ubuntu 24.04 with RTX 4090
  
#### Requirements Installation
* Ollama install instructions:
    * `curl -fsSL https://ollama.com/install.sh | sh`
    * `ollama pull qwen2.5-coder:32b`
* `pip install nemo-agent`
* You are ready to use `nemo-agent`

## Usage

### Providers
* `ollama`: `nemo-agent --provider ollama`
* `openai`: `nemo-agent --provider openai`
* `claude`: `nemo-agent --provider claude`
* `gemini`: `nemo-agent --provider gemini`

### Import Reference Documentation Into Prompt
* Documentation files must be either: .md (Markdown) or .txt (Text) and be located in a folder
* `nemo-agent --docs example_folder`

### Import Existing Code Projects Into Prompt
* Code files must be either: .py (Python), .php (PHP), .rs (Rust), .js (JavaScript), .ts (TypeScript), .toml (TOML), .json (JSON), .rb (Ruby), or .yaml (YAML) and be located in a folder
* `nemo-agent --code example_folder`

### Import Data Into Prompt
* Data files must be .csv (CSV) and be located in a folder
* `nemo-agent --data example_folder`

### Prompting

#### CLI
* `nemo-agent "create a fizzbuzz script"`

#### OR

#### File Prompt
* Prompt file must be markdown (.md) or text files (.txt)
* `nemo-agent --file example.md` or 
* `nemo-agent --file example.txt`

### Run Generated Program
* `cd generated_project_folder`
* `source .venv/bin/activate`
* `python main.py`

## Default Models 
* `ollama` is `qwen2.5-coder:32b` (default model)
* `openai` is `gpt-4o`
* `claude` is `claude-3-5-sonnet-20241022`
* `gemini` is `gemini-1.5-pro`

## Select Models
* `nemo-agent "my_prompt" --provider ollama --model nemotron`

## OpenAI o1 Support
* Supports `o1-mini` and `o1-preview`
* `nemo-agent "my prompt" --provider openai --model o1-mini`

## Contributing
Contributions to Nemo Agent 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
Nemo Agent generates code using an LLM. Every run is different as the LLM generated code is different. While it strives for accuracy and best practices, the generated code should be reviewed and tested before being used in a production environment.


            

Raw data

            {
    "_id": null,
    "home_page": "https://nemo-agent.com",
    "name": "nemo-agent",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "ai, agent, ai agent, local ai agent, python ai agent",
    "author": "Bevan Hunt",
    "author_email": "bevan@bevanhunt.com",
    "download_url": "https://files.pythonhosted.org/packages/0e/94/72cac807a74ec293af14f1548ad68132a2556b735388b2be7f118ff5ef52/nemo_agent-3.0.2.tar.gz",
    "platform": null,
    "description": "# Nemo Agent\n\n[![PyPI - Version](https://img.shields.io/pypi/v/nemo-agent)](https://pypi.org/project/nemo-agent/)\n\n[![Nemo Agent](https://cdn.cometheart.com/nemo-agent-2.png)](https://cdn.cometheart.com/nemo-agent.mp4)\n\n## Nemo Agent is your Python AI Coder!\n\n\nhttps://github.com/user-attachments/assets/51cf6ad1-196c-44ab-99ba-0035365f1bbd\n\n\n## Features\n* Runs blazing fast\n* Generates Python project structures automatically using `uv`\n* Writes Python code based on task descriptions\n* Executes development tasks using AI-generated commands\n* Utilizes the `Ollama`, `OpenAI`, `Claude`, or `Gemini` language models for intelligent code generation\n* Ability to import reference documents to guide the task implementation\n* Allows importing existing code projects in multiple languages to serve as a reference for the task\n* Enables the importation of csv data files to populate databases or graphs\n* Implements best practices in Python development automatically\n* Writes and runs passing tests using `pytest` up to 80%+ test coverage \n* Automatically fixes and styles code using `pylint` up to 7+/10\n* Calculates and improves the complexity score using `complexipy` to be under 15\n* Auto-formats the code with `autopep8`\n* Shows the token count used for the responses\n\n## Community\n* Join our community - [Nemo Agent Telegram Group](https://t.me/+f-6nu2mUpgtiOGUx)\n\n## Coding Ability\n* `leetcode` hards\n* `fastapi` or `flask` APIs\n* `flask` web apps\n* `streamlit` apps\n* `tkinter` apps\n* `jupyter notebook`\n* Note: Not all runs will be successful with all models\n\n## Install \n\n### OpenAI, Claude, or Gemini Install\n\n#### Requirements\n* Python 3.9 or higher\n* OpenAI, Claude, or Gemini API KEY\n* Mac or Linux\n* No GPU requirement\n\n#### Requirements Installation\n* Install OpenAI, Claude, or GEMINI API KEY for `zsh` shell\n    * `echo 'export OPENAI_API_KEY=\"YOUR_API_KEY\"' >> ~/.zshrc` or\n    * `echo 'export ANTHROPIC_API_KEY=\"YOUR_API_KEY\"' >> ~/.zshrc` or\n    * `echo 'export GEMINI_API_KEY=\"YOUR_API_KEY\"' >> ~/.zshrc`\n* `pip install nemo-agent`\n* You are ready to use `nemo-agent`\n\n### OR\n\n### Ollama Install\n\n#### Requirements\n* Python 3.9 or higher\n* Ollama running `qwen2.5-coder:32b`\n* Linux with minimum specs of Ubuntu 24.04 with RTX 4090\n  \n#### Requirements Installation\n* Ollama install instructions:\n    * `curl -fsSL https://ollama.com/install.sh | sh`\n    * `ollama pull qwen2.5-coder:32b`\n* `pip install nemo-agent`\n* You are ready to use `nemo-agent`\n\n## Usage\n\n### Providers\n* `ollama`: `nemo-agent --provider ollama`\n* `openai`: `nemo-agent --provider openai`\n* `claude`: `nemo-agent --provider claude`\n* `gemini`: `nemo-agent --provider gemini`\n\n### Import Reference Documentation Into Prompt\n* Documentation files must be either: .md (Markdown) or .txt (Text) and be located in a folder\n* `nemo-agent --docs example_folder`\n\n### Import Existing Code Projects Into Prompt\n* Code files must be either: .py (Python), .php (PHP), .rs (Rust), .js (JavaScript), .ts (TypeScript), .toml (TOML), .json (JSON), .rb (Ruby), or .yaml (YAML) and be located in a folder\n* `nemo-agent --code example_folder`\n\n### Import Data Into Prompt\n* Data files must be .csv (CSV) and be located in a folder\n* `nemo-agent --data example_folder`\n\n### Prompting\n\n#### CLI\n* `nemo-agent \"create a fizzbuzz script\"`\n\n#### OR\n\n#### File Prompt\n* Prompt file must be markdown (.md) or text files (.txt)\n* `nemo-agent --file example.md` or \n* `nemo-agent --file example.txt`\n\n### Run Generated Program\n* `cd generated_project_folder`\n* `source .venv/bin/activate`\n* `python main.py`\n\n## Default Models \n* `ollama` is `qwen2.5-coder:32b` (default model)\n* `openai` is `gpt-4o`\n* `claude` is `claude-3-5-sonnet-20241022`\n* `gemini` is `gemini-1.5-pro`\n\n## Select Models\n* `nemo-agent \"my_prompt\" --provider ollama --model nemotron`\n\n## OpenAI o1 Support\n* Supports `o1-mini` and `o1-preview`\n* `nemo-agent \"my prompt\" --provider openai --model o1-mini`\n\n## Contributing\nContributions to Nemo Agent are welcome! Please feel free to submit a Pull Request.\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\nNemo Agent generates code using an LLM. Every run is different as the LLM generated code is different. While it strives for accuracy and best practices, the generated code should be reviewed and tested before being used in a production environment.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Your Python AI Coder",
    "version": "3.0.2",
    "project_urls": {
        "Homepage": "https://nemo-agent.com",
        "Repository": "https://github.com/truemagic-coder/nemo-agent"
    },
    "split_keywords": [
        "ai",
        " agent",
        " ai agent",
        " local ai agent",
        " python ai agent"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5faaddc611ea89c0218cc016f72c26824779f0408580818048a0e440ceb27287",
                "md5": "91cf2a5937971ecc3c75c47615631df4",
                "sha256": "acea83c9a0d113d81bea721423ff038d49b1cede829b3b8c3bd45b097ac41b21"
            },
            "downloads": -1,
            "filename": "nemo_agent-3.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "91cf2a5937971ecc3c75c47615631df4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 13602,
            "upload_time": "2024-12-07T22:38:44",
            "upload_time_iso_8601": "2024-12-07T22:38:44.353643Z",
            "url": "https://files.pythonhosted.org/packages/5f/aa/ddc611ea89c0218cc016f72c26824779f0408580818048a0e440ceb27287/nemo_agent-3.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e9472cac807a74ec293af14f1548ad68132a2556b735388b2be7f118ff5ef52",
                "md5": "35ebf349e9228bf23272046ec67026b3",
                "sha256": "dfa19a8de9f4d768a12f7a002274c163b8e20b31b1bfaf12992ebd8434bfc51c"
            },
            "downloads": -1,
            "filename": "nemo_agent-3.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "35ebf349e9228bf23272046ec67026b3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 14298,
            "upload_time": "2024-12-07T22:38:46",
            "upload_time_iso_8601": "2024-12-07T22:38:46.135014Z",
            "url": "https://files.pythonhosted.org/packages/0e/94/72cac807a74ec293af14f1548ad68132a2556b735388b2be7f118ff5ef52/nemo_agent-3.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-07 22:38:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "truemagic-coder",
    "github_project": "nemo-agent",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nemo-agent"
}
        
Elapsed time: 0.41436s