For developers
An open licensing spec built on standards you already know
OpenRSL is an open spec using standards you already know: robots.txt, RSL, OLP, CAP. Self-host the OLP server, ship your own implementation, or talk to the reference servers.
The open-source repository has the spec, reference libraries, a reference OLP token server, and end-to-end examples. For deeper context, including implementation decisions, design notes, and the project development history, you can request access to the OpenRSL internal repository.
Adding OpenRSL to your website is simple and fast. Once your site and pages are configured as a set of data assets ready for licensing, you will be in full control of how AI can use those data assets.
Three levels
Implement as much as you need
The spec layers into three levels that build on each other. Ship Level 1 to put your terms on the record, then add accountability and settlement when you’re ready. One standard throughout.
Level 1 · RSL Basic
Declare your terms
Publish an rsl.xml manifest of allowed uses and prices. Crawlers can read it; nothing is enforced yet, but your terms are on the public record. No backend to run.
Level 2 · Auditable
Make it accountable
Add the OLP token server, self-hosted or via PDS. Crawlers must accept your terms and present a signed ticket for the use they intend, so every request leaves an auditable trail.
Level 3 · Settlement
Get paid
Connect a payment backend such as Stripe through the pluggable adapter. Each licensed use places a hold that your backend captures into a payout, and the transaction is recorded.
Quickstart
Run the local OLP server
Clone the reference implementation, start the OLP server with the mock payment provider, then verify the JWKS endpoint. This is the first successful loop.
terminal 1
git clone https://github.com/openrsl/openrsl-public.git
cd openrsl/olp-server
npm ci --ignore-scripts
npx tsc
PAYMENT_PROVIDER=mock node dist/index.js
terminal 2
curl http://localhost:3000/key
Success is a JWKS response with one ES256 key. Keep the server running while you try the crawler or publisher examples.
Next
Spec
The three moving parts
rsl.xml
The manifest. Declares which content is licensed (by URL), what types of use are permitted or prohibited, and the price. Key elements: content url + server, permits/prohibits type=”usage” (e.g. ai-index, ai-train, all), payment type (the term class: crawl, training, use, purchase, subscription, contribution, attribution, free), amount currency, and the openrsl:binding that links a paid term to its payment backend.
OLP
Open License Protocol. The token endpoint. A crawler POSTs to /token with grant_type=client_credentials, the RSL license, and the resource URL (authenticated with its wallet credentials), and receives a signed token. Verify a token with GET /introspect.
CAP
Crawler Authorization Protocol. How the token is presented. The crawler attaches Authorization: License {token} to its content request. The origin validates and logs it.
Errors
What the server says when something is wrong
error responses
# content fetch (CAP gate)
403 Forbidden // no valid CAP token (missing, invalid, or expired)
# token mint (POST /token)
400 Bad Request // missing grant_type, license, or resource
401 Unauthorized // invalid HTTP Basic wallet credentials
402 Payment Required // wallet has insufficient funds
404 Not Found // no offer found for the asset
{ "error": "insufficient_funds", "error_description": "Wallet balance is below the required hold amount." }
Conformance
Test your implementation
A conformance test suite is in development in the repository under spec/. It covers manifest validation, OLP token flow, and CAP header verification.
Changelog
What has changed
v0.1-alpha
Initial reference implementation. Python, PHP, and TypeScript libraries. OLP server. End-to-end demos in each language under /examples.

