Agent Package Management · A developer’s introduction

The agent itself should be a package.

We’ve learned how to make software reusable. We version code, declare dependencies and share libraries. But an AI agent is often more than its code, and sharing the whole system can still mean reconstructing it from a repository and setup guide.

Agent Package Management is an approach to making the complete agent a versioned, understandable unit that other developers can discover, install and reuse.

A familiar engineering handoff

“Here’s the agent repository…”

  • source code
  • README
  • prompts
  • dependencies
  • tool setup
  • runtime config
Give the system its own definition

A versioned agent definition

One identifiable unit; dependencies can remain separate

Identity
· name + version
Composition
· referenced parts
Behavior
· declared intent
Requirements
· compatibility
01 · The problem

We can share the pieces. Reusing the whole agent is harder.

By an AI agent, we mean software that uses a model, instructions, and available capabilities to carry out tasks. Imagine an engineer handing one to another team. The repository might contain the implementation, but getting it to behave as intended can also require finding the right tools, dependencies, instructions, knowledge sources, workflow rules, and runtime configuration.

Most of those parts already have good tools around them. The friction appears when someone needs to understand and reconstruct how they fit together. That information is often spread across code, documentation, and assumptions known only to the original author.

The missing unit of reuse is not another library. It’s the agent system itself.

Git & repositories
Version and collaborate on source code.
npm & PyPI
Distribute JavaScript and Python libraries, respectively.
Agent frameworks & hosts
Build, configure, and execute agents in particular environments.
Model Context Protocol (MCP)
A protocol for connecting applications and agents to external capabilities.

These are useful, complementary systems. Agent Package Management addresses the complete agent as a reusable unit, not the elimination of its existing tools.

02 · The software artifact

Give the complete agent a versioned identity.

An Agent Package is a versioned software artifact describing one complete authored agent system: its definition, the parts it depends on and the requirements a compatible consumer needs to understand it.

It doesn’t have to embed every dependency in one archive. Like an application that declares its libraries, it can reference independently published pieces and let a package manager resolve them.

Agent Package

Agent Package

Its independently reusable parts are called Components.

  • Tool

    An executable capability with defined inputs and outputs.

  • Skill

    Reusable instructions and procedures.

  • Knowledge

    Prepared context and retrieval material.

  • Memory Blueprint

    Memory record structure and lifecycle policy.

  • Instruction Profile

    Identity, objectives and behavioral guidance.

  • Loop

    Declared workflow phases and outcome transitions.

Each Component can be published or used by itself. An Agent Package can use the kinds it needs; this is not a required six-piece checklist.

Templates are different: a Template scaffolds a project or workspace. It can generate an Agent Package, but is neither an Agent Package nor one of the six Component kinds.

“Complete” describes the definition under its declared specification. It doesn’t promise bundled dependencies or support in every execution environment.

03 · The management layer

A definition becomes more useful when you can manage it like software.

Describing an agent is a start. But to reuse it across projects and teams, developers also need to find it, choose a version, resolve what it depends on, install it, and inspect what they’ve received.

Agent Package Management is the set of tools and practices for doing that with complete agents and their reusable parts. It brings familiar package-management habits to a new kind of software artifact.

  • 01

    Define

    Describe the system and its dependencies.

  • 02

    Publish

    Make a specific version available.

  • 03

    Discover

    Find a package with known identity.

  • 04

    Install

    Resolve the required versions.

  • 05

    Inspect

    Examine its contracts and evidence.

These are complementary capabilities, not a mandatory five-step sequence. Installing a package does not execute it.

04 · How it fits

Another layer, not a replacement for the tools we already use.

The goal isn’t to replace Git, programming-language packages, agent frameworks, or MCP. It’s to make the complete agent identifiable and reusable across the places those tools operate.

Git repositories

Excellent for: Source history, review and collaboration.

The added layer: An explicit package identity, versioned dependencies and an installation contract beyond copying the project.

npm / PyPI

Excellent for: Distributing JavaScript and Python libraries.

The added layer: a definition of the full agent, including non-code pieces and relationships between components.

Frameworks / hosts

Excellent for: Building and running agents in supported environments.

The added layer: a definition that isn’t inherently owned by one framework or host, while still requiring a compatible execution environment.

MCP

Excellent for: Connecting applications to external tools and capabilities.

The added layer: The agent system that can use those capabilities, including instructions, knowledge and workflow beyond connected tools.

05 · The execution boundary

A package describes the agent. Something else runs it.

Writing down a system’s definition doesn’t automatically make it executable on any machine. An agent also needs operational services: a model provider, credentials, supported tools, and whatever infrastructure its behavior requires.

The software that interprets a supported Agent Package and executes the agent is called a Runner. It supplies or connects the runtime services that the portable definition intentionally leaves outside the package.

Portable definition

Agent Package

What the agent is and what it requires

  • Identity and version
  • Referenced Components
  • Declared behavior and bindings
  • Compatibility requirements
When compatible

Runner & environment

How the agent actually operates

  • Model and provider selection
  • Runtime services and storage
  • Credentials and connections
  • Execution, approvals, tracing

Three separate questions: Is the package valid under its specification? Does a Runner support it? Is this particular environment configured to run it? A “yes” to one is not a guarantee for the others.

06 · The ecosystem

Four responsibilities make the model work.

To keep the definition useful beyond any one product, we separate the specification of a package from how it is distributed, installed, and executed. Those responsibilities can be implemented by different tools.

A package’s definition standard specifies what information the artifact must contain and how its declarations are interpreted. We call this an Agent Package Definition Standard (APDS). It covers more than JSON structure: dependencies, component relationships, and interpretation rules matter too.

Defines

Standard

Describes the package format, requirements, and meaning of its fields.

AgentPM example: AgentPM APDS 1.0.0
Distributes

Registry

Lets people discover and obtain published packages and versions.

AgentPM example: AgentPM Registry
Resolves & installs

Manager

Handles package creation, dependencies, publication, and installation.

AgentPM example: AgentPM CLI
Executes

Runner

Interprets supported package definitions and operates an agent in a configured environment.

AgentPM example: AgentPM Harness

AgentPM is a working implementation of this approach: it publishes its own versioned definition standard, runs a hosted Registry, provides package-management commands, and includes Harness as a Runner. These roles don’t have to belong to one vendor.

AgentPM’s APDS is a published product-authored specification, not a claim of universal industry adoption. Other standards and Runners could exist; compatibility requires explicit support. For technical requirements, read the normative APDS 1.0.0 reference.

07 · See it in practice

From a mental model to a package you can inspect.

The clearest explanation is a concrete example. AgentPM’s Registry includes an Agent Package called @zack/devwork-copilot.

Interactive GitHub maintainer copilot with explicit approval gates for write actions, packaged maintainer-review orchestration, workflow continuity, and a durable maintainer behavior profile.
Agent PackageToolSkillKnowledgeMemoryProfileLoop
Declared components
agentpm install @zack/devwork-copilot@0.1.10
Signedagentpm / 1.0.0 · declared26 installs total · 1 star total
View Agent Package definition →

Installing resolves dependencies; it does not start the agent. Execution with AgentPM Harness is a separate step and requires a compatible Loop and model configuration, plus any required credentials or other services. Configure a Runner and check local readiness →

Build one

Start with a new Agent Package definition, then add the reusable parts your agent needs.

agentpm init
Build an Agent Package →

Start from a Template

Or generate a project workspace from a published scaffold. A Template is a starting point, not the complete package itself.

agentpm new <template> my-project
Choose a Template →
The larger idea

New unit of reuse. Familiar engineering discipline.

AI agents may be new, but versioning, explicit dependencies, portable definitions, and inspectable software aren’t. Agent Package Management applies those practices to the complete agent system without requiring developers to abandon the tools they already use.

The idea is simple: an agent should be something another developer can understand and reuse as a software artifact, not merely something they can copy as a project.