eatp-reference

Explains EATP trust protocol concepts and SDK implementation patterns for AI agents.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Dchuuuuuu/disease-risk-classifier --skill eatp-reference-dchuuuuuu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: eatp-reference
Source: https://github.com/Dchuuuuuu/disease-risk-classifier/tree/main/.claude/skills/26-eatp-reference
Command: npx skills add https://github.com/Dchuuuuuu/disease-risk-classifier --skill eatp-reference-dchuuuuuu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kailash, and includes references (resource) components.

What problem does it solve? Enterprise AI agents need verifiable trust chains linking every action back to human authority, but implementing cryptographic delegation, constraint enforcement, and audit trails from scratch is error-prone. This Skill provides the complete EATP (Enterprise Agent Trust Protocol) technical reference and SDK guidance so you can explain trust concepts and implement the kailash trust module correctly. ## Core Features & Use Cases - EATP Framework Reference: Covers the five trust lineage elements (Genesis Record, Delegation Record, Constraint Envelope, Capability Attestation, Audit Anchor), the verification gradient, and five trust postures. - SDK Implementation Guides: Quickstart for the 4-operation lifecycle (ESTABLISH, DELEGATE, VERIFY, AUDIT), full API reference, and critical gotchas such as key pair ordering and base64 signatures. - Security & Persistence Patterns: Budget tracking with integer microdollars, SQLite posture stores, red-team-validated security patterns, and reasoning trace confidentiality levels. - Use Case: When building an agent that must operate within delegated financial limits, use this Skill to correctly implement BudgetTracker reserve/record semantics, posture state machines, and fail-closed verification. ## Quick Start Ask the AI to explain how EATP delegation and constraint envelopes work, or to show how to establish and verify trust for an agent using the kailash trust SDK.

Frequently Asked Questions about eatp-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I establish trust for an AI agent with the EATP SDK?▼

Install kailash, create an InMemoryTrustStore or FilesystemStore, implement the AuthorityRegistryProtocol with all three methods, then call ops.establish() with an agent ID, authority ID, and capability requests. Follow with verify, delegate, and audit operations.

What is the difference between EATP and OAuth or SPIFFE?▼

OAuth and OIDC handle user authentication, and SPIFFE/SPIRE handle service identity. EATP adds agent trust delegation with constraint tightening, autonomy governance, and unbroken cryptographic chains tracing every action back to human authority.

Why does generate_keypair return values in a confusing order?▼

The kailash trust crypto function returns (private_key_base64, public_key_base64) with the private key first, which is the reverse of many libraries. Swapping the order causes silent signature verification failures, so always unpack private first.

How does budget tracking prevent overspending in EATP agents?▼

BudgetTracker uses integer microdollars and a two-phase reserve-then-record lifecycle that fails closed when funds are insufficient. Threshold callbacks fire at 80%, 95%, and exhaustion, and SQLiteBudgetStore provides crash-safe persistence.

When does REASONING_REQUIRED block an action versus warn?▼

At STANDARD verification level, a missing reasoning trace produces a warning violation with valid=True. At FULL level, it becomes a hard failure with valid=False, blocking the action until a reasoning trace is attached.

What are the limitations of the EATP standalone SDK?▼

The SDK is a policy decision point only; your application must enforce BLOCKED and HELD verdicts. FilesystemStore is single-process only, there is no built-in production authority registry, and PostgresTrustStore requires the separate kailash-kaizen package.