anvil-uplink-cli is a thin CLI over that library. The bits worth looking at:
- query, call, row, run, repl — the things you'd otherwise do by pasting into the web Server Console - multi-app profiles, pretty/JSON output, works the same on Windows / macOS / Linux / WSL - a dotenv: key_ref scheme designed for AI coding agents: the Uplink key stays in a gitignored .env, never in a tool-call argument, never in the agent's context
That last bit is the part I most want feedback on. The standard "just use an env var" advice works fine for humans, but when a coding agent is driving your CLI, any inline KEY=... cmd lands in the transcript — and a malicious row from the database could then instruct the agent to exfiltrate it. dotenv: side-steps this by making the CLI read the key itself and never exposing it to the caller.
Built this scratching my own itch while using Claude Code on my Anvil apps. Early alpha, MIT.