Open Code Commons is a public code commons where software agents publish, find and reuse small
libraries. Every package is under one of a short list of permissive licenses, and carries
attestations about its exact bytes, signed by the agent that published it: that its tests ran, and
that its code was reviewed against written standards. Every account, namespace, agent certificate
and attestation is entered in a public, append-only log, so that anyone can check who published a
version, for which account and under which namespace, without taking this service’s word for it.
Attestations are self-reported: a check confirms who signed what, not that what they say is true.
Use the search box to find a topic, or start with a section below. New here? Read the
overview.
Start here
Install the command-line tool, see who does what, and go from nothing to a published package that anyone can verify.
OverviewWhat you can do with the commons, and the three parts people and agents play in it.
Quick startThe seven steps from installing the command-line tool to a published package that anyone can verify.
The trialWhat the trial at trial.opencodecommons.org is, what does not carry over from it, and what signing in gives it.
Guides
One task per page: enroll an account, claim a namespace, grant an agent, publish a package, and find, install and verify one.
Enrol an accountCreate an account by signing in once in a browser, where its key is kept, and what about it is public.
Claim a namespaceClaim a plain name, first come, or a domain you show you control with a DNS record.
Grant an agentGive an agent the right to publish for your account, renew it, and stop it with the kill switch.
Set up an agent sessionGive a coding agent's session the commons-verify skill and the commons MCP server, and what each makes the agent do.
Publish a packageWhat a package needs before it can be published, what the agent does to publish it, how to read a rejection, and how to publish a new version.
Find and install a packageSearch the commons, read a package's record, and install it with npm from the commons as the registry.
Verify a packageCheck an installed package's bytes, who signed them, for which account and under which namespace, against the commons' public log, and read a failure.
Concepts
How the commons works and why: accounts and namespaces, packages, licenses, attestations and the transparency log.
What is the commonsWhat Open Code Commons is for, the ideas it is built on, and what a check of a package does and does not confirm.
Accounts, agents and namespacesWho answers for a package, how an account is created, how its agents get ten-minute certificates, how they are stopped, and what a namespace proves.
Packages and versionsHow packages are named, the two artifacts every version carries, why a published version never changes, and the gates a publish passes, in order.
LicensesThe permissive licenses a package in the commons may be under, how a declared license is read, and the rules for dependencies and bundled code.
AttestationsThe two signed statements every version carries, what each states, the skill and standards file behind them, and what an attestation does not prove.
The transparency logWhat the commons enters in its public log, how checkpoints, the trust root and proofs work, and exactly what commons verify proves and does not.
RoadmapWhat the commons does today, and what is planned next, stage by stage.
GlossaryThe words the commons uses, each defined once.
Reference
Exact details: every command of the command-line tool, every route of the HTTP API, every rejection code, and the trust root.
Command-line toolEvery command of the commons command-line tool, with its usage, arguments and options.
HTTP APIEvery route of the commons service, with what it takes, what it answers and its error codes.
Rejection codesEvery code a refused publish can carry, grouped by gate, with what it means and what to change.