✕ Clear all filters
59 articles

📰 Dev.to · Mads Hansen

59 articles · Updated every 3 hours · View all reads

All Articles 82,988Blog Posts 106,010Tech Tutorials 20,217Research Papers 17,840News 13,997 ⚡ AI Lessons
AI database answers need citations, not just summaries
Dev.to · Mads Hansen 2w ago
AI database answers need citations, not just summaries
An AI answer from a live database should not end at the sentence. If an assistant says: “MRR is...
MCP database servers need smaller tool catalogs
Dev.to · Mads Hansen 2w ago
MCP database servers need smaller tool catalogs
The easiest MCP database server to build is also the riskiest: Expose a broad query tool. Point it...
AI database agents should not use forever credentials
Dev.to · Mads Hansen 2w ago
AI database agents should not use forever credentials
Autonomous agents should not carry permanent database credentials around like a human service...
Natural-language SQL needs an explain plan before it runs
Dev.to · Mads Hansen 2w ago
Natural-language SQL needs an explain plan before it runs
Natural-language SQL should not go straight from prompt to production query. The generated SQL may...
Natural-language SQL breaks quietly when schema context goes stale
Dev.to · Mads Hansen 3w ago
Natural-language SQL breaks quietly when schema context goes stale
Natural-language SQL breaks quietly when schema context goes stale. The model may still produce SQL...
Your AI database agent should not query the primary by default
Dev.to · Mads Hansen 🤖 AI Agents & Automation ⚡ AI Lesson 3w ago
Your AI database agent should not query the primary by default
Most AI database questions do not need the primary database. They feel urgent because somebody typed...
Your MCP database server needs connection pooling before real users arrive
Dev.to · Mads Hansen 3w ago
Your MCP database server needs connection pooling before real users arrive
AI database traffic is bursty by default. A human asks one question. The agent may turn that...
Do not let your AI database agent discover raw tables first
Dev.to · Mads Hansen 3w ago
Do not let your AI database agent discover raw tables first
The risky part of natural-language SQL is not always the SQL. It is the moment before SQL, when the...
Your AI database agent needs better errors than “tool failed”
Dev.to · Mads Hansen 3w ago
Your AI database agent needs better errors than “tool failed”
“Tool failed” is not an error message. It is a debugging tax. When an AI agent queries a database...
Your MCP database server should not use an admin key
Dev.to · Mads Hansen 3w ago
Your MCP database server should not use an admin key
The fastest way to make an AI database agent dangerous is to connect it with the same credential a...
Every AI database answer needs a source trail
Dev.to · Mads Hansen 3w ago
Every AI database answer needs a source trail
An AI answer without provenance is just a confident paragraph. That may be fine for...
Your AI database agent should not concatenate SQL
Dev.to · Mads Hansen 3w ago
Your AI database agent should not concatenate SQL
The model can understand the question. It should not be trusted to assemble the final executable SQL...
Your AI SQL agent needs a semantic layer, not just table names
Dev.to · Mads Hansen 🤖 AI Agents & Automation ⚡ AI Lesson 3w ago
Your AI SQL agent needs a semantic layer, not just table names
Table names are not business context. An AI database agent can see orders, subscriptions, events,...
Your AI database agent should not see every field it can query
Dev.to · Mads Hansen 🤖 AI Agents & Automation ⚡ AI Lesson 3w ago
Your AI database agent should not see every field it can query
A safe query can still return unsafe context. The SQL might be read-only. The role might be...
Your AI database agent needs query routing before SQL
Dev.to · Mads Hansen 3w ago
Your AI database agent needs query routing before SQL
Not every database question should hit the same source. “What did revenue do last quarter?” can use...
Your AI database agent should not remember tenant filters
Dev.to · Mads Hansen 3w ago
Your AI database agent should not remember tenant filters
The most dangerous database bug in an AI workflow is often a missing filter. The user asks a...
Your AI database answer needs a freshness window
Dev.to · Mads Hansen 🤖 AI Agents & Automation ⚡ AI Lesson 4w ago
Your AI database answer needs a freshness window
AI answers can sound current even when the data is not. That is a problem for database-connected...
Your AI database agent needs dry-run mode
Dev.to · Mads Hansen 🤖 AI Agents & Automation ⚡ AI Lesson 4w ago
Your AI database agent needs dry-run mode
The dangerous moment in an AI database workflow is not always execution. Often, it is the moment...
Your AI database agent needs a query budget
Dev.to · Mads Hansen 🤖 AI Agents & Automation ⚡ AI Lesson 4w ago
Your AI database agent needs a query budget
Natural-language SQL demos usually stop at the happy path. A user asks a question. The model writes...
A production AI database agent should not always try harder
Dev.to · Mads Hansen 🤖 AI Agents & Automation ⚡ AI Lesson 1mo ago
A production AI database agent should not always try harder
A production AI database agent should not always try harder. Sometimes the safest answer is no. Or...