skillfed

npmai-agents

Production-grade autonomous AI agent framework with 1,371 tools across 100 classes and a 5-role LLM pipeline — built on the NPMAI ECOSYSTEM.

npmai-agents v1.0.2 236.3K downloads/30d#8,986 on PyPI1
Permissive license MIT Active released

What it is and what it does

npmai_agents is an autonomous AI agent framework that breaks down plain-English tasks into a structured 5-stage pipeline: Planner (breaks down the task), Tool Manager (selects relevant tools), Coder (generates execution code), Auditor (security review), and Verifier (validates results). The core innovation is pre-compiled tool knowledge — each of the 1,371 tools across 100 classes ships with structured metadata that the pipeline reads on-demand, eliminating hallucination on API shapes and method signatures.

You can run tasks via CLI (`npmai run "your task"`) or programmatically by importing AgentBrain and other classes. The framework supports 12 LLM providers including free NPMAI-hosted models, OpenAI, Groq, Anthropic, Gemini, and local Ollama. By default all roles use free NPMAI models with zero setup; you can override any role's provider and model per-call. Tool dependencies auto-install at runtime unless you pre-install the full extra (`pip install npmai_agents[full]`), keeping the base install lightweight.

Use it for:

  • Automate multi-step business workflows (e.g., scrape data, analyze it, generate reports, email results) without writing orchestration code
  • Build desktop automation tasks that interact with files, APIs, and local tools using natural language instead of shell scripts
  • Prototype and iterate on agentic AI solutions using free LLM models before committing to paid providers
  • Execute security-audited code generation tasks where the Auditor role reviews generated code before execution
  • Integrate with external services (Stripe, GitHub, Slack) via pre-built tool classes without managing API client libraries individually

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Autonomous AI agent framework that executes plain-English tasks through a 5-role LLM pipeline, with access to 1,371 tools across 100 classes and support for 12 LLM providers including free NPMAI models, OpenAI, Groq, Anthropic, and Gemini.

Yes, if you want to experiment with autonomous AI agents or automate complex multi-step tasks. The framework is actively maintained, has low install friction, carries no license restrictions, and offers genuine value through its pre-compiled tool registry and free LLM tier. Start with the minimal install and upgrade to `[full]` only if you need all 1,371 tools available immediately. Verify that the specific tools and LLM providers you need are stable and well-documented before committing to production use.

Install

npmai-agents on PyPI

pip

pip install npmai-agents

uv

uv add npmai-agents

poetry

poetry add npmai-agents

Installing npmai-agents

Before you install

Low friction install with pure Python wheel distribution. Active maintenance with recent release (38 days ago) and ongoing commits. Five runtime dependencies (npmai, requests, cryptography, typer, rich) are all stable, widely-used libraries with minimal transitive overhead.

License in practice

MIT license is permissive — you can use this in commercial projects, modify it freely, and distribute it with minimal restrictions. No copyleft obligations or patent clauses.

Quickstart

pip install npmai_agents

from npmai_agents import AgentBrain

# Run a task through the 5-role pipeline
agent = AgentBrain()
result = agent.run("Analyze my sales.csv and create a revenue report")

Requires Python 3.9 or later. LLM provider credentials (API keys) must be saved via CLI for non-NPMAI providers; NPMAI free tier requires no setup.

Verify before relying

  • Whether the 1,371 tools and 100 classes are all functional and well-maintained in the current release
  • Real-world latency and reliability of the 5-role pipeline on complex multi-step tasks
  • How tool dependency auto-installation at runtime handles version conflicts or missing system libraries
  • Whether the framework handles long-running tasks and recovery from transient LLM provider failures

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 5 — npmai, requests, cryptography, typer, rich
Maintenance actively maintained — 38 days since the last release
Last repo commit
First released
Downloads 236,319/month — #8,986 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: npmai_agents-1.0.2-py3-none-any.whl

Keywords: ai, agent, automation, llm, npmai, npmai-ecosystem, desktop-automation, multi-agent, rag, open-source, tool-registry, agentic-ai, free-llm, autonomous-agent, local-llm, sonukumar, sonukumarnpmai, sonukumarviralboy

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Office/Business :: SchedulingTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Systems Administration

Tags

autonomous ai agent frameworkllm multi-agent orchestrationtask automation with ailocal tool registry for agentsfree llm agent pipelinedesktop automation aiagentic ai framework python
multi-agent-orchestrationautonomous-aifree-llm

More Python Modules packages

Further reading