Dev uses phone fingerprint scanner to authorize timed AI agent leases outside the sandbox

StewartalsopIII · x · 2026-12-07

Developer benmagelsen shares a practical pattern: wiring his phone's fingerprint scanner into his AI stack as remote approval for agent actions.

The setup: a self-built, vibe-coded "Private AI" mobile app holding a fingerprint-bound P-256 key on the device. When his private sandboxed AI needs access to information or tools outside its sandbox (e.g., a hosted AI service), it requests a timed "lease"; he approves it on the phone with his fingerprint. Screenshots show pending approvals, an active lease, audit-chain integrity status, lease details with expiry timestamps and a 0/1 usage cap, plus a "Revoke Now" button.

It's a reproducible pattern combining local biometric auth, key binding, and expiring one-use leases — useful for developers who want a human gate when agents step outside their sandbox. The author admits the UI is ugly, for now.

Original post →

More from coding & agent

coding & agent channel →