The Human Consent Layer · v1.0

Your AI Should Ask
Before It Acts

The Human Consent Layer is an open-source protocol that gives people control over what AI agents do — with every action visible, every decision auditable, and every tool call gated by human consent.

Apache 2.0 Licensed · Open Source · Free to Use

How It Works

Consent Before Execution

Three primitives that turn opaque AI behavior into a transparent, accountable system.

Green Shield

Every tool call — web searches, file access, API calls — is intercepted before execution. The AI proposes. The human decides.

Tamper-Evident Audit

Every consent decision is logged in a SHA-256 hash-chained audit trail. Alter one entry and the chain breaks. Trust, verified.

Fail-Closed by Default

No human response within 60 seconds? The action is denied. Silence means no. Your AI never acts without you.

For Developers

Four Functions. Universal Consent.

Drop the DevKit into any agent runtime and inherit a full consent + audit pipeline.

agent.ts
import { atlInit, atlConsentGate, atlAudit, atlPresentCards } from '@opnli/atl-devkit';
 
// 1. Register with the Trust Network
await atlInit(accountId, 'green-shield');
 
// 2. Gate every tool call
const decision = await atlConsentGate({ toolName, params });
 
// 3. Log the decision
await atlAudit(decision.id, { result: decision.denied ? 'denied' : 'executed' });
 
// 4. Present identity to services
await atlPresentCards(cardSet, endpoint);
  • Works on any agent platform — AnythingLLM, OpenClaw, NemoClaw, or your own

  • npm install @opnli/atl-devkit — one dependency, four functions

  • Apache 2.0 — use it, modify it, ship it

View on GitHub

For Businesses

AI Your Customers Can Trust

My Data + Your AI + My Control

Green Shield

CROCbox

A free AI agent for your Mac. Runs locally with free models. Green Shield on every action. No cloud, no surprise bills, no data leaving your building.

Download CROCbox
Green Shield

Cookie Sheet

Show your customers exactly what cookies you set and let them choose. Replace dark patterns with transparency. Free Chrome extension.

Get Cookie Sheet
Green Shield

WishList

Let customers share their preferences on their terms. Structured data, not tracking pixels. Better offers because they told you, not because you spied.

Get WishList

The Network

The Openly Trusted Network

The OTN is a trust fabric for the Agent Economy. Merchants, agents, tools, and individuals — all verified, all auditable, all operating under Consent Before Execution. Like the green padlock did for web browsing, the Green Shield does for AI.

90%

of people don't trust AI with their data

0

major AI platforms ship per-action consent in their web UI

66 days

until the EU AI Act Article 50 deadline

Join the Openly Trusted Network