lock family docs GitHub

Get started

Quick start

  1. In your project, set up one source at a time:

    cd ~/projects/shop
    lox add locksql      # or lockmq, lockfile, lockhttp, locklog, lockssh
    
  2. In a terminal of its own, outside the agent, keep lox run open: approvals live there.

    lox run
    
  3. Start your agent in another terminal (claude, codex, gemini, … or lea) and ask: "how many orders were placed yesterday?". lox run asks you once for the connection; reads then run masked, and each write waits for your y.

With lea, run lox add and lox run in lea's projects directory. A Lock added while lea runs reaches its agents at lea's next start: lea stop, then lea.