# dotagents vs Agent Package Manager (APM)

> Agent Package Manager scores 76.4 (BB) to dotagents's 72.7 (BB) for packages for coding agents. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/dotagents-vs-microsoft-apm
- Markdown: https://www.anchorterminal.com/compare/dotagents-vs-microsoft-apm.md (~3,200 tokens)
- Slim: https://www.anchorterminal.com/compare/dotagents-vs-microsoft-apm.min.md (~680 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/dotagents-vs-microsoft-apm.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

Agent Package Manager (APM) scores 76.4 (BB) on agent readiness against dotagents's 72.7 (BB), and leads in 3 of 7 scored categories. dotagents leads on reliability. Both do packages for coding agents.

- dotagents: grade BB, 72.7/100, rank #229 of 1668. Markdown https://www.anchorterminal.com/tools/dotagents.md · JSON https://www.anchorterminal.com/api/v1/tools/dotagents.json
- Agent Package Manager (APM): grade BB, 76.4/100, rank #106 of 1668. Markdown https://www.anchorterminal.com/tools/microsoft-apm.md · JSON https://www.anchorterminal.com/api/v1/tools/microsoft-apm.json
- All 3 packages comparisons: https://www.anchorterminal.com/compare/agent-packages/index.md

## Which one, for what

### dotagents (BB)

Good for: Teams that want one file to set up skills, MCP servers, hooks and subagents across several coding agents.

Ahead on:
- Reliability, 72 against 60

Watch for: Sentry's docs page describes `install --frozen`, integrity hashes and a `gitignore` setting that the current release treats as deprecated or legacy

### Agent Package Manager (APM) (BB)

Good for: Teams that want the same skills, plugins and MCP servers in every clone and CI run across several coding agents, with an org policy and an audit gate.

Ahead on:
- Schema & documentation, 89 against 76
- Security & auth, 77 against 64

Watch for: Pre-1.0 at 0.38.1, and the five releases from 17 to 23 November 2026 each list breaking changes


## Why the edge

### Schema & documentation: Agent Package Manager (APM) +13

- dotagents (76): Framework reading. The `agents.toml` and `agents.lock` grammars are specified field by field in SPEC.md, with required columns, and enforced by zod schemas in the source. `list` and `trust list` take `--json`. No published JSON Schema for `agents.toml` (15 of 25). dotagents.sentry.dev has a 38 KB llms.txt and Sentry's docs pages copy as Markdown (10). The project's README, docs site and SPEC.md say when to use global or project scope, when to pin and what trust does. Sentry's own docs page describes the 1.x behaviour, with five agents, project-root init, `--frozen` and integrity hashes (13 of 20). Agent names and hook events are fixed lists, and each source format has its own prefix (13 of 15). Examples for every command and source format, but failures are described in prose with no table of errors (10 of 15). A changelog per release and 47 semver tags (15). 15 + 10 + 13 + 13 + 10 + 15 = 76.
- Agent Package Manager (APM) (89): Framework reading. JSON Schemas for the manifest and the lockfile are published with the docs, beside the OpenAPM v0.1 specification and its conformance tests, while the CLI itself has no machine contract beyond its reference (22 of 25). llms.txt with abridged, full and per-section files (10). Each command has a reference page, and the security model states what each control does and does not do (17 of 20). The manifest, lockfile and policy schemas are typed and documented field by field. Flags are typed in the CLI reference (12 of 15). Examples throughout and documented exit codes per command, with errors that name the remedy (13 of 15). Semver tags and a dated changelog (15). 22 + 10 + 17 + 12 + 13 + 15 = 89.

### Security & auth: Agent Package Manager (APM) +13

- dotagents (64): Framework reading, as for the other agent package managers. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. No telemetry in the package's dependencies or the source paths searched, though not every file was read. It contacts only the git and HTTPS sources declared (25 of 30). A `[trust]` allow-list is checked before network work, `minimum_release_age` holds back new commits, and paths escaping the repository are rejected. But every source is trusted by default, unpinned sources move to the newest commit on each install, no content hash is checked, and declared hooks and stdio MCP commands later run with the developer's access, with no sandbox (10 of 20). Skills from third-party repositories become agent instructions. The trust policy is the only mitigation and the docs do not discuss prompt injection (7 of 15). The lockfile records each source's URL, path and commit, but nothing logs what an install changed (7 of 15). Sentry's signed security.txt names security@sentry.io, a disclosure policy and a private HackerOne bounty. Pull requests get an automated security review, Dependabot runs, and 3.4.0 patched dependency vulnerabilities. No SECURITY.md in the repository (15 of 20). 25 + 10 + 7 + 7 + 15 = 64.
- Agent Package Manager (APM) (77): Read on the framework lines, as agentpack was. The security model says APM collects no telemetry, and network calls go to the git hosts, marketplaces and registries a project names (26 of 30). No sandbox. An executables gate parks hooks, MCP and LSP servers from dependencies until `apm approve`, and transitive MCP servers are held back, but the gate is off by default and policy enforcement defaults to `warn` (12 of 20). A hidden-Unicode scan blocks critical findings at install, and the docs say visible prompt injection and malware are not detected (10 of 15). `apm audit` writes SARIF, JSON or Markdown, `apm lock export` writes CycloneDX 1.5 or SPDX 2.3, and `apm find` traces a file to its package (13 of 15). Microsoft's SECURITY.md routes reports to MSRC, a CodeQL workflow runs, the threat model is published, and the changelog has Security sections. No signature verification and no security.txt on the docs host (16 of 20). 26 + 12 + 10 + 13 + 16 = 77.

### Reliability: dotagents +12

- dotagents (72): Read as local software. `@sentry/dotagents` installs from npm or runs with npx, and the package states Node 20 or later (20). A public CI workflow lints, type-checks and tests on every pull request, builds and verifies the packed tarballs, and builds the docs. The run history on the default branch was not readable from this session, though 3.5.0 was released from it on 22 November (20 of 25). GitHub issues could not be read. The changelog fixes regressions within releases, such as Windows local paths in 3.5.0 and cache git commands leaking into the caller's repository in 3.4.0 (12 of 25). Semver tags and a changelog with a breaking-changes section and migration table for 3.0.0, but 1.18.0 retired frozen installs in a minor release (10 of 15). At 3.5.0, but Sentry's docs still label it beta and say changes should be expected (10 of 15). 20 + 20 + 12 + 10 + 10 = 72.
- Agent Package Manager (APM) (60): Local-software lines. Official packages on Homebrew, WinGet (Microsoft.APM), Scoop and PyPI (apm-cli, Python 3.11 or later), plus shell and PowerShell installers that check a SHA-256 file, for macOS, Linux and Windows (20). The repository has CI, integration, CodeQL, merge-gate and main-branch push-gate workflows with a test suite, but the run history was not readable from this session, so credit for the suite only (15). Issues could not be read. GitHub search counts 209 open issues and pull requests, and the changelog closes issues by number in each release, 323 times in all (10 of 25). Keep a Changelog format with a semver statement and a breaking-changes and upgrade-notes section where one applies (15). Pre-1.0 at 0.38.1 and not declared stable (0). 20 + 15 + 10 + 15 + 0 = 60.

## Score by category

| Category | Weight | dotagents | Agent Package Manager (APM) | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 72 | 60 | dotagents +12 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 76 | 89 | Agent Package Manager (APM) +13 |
| Agent ergonomics | 13% | 71 | 72 | Agent Package Manager (APM) +1 |
| Security & auth | 14% | 64 | 77 | Agent Package Manager (APM) +13 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 84 | dotagents +4 |
| Transparency & trust | 7% | 72 | 70 | dotagents +2 |
| Negative events | ≤15 | -2 | 0 | |
| **Total** | | **72.7 · BB** | **76.4 · BB** | |

## Facts side by side

| Fact | dotagents | Agent Package Manager (APM) |
| --- | --- | --- |
| Kind | SDK + MCP | SDK + MCP |
| Vendor | Sentry | Microsoft |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Apache-2.0 for the software and the OpenAPM specification, CC-BY-4.0 for general documentation |
| Tools exposed | 0 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-22 | 2026-11-23 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Popularity | 265 stars, 50k npm/wk | 4.4k stars |

## Verdicts

**dotagents.** An MIT CLI that writes one `agents.toml` into skills, MCP config, hooks, subagents and plugins for nine coding agents, with a source allow-list and a commit age gate. It pins only by an explicit ref and records no content hash. Sentry's docs page still promises frozen, hash-checked installs that the current release retired.

**Agent Package Manager (APM).** APM pins agent skills, plugins and MCP servers by commit and SHA-256 hash, writes each agent's own configuration and publishes JSON Schemas, llms.txt and a security model that states its limits. It is pre-1.0, with breaking changes in each of the five releases since 17 November 2026, and hooks and MCP servers deploy by default until approvals are turned on.

## Before you call either

### dotagents

1. Add `--project` to every command for repository-local state. Without it dotagents works on `~/.agents/`, even inside a repository
2. Pin each git source with `@<ref>` in `agents.toml`. The lockfile's commit does not hold an install to that commit
3. Add a `[trust]` section before adding third-party sources, because a missing section allows every source
4. Set `minimum_release_age` to hold back commits that landed minutes ago
5. Ignore `--frozen` in older docs. It prints a warning and installs normally

### Agent Package Manager (APM)

1. Run `apm install --frozen` in CI and on fresh clones so the install fails when apm.yml, the lockfile and deployed files disagree
2. Write tokens in apm.yml as `${VAR}` references, never as values, so they stay out of the repository
3. Add an `executables:` block before installing packages with hooks or MCP servers, then approve each with `apm approve`
4. Run `apm audit --ci` before merging a change to apm.yml or apm.lock.yaml
5. Read the changelog's breaking-changes section before upgrading APM, since recent releases change install and audit behaviour

## Questions

### Which is better for AI agents, dotagents or Agent Package Manager (APM)?

Agent Package Manager (APM) scores 76.4 (BB) on agent readiness against dotagents's 72.7 (BB), and leads in 3 of 7 scored categories. dotagents leads on reliability.

### Are dotagents and Agent Package Manager (APM) open source?

Yes. dotagents is open source (MIT). Agent Package Manager (APM) is open source (Apache-2.0 for the software and the OpenAPM specification, CC-BY-4.0 for general documentation).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/dotagents-vs-microsoft-apm.json, and with the fewest tokens: https://www.anchorterminal.com/compare/dotagents-vs-microsoft-apm.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "dotagents", "b": "microsoft-apm"}`. From a terminal: `anchor compare dotagents microsoft-apm`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/dotagents.json and https://www.anchorterminal.com/api/v1/tools/microsoft-apm.json

## Other comparisons with dotagents or Agent Package Manager (APM)

- [Agentpack vs dotagents](https://www.anchorterminal.com/compare/agentpack-vs-dotagents.md)
- [Agentpack vs Agent Package Manager (APM)](https://www.anchorterminal.com/compare/agentpack-vs-microsoft-apm.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
