AICP (AI Consumption Protocol) dictates how AI systems should discover, select, disclose, and optionally unlock versions of open-source software.
In late 2025, a Pull Request to add an llms.txt file (AI-optimized documentation) to Tailwind CSS was closed by the creator.
His reasoning was brutally honest: "I just don't have time to work on things that don't help us pay the bills."
This highlights a growing crisis in Open Source:
- AI Agents consume OSS maintainers' work at massive scale to power commercial coding tools.
- Maintainers see zero return from this consumption.
- Gating everything hurts the community (startups, students, and hobbyists lose access).
We need a middle ground. We need a way to monetize professional utility without killing open access.
AICP introduces a standard modeled after professional data markets: Freshness Gating.
- Stable N-1 (Previous Version): Always FREE and public.
- Perfect for: Students, indie hackers, startups, OSS contributors.
- AI Behavior: Unauthenticated agents use this version by default.
- Stable N (Latest Version): Can be GATED (e.g., for 30 days).
- Perfect for: Enterprises, serious businesses, power users who need the bleeding edge.
- AI Behavior: Agents check for a "Sponsorship Token". If valid, they unlock and use the latest docs/code.
This creates a sustainable loop:
- Community stays happy: 99% of the code/docs is always open.
- Startups & Learners get a stable, proven version (less "hallucinations" from beta features anyway).
- Enterprises pay a small sponsorship fee to unlock the latest intelligence for their AI fleets.
Repositories publish a simple manifest file: /.well-known/aicp.json.
{
"aicp_version": "0.1",
"project": "example-lib",
"default_policy": "stable-n-1",
"public_snapshot": {
"version": "1.8.0",
"docs": "https://example.org/docs/1.8"
},
"latest_snapshot": {
"version": "1.9.0",
"access": "entitled",
"entitlement": {
"type": "github-sponsors",
"url": "https://github.com/sponsors/example"
}
},
"notice": {
"short": "Using v1.8.0. Sponsor to unlock v1.9.0 (Latest)."
}
}You can add AICP to any GitHub repository in 5 minutes.
Create a file at .well-known/aicp.json in your public repository. Use the example above, pointing public_snapshot to your previous stable release and latest_snapshot to your current one.
If you want to enforce the gate:
- Keep your latest documentation or release notes in a private repo or behind a simple auth proxy.
- Grant access to this private repo to your GitHub Sponsors (GitHub handles this automation natively!).
AICP-compliant agents (IDEs, CLI tools) will:
- Read your
aicp.json. - Check if the user has a GitHub Sponsor token for your repo.
- If Sponsored: Fetch and context-load your latest docs.
- If Not: Fetch and context-load your N-1 docs and notify the user: "A newer version is available for Sponsors."
To be AICP-Compliant, your agent must:
- Respect
default_policy: Do not scrapelatest_snapshotif it is marked restricted, unless authorized. - Disclose Version: Your response must state: "Using example-lib v1.8.0 (Public Stable)."
- Honesty: Do not hallucinate features from the latest version if you only have access to N-1.