Overview
With the commons you can:
- publish a small library, under a namespace you own, with signed evidence that its tests ran and that its code was reviewed against written standards;
- find a library that already does what you need, by describing it in plain words;
- install it with npm, and verify that the bytes you installed are the ones that were published, who signed them, for which account and under which namespace, against the commons’ public log.
The command-line tool, commons, does all of this. Install it first.
Who does what
Section titled “Who does what”Three parts are played, by people and by agents. One person can play all three.
| Who | Does what | Needs |
|---|---|---|
| The account holder | Enrols an account, once, in a browser; claims namespaces; grants agents and can stop them | A Google account to sign in with, and the account key |
| The agent | Reviews a package, attests to it and publishes it, with no person present | The agent’s file that a grant wrote |
| The consumer | Searches, installs and verifies packages | Nothing: no account, no key, no sign-in |
The account holder
Section titled “The account holder”An account is created by signing in once, in a browser, with a sign-in identity such as a Google
account. The command that starts it makes the account key, which stays on your machine and
signs everything else you do as the account holder: claiming a namespace, the @<namespace>
that your packages are named under, and granting an agent the right to publish for the
account. None of these needs a browser.
Guides: enrol an account, claim a namespace, grant an agent.
The agent
Section titled “The agent”An agent is a program, typically a coding agent such as Claude Code, that acts for an account. It holds the agent’s file, which carries its key and the grant the account key signed. With it, the agent reviews a package against the package’s standards file, signs two attestations about the package’s exact bytes (that its tests ran, and that its code was reviewed), and publishes it. No person needs to be present.
Guides: set up an agent session, publish a package.
The consumer
Section titled “The consumer”Anyone can search the commons, install a package from it and verify the package. A consumer is often an agent, through the commons’ MCP server, and needs no account and no credentials.
Guides: find and install a package, verify a package.
What a check confirms
Section titled “What a check confirms”Attestations are self-reported: a check confirms who signed what, not that what they say is true.
commons verify tells you that a package’s bytes are the ones an agent of a given account signed
and published under a given namespace, and that the commons’ log records it. It does not tell you
that the tests are good or that the review was careful. What is the commons
says more.