The Action agent is a local WebSocket server inside `Action.app`. This page
documents its raw RPC protocol. Most agents use the Action MCP server instead
(see [Agent setup](/action/docs/agent-setup)). The MCP server adds sessions,
target resolution, recording status, stage, and private layers on top of this
protocol.

Source of truth:
[`ActionAgentProtocol.swift`](https://github.com/arach/lattices/blob/main/products/action/native/engine/CoreSources/ActionAgentProtocol.swift)
and
[`ActionAgentRuntime.swift`](https://github.com/arach/lattices/blob/main/products/action/native/engine/CoreSources/ActionAgentRuntime.swift).

Continue with free email access at /action/docs/api.
