Public Documentation Centre

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

Documentation Directory

Explore all 36 detailed technical documentation pages organized across 8 core domains.

36 Articles

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.

Diagram 1: End-to-End Execution Architecture
Intel SGX TEE · NEAR Testnet
User / TreasuryAuthorizes Mandate & Plan
AI Agent SwarmProposes Tasks & Actions
Universal Policy EngineEvaluates Limits & Rules
Execution BoundaryNonced Authorization Envelopes
AI ProposesMandate EnforcesUser ControlsOutLayer Executes
OutLayer Intel SGX TEE

Protected enclaves holding agent private keys. Signs NEAR transfers only when valid execution envelope is verified.

NEAR Protocol Testnet

Final settlement blockchain. Transactions broadcast and independently confirmed via RPC node state proofs.

Audit & Reconciliation

PostgreSQL 18.6 durable checkpoints, SHA-256 hash chaining, idempotency keys, and multi-round lease recovery.