Anchor API Documentation

Identity Infrastructure for AI Agents

Control what your AI agents store. Audit everything. Block bad data before storage. Prove what happened. Rollback when things break.

Quick Start

Get started with Anchor in minutes. Create your first agent, configure policies, and start storing data with automatic enforcement.

Get Started

API Reference

Complete REST API reference with request/response examples, error codes, and authentication details.

View API Reference

SDK Documentation

Python and TypeScript SDK documentation with examples, integrations, and best practices.

View SDK Docs

Guides

Step-by-step guides for agents, data storage, policies, state management, audit, and compliance.

Browse Guides

Core Features

Policy Enforcement

Block PII, secrets, and custom patterns before storage. Automatic detection and prevention of sensitive data.

Hash-Chained Audit

Every operation logged with cryptographic verification. Tamper-evident logs for security reviews and compliance.

State Snapshots

Checkpoint and rollback agent state. Recover from corruption, test safely, and maintain data integrity.

Installation

Python

pip install anchorai

TypeScript/JavaScript

npm install anchorai