The package manager for AI agents. Install, publish, and deploy across Claude Code, Cursor, Codex, and more.
<p align="center">
<img src="logo.png" alt="anpm" width="120">
</p>
<h1 align="center">anpm</h1>
<p align="center">
<strong>The package manager for AI agents.</strong><br>
One line to install. One command to publish across 8+ AI tools.
</p>
<p align="center">
<a href="https://www.npmjs.com/package/anpm-io"><img src="https://img.shields.io/npm/v/anpm-io?color=blue&label=npm" alt="npm version"></a>
<a href="https://www.npmjs.com/package/anpm-io"><img src="https://img.shields.io/npm/dm/anpm-io?color=green&label=downloads" alt="npm downloads"></a>
<a href="https://github.com/anpm-io/anpm"><img src="https://img.shields.io/github/stars/anpm-io/anpm?style=social" alt="GitHub stars"></a>
<a href="https://github.com/anpm-io/anpm/blob/main/LICENSE"><img src="https://img.shields.io/github/license/anpm-io/anpm" alt="MIT License"></a>
</p>
<br>
## Install and use an agent
```bash
npm i -g anpm-io
anpm install @acme/code-reviewer
```
```
✓ code-reviewer installed v1.2.0 by @acme
scope: global | files: 5, symlinks: 2
Included commands:
/review — Review code changes
/suggest — Suggest improvements
💡 Usage: /review
```
That's it. The agent works in Claude Code, Cursor, Codex, Cursor CLI, and 4 more tools — no extra config.
```bash
# Install from GitHub — any repo with .cursor/ or anpm.yaml
anpm install github:user/repo
# Install from a local directory
anpm install ./my-agent
# Already have .cursor files? Manage them with anpm
anpm adopt ./my-project/.cursor
# Run agents in an isolated environment
anpm run cursor --with @acme/code-reviewer
# Auto-check for updates
anpm update
↑ @acme/code-reviewer 1.2.0 → 1.3.0
```
## Publish and reach users
```bash
anpm create my-agent
anpm publish
```
```
✓ Published @you/my-agent v1.0.0
✓ Available on: Claude Code, Cursor, Codex, Cursor CLI +4
```
One publish. Users on any supported tool can install it immediately.
```bash
# Push an update
anpm publish --patch
✓ v1.0.0 → v1.Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.