Leonardo Gurgitano

Software developer. I write about building systems with language models and about the technical decisions that never make it into the documentation.

15 articles

AI-generated SQL: why it fails silently

In almost every language, incorrect code breaks and tells you. An incorrect SQL query runs, returns rows and nobody finds out. What to check before accepting one, and what changed in the databases themselves.

· 7 min

Coding with AI without overspending

What you actually pay for when using a language model to write code, why the bill almost never comes from the model you picked, and the practices that cut spending most without lowering the quality of the result.

· 7 min

MCP: the protocol that gives models tools

Your assistant answers general questions well but knows nothing about your database. Giving it access means writing an ordinary program. What MCP is, how to write one, and the three security mistakes that keep repeating.

· 6 min