Ln1 is a macOS semantic computer substrate for AI-readable, auditable, verified computer control.
The goal is to make computer use safer, more structured, less screenshot- and coordinate-dependent, and genuinely useful for autonomous agents.
Build the CLI:
swift buildRun tests:
swift testGrant Accessibility access:
.build/debug/Ln1 trustCheck whether the current shell is ready for computer control:
.build/debug/Ln1 doctorObserve the current computer state:
.build/debug/Ln1 observe --app-limit 20 --window-limit 20Inspect the frontmost app as structured JSON:
.build/debug/Ln1 state --depth 4 --max-children 120List the action policy and risk levels:
.build/debug/Ln1 policyInspect visible desktop windows:
.build/debug/Ln1 desktop windows --limit 50Inspect browser tabs through a Chromium DevTools endpoint:
.build/debug/Ln1 browser tabs --endpoint http://127.0.0.1:9222Preflight a workflow before taking action:
.build/debug/Ln1 workflow preflight --operation inspect-active-appReview recent audit records:
.build/debug/Ln1 audit --allow-risk medium --limit 20