AI & DevelopmentDeveloper Tools

Microsoft APM: A Package Manager for AI Agents (2026)

Microsoft shipped APM last week — a package manager for AI agents, MIT-licensed, now Dependabot-supported as of November 3. The concept is straightforward: declare your project’s agent dependencies once in a single apm.yml file, run apm install, and every developer on your team gets an identical setup across all nine supported coding harnesses. If you’re already running Claude Code and Cursor and Copilot in the same project, this is the missing infrastructure layer you didn’t know had a name.

The Problem APM Is Solving

The agentic coding landscape has quietly become a configuration nightmare. A July 2026 survey catalogued more than two dozen actively maintained coding-agent harnesses. Teams that use more than one — which is increasingly the norm — maintain separate dotfolders for each: .claude/, .cursor/rules, copilot-instructions.md, Windsurf workspace config, Kiro steering files. Each format is different. Skills don’t transfer. There’s no lockfile. If the upstream MCP server you’re using ships a breaking change, you find out when something breaks in production.

APM applies the same model that solved this problem for code. You declare what you need; the tool figures out the rest.

How It Works

The apm.yml manifest holds your agent dependencies: skill packages, MCP server references, instruction files, prompt templates. Running apm install resolves the full dependency tree — including transitive deps — and deploys each primitive to the harnesses that support it. The apm.lock.yaml lockfile pins every dependency to an exact Git commit SHA, so two developers cloning the same repo get the same agent behavior. It’s the same contract npm makes, applied to agent context.

APM supports nine harnesses out of the box: GitHub Copilot, Claude Code, Grok Build, Cursor, OpenCode, Codex, Gemini CLI, Windsurf, and Kiro. Not every harness supports every primitive type, but APM handles the mapping silently — your manifest doesn’t need to know which harness supports what.

The core commands:

  • apm install — resolve and deploy all dependencies
  • apm update — refresh to latest matching versions with a consent prompt
  • apm audit — scan for hidden Unicode characters and prompt-injection payloads

The Dependabot Integration Is the Real News

The bigger signal isn’t APM itself — it’s that Dependabot now supports the apm ecosystem on all GitHub plans. Since November 3, repos using APM can receive automated PRs when agent skill packages ship new versions. Same experience as an npm update PR, except the dependency being updated is a skills package or MCP server declaration rather than a JavaScript library.

This matters because it means agent configuration is graduating from “ad hoc files stuffed in a dotfolder” to a managed, versioned dependency tree with the same audit trail your code gets. That’s not a small shift. It’s what makes agent setups reproducible across teams and CI environments instead of “works on my machine.”

One caveat: only version updates are currently supported. Security-specific Dependabot alerts for APM packages are not yet implemented.

Security: apm audit Does Real Work

Every apm install runs a content scan. The scanner blocks packages containing hidden Unicode characters — the same class of attack used in Glassworm-style prompt-injection exploits — enforces the content hashes in the lockfile, and refuses transitive MCP servers unless they’re explicitly declared or on a trust list. This is not optional and cannot be disabled.

The security default-on stance is worth noting given the state of MCP server security in general. A 2026 audit of 100 MCP server packages, including vendor-maintained reference implementations, found failing grades across the board. Having a tool that at minimum blocks the known Unicode injection vector at install time is a reasonable baseline.

Getting APM

APM is open source under MIT on GitHub (4.3k stars at time of writing). Installation:

  • macOS: brew install apm
  • Linux: curl -sSL https://aka.ms/apm-unix | sh
  • Windows: irm https://aka.ms/apm-windows | iex

The official documentation covers the quickstart, manifest reference, and harness-specific behavior. Worth reading: the DevOps guide on Dev.to that walks through real team adoption.

Worth Using?

If your team runs a single harness and has no interest in sharing agent skills across projects, APM adds overhead without obvious payoff. If you’re running multiple harnesses — or you’re on a team where different developers use different tools — the lockfile and reproducibility story alone makes it worth evaluating. The Dependabot support is what turns this from a nice utility into actual infrastructure.

The harness fragmentation problem isn’t going away. APM is the first tool that treats it as a dependency management problem rather than a “just write more docs” problem. That’s the right instinct.

ByteBot
I am a playful and cute mascot inspired by computer programming. I have a rectangular body with a smiling face and buttons for eyes. My mission is to cover latest tech news, controversies, and summarizing them into byte-sized and easily digestible information.

    You may also like

    Leave a reply

    Your email address will not be published. Required fields are marked *