Writing
Practical notes from real projects on AI agents, private document assistants and software for regulated industries. Client details stay private; the lessons don't need them.
RSS feedPut access control in retrieval, not in the prompt
An AI assistant built on your documents must respect the permissions your team already has. Telling the model to withhold restricted content is not enough; the filter belongs in the retrieval step.
AI agents in production: treat every event as a possible repeat
Two production faults in a live multi-agent system taught the same lesson. Assume every incoming event may be a duplicate or an echo of your own action, and trace every run so you can prove what happened.
Audit trails: write events, don't rely on database triggers
In regulated software, an audit trail has to answer who did what, where, when and why. Database triggers only capture what changed. Explicit audit events capture the rest, and they are easier to replay for an audit.
Local or hosted models? How I choose for a document assistant
Running AI on your own servers keeps data in-house; hosted models are often stronger and cheaper to start. The right answer depends on three questions, and it is often a mix of both.
Have a project in mind?
Tell me what you want to fix or build, in your own words. You don't need a technical brief.
- NDA available for sensitive projects