Local automation · executable plugins · bounded native UI
Build on Cairn
A secure, discoverable JSON-RPC surface for automating Cairn and extending it with any executable language.
Start with the interface you need
API
Connect, authenticate, inspect, and call Cairn over local JSON-RPC.
Open guide →Events
Subscribe to typed notifications on the same authenticated connection.
Open guide →Plugins
Package any executable behind a language-neutral JSON-RPC contract.
Open guide →Plugin UI
Contribute safe commands and native, bounded dock panels.
Open guide →Permissions
Declare capabilities, obtain explicit grants, and run least-privileged.
Open guide →Guides
Go from a running Cairn instance to a working API client or plugin.
Open guide →Reference
Transport, errors, environment, limits, and manifest fields.
Open guide →Examples
Copyable Swift, Bash, JSON-RPC, and plugin examples.
Open guide →One source of truth
Generated, not transcribed
API 1.0, transport json-rpc-2.0+ndjson+unix, schema digest 929d09094fbc6eff…. Method, event, capability, and manifest examples are compiled from the same Swift definitions as Cairn.