AXorcist is a Swift library and CLI tool for macOS accessibility automation, wrapping the Accessibility (AX) APIs to inspect, query, and control UI elements programmatically. The core library provides a typed `Element` struct over `AXUIElement`, a command-response protocol with JSON envelopes, a powerful observer system with retry/backoff and process-generation tracking, input simulation (mouse, keyboard), and tree traversal with search criteria. The CLI (`axorc`) exposes commands like `find`, `tree`, `raw`, `permissions`, and `observe`, all producing structured JSON output. The architecture is modular with heavy use of Swift extensions, `@MainActor` isolation, and async/await concurrency. The codebase is well-structured, extensively tested (unit and integration tests), and follows modern Swift practices with pinned dependencies (Commander, swift-log) and strict concurrency checking. It is actively maintained with CI workflows for building, linting, and security scanning.