Secure input layers
Systems that retrieve mail, calendar data, customer records, and operational inputs, then classify and route them before any model gets involved.
Local-first AI systems · Est. behind her own firewall
On building AI that can be trusted with what matters.
A short manifesto
I create local-first AI systems that help small businesses handle external inputs, sensitive data, recurring admin, and operational decisions — with less friction and more control.
Cloud models are powerful. I use them constantly. But repetitive, sensitive, operational work often needs something else first: a controlled layer that handles retrieval, classification, storage, routing, and human review deliberately.
The goal is not to add AI everywhere. The goal is to reduce the work that depends on someone manually keeping thirty tabs open in their head, while keeping sensitive data where it belongs.
Useful AI depends on the layer around it — and so the core of my work is a short list, held to stubbornly:
The model is not the whole system.
What gets retrieved · what stays local · what needs human eyesPractical AI systems for small businesses and teams that want the benefits of automation without turning sensitive workflows into a black box.
Systems that retrieve mail, calendar data, customer records, and operational inputs, then classify and route them before any model gets involved.
Local-first agents for repetitive, sensitive, dull-but-important work: sorting, matching, preparing, flagging, and drafting where appropriate.
Human review gates, audit trails, access boundaries, and deterministic flows around language models so automation stays useful and accountable.
A typical workflow starts before the model. The system first decides what the data is, where it belongs, what risks it carries, and what level of human attention it needs. Five movements, always in this order:
Email, calendar data, customer records, forms, or other outside inputs.
Identify type, urgency, customer context, PII, and possible GDPR relevance.
Keep sensitive data local, prepare only the necessary context, and avoid unnecessary model calls.
Draft replies, deletion workflows, audit notes, summaries, or suggested next steps.
Surface consequential actions for human approval before anything important happens.
ChatLib is a self-hosted library for your AI conversation history and a coordination layer for AI agents — built, shipped, and hardened as my own product. It is the security posture of this whole essay, demonstrated in running code.
Years of AI conversations are personal data at their densest: health, business, family, doubt. A tool that holds them should be designed from the question “how could this leak, and who could pretend to be whom?” — not from the feature list.
Chats, workspaces, database, and signing secret live in a single data directory. Backup is copying it; uninstalling is deleting it. The attack surface is exactly as large as one folder.
No CDN, no telemetry, no external requests — fonts and assets ship inside the package. The page that renders your private history makes zero calls to anyone.
API keys are stored as hashes, scoped read / write / admin, and can be bound to an agent name. Everything an agent writes is attributed to its key — not to whatever name it claims.
Password recovery answers identically whether an account exists or not, reset links are signed and short-lived, logins lock after repeated failure, and passwords are hashed with scrypt.
Optional modules only exist when configured. Unconfigured connectors expose no routes, no stubs, no half-dead menus — an endpoint that is not there cannot be probed.
A deliberately small dependency tree, standard-library cryptography, and no build pipeline. What runs is what is in the repository — auditable in an afternoon.
The same doctrine carries my client work: the model is never the trusted layer — the architecture around it is.
Security is not a sticker added after the AI demo works. It is part of the architecture: access boundaries, least privilege, audit trails, defensive testing, and hardening the layers between outside data and trusted systems.
A letter on capability
A large model with vague permissions and too much agency can become a liability precisely because it is capable.
But you can stop them at the gate. And that’s what security has always been. Because in security-sensitive workflows, deterministic code is at the foundation.
— read in full on LinkedInA letter on scaffolding
What makes the best AI great isn’t merely its massive brain. It’s the strength of its harness and internal scaffolding.
Usually the best first step is the layer underneath: the boring, deterministic, security-aware scaffolding that decides what data gets retrieved, where it goes, what needs human review, and what should never touch a model at all.
— read in full on LinkedInColophon · Current status
I’m in the final testing and hardening phase of the secure input layer, while speaking with local businesses about pilot workflows around recurring admin, sensitive operational data, and AI-assisted business processes.