Developers
Integrate action authority
A five-minute conceptual walkthrough — illustrative code, not a live SDK endpoint.
Conceptual quickstart
First integrations start in shadow mode. Humbleaf observes proposed actions, returns decisions and evidence, but does not block production until promoted. Talk to us before a production integration.
Sample authorize request (illustrative)
const decision = await humbleaf.authorize({
actor: "support-agent-04",
action: "merchant.refund.create",
resource: "merchant_123",
amount: 4800,
currency: "EUR",
policyContext: "refund-policy-v7",
});
if (decision.status === "ALLOW") execute();
if (decision.status === "DENY") block();
if (decision.status === "APPROVAL_REQUIRED") routeApproval(decision.approvalRoute);Sample decision response
{
"status": "APPROVAL_REQUIRED",
"action": "merchant.refund.create",
"actor": "support-agent-04",
"reasonCodes": ["REFUND.AMOUNT_EXCEEDS_LIMIT"],
"approvalRoute": "finance-approval",
"approvalBinding": "single_use",
"expiresAt": "2026-06-18T17:45:00Z",
"decisionHash": "0x84…5696"
}Three decision states
- ALLOW — Policy permits execution.
- DENY — Policy blocks execution.
- APPROVAL_REQUIRED — A named approver must authorize this exact action.
Evidence / receipt shape (public-safe)
action— The exact action that was proposedpolicySnapshot— Rules in force at decision timeactor— Who or what was recognized as actingriskContext— Advisory risk that triggered escalation, if anyapproval— Human decision bound to the action, when requireddecisionHash— Tamper-evident digest of the decision record
The same synthetic bundle at /proof/synthetic-evidence-bundle.json can be used as a fixture for replay testing — marketing proof and developer reality share one artifact.
Customer workflows
Agents, scripts, automations, and human operators
Humbleaf — Enterprise Authority Layer
Workflow maps · policies · approval routes · evidence views
AgentChain — Authority Engine
Decision semantics · receipts · authority primitives · protocol/onchain extensions
Workflow guard catalog
One guard per high-risk workflow — dispatch, refund, delegation, credential mutation.
Onchain authority (EVM)
Signed receipts and chain-specific vocabulary for onchain actions.
Evidence & trust
What evidence bundles contain and how replay works for auditors.
Synthetic bundle fixture
Download the same JSON used in Proof Lab for replay testing.
AgentChain protocol
Underlying authority engine (external).
