Skip to content

AAI Protocol Specification Index

This directory contains the full technical specification for the AAI (Agent App Interface) protocol.

Specification Documents

DocumentDescription
OverviewWhy AAI? Motivation, current limitations, and the dual-interface vision
ArchitectureSystem architecture diagram, component responsibilities, key principles
aai.json DescriptorApp description file format, file locations, structure, and all field descriptions
Security ModelPlatform authorization flows (macOS TCC, Windows COM, Linux Polkit, Web App OAuth)
Progressive Discovery3-step skill discovery via MCP resource model (list, read, call)
Error CodesStandardized error response format and error code table
Call FlowComplete end-to-end call flow example
GlossaryDefinitions of key terms

Platform Guides

PlatformDescription
macOSAppleScript / JXA automation, integration guide
WindowsCOM automation, integration guide
LinuxDBus automation, integration guide
Web AppREST API + OAuth 2.0, Web App integration guide

Schema and Examples

ResourceDescription
aai.schema.jsonMachine-readable JSON Schema for aai.json validation
com.apple.mail.aai.jsonExample: Apple Mail (desktop, multi-platform)
com.notion.api.aai.jsonExample: Notion (Web App, OAuth + REST API)

Released under the Apache 2.0 License.