Mandate Developer & Architecture Reference
Explore the deterministic spending firewall and policy-enforced custody layer for autonomous AI agents on NEAR Protocol and OutLayer Intel SGX TEE.
Featured Guides
Quickstart Guide
Connect your NEAR wallet, create an agent, set a mandate budget, and execute your first objective.
Autonomous Spending
Understand how deterministic policies evaluate yoctoNEAR limits, human thresholds, and TEE execution.
REST API Reference
Complete endpoint schemas and cURL examples for Agents, Mandates, Tasks, and Approvals.
Documentation Directory
Explore all 36 detailed technical documentation pages organized across 8 core domains.
Section A — Getting Started
Foundational onboarding, mental model, wallet connections, and initial setup.
Section B — Core Concepts
Deep dive into agents, mandates, objectives, DAG workflows, and external tools.
Section C — Autonomous Spending
Deterministic financial authorization, approval rules, accounting, and lifecycle states.
Section D — Objective Execution & Orchestration
Autonomous planning, swarms, anti-self-certification, and crash recovery.
Section E — Security & Trust
Threat model, Intel SGX TEE execution, hardware key isolation, and cryptographic audit trails.
Section F — Networks & Integrations
NEAR Protocol connectivity, OutLayer TEE provider, Model Context Protocol (MCP), and tools.
Section G — Developer Documentation
API reference, authentication, webhooks, and code examples for building on Mandate.
Section H — Help & Reference
Frequently asked questions, system glossary, operational troubleshooting, and network status.
System Architecture
Mandate enforces policy at the software and hardware boundary before any transfer payload is broadcast to NEAR Protocol.
Protected enclaves holding agent private keys. Signs NEAR transfers only when valid execution envelope is verified.
Final settlement blockchain. Transactions broadcast and independently confirmed via RPC node state proofs.
PostgreSQL 18.6 durable checkpoints, SHA-256 hash chaining, idempotency keys, and multi-round lease recovery.