Settings

Theme

Giving AI Agents Database Access Is Way Harder Than It Looks

querybear.com

2 points by dispencer 12 days ago · 2 comments

Reader

steffs 11 days ago

The onion model is the right mental frame. The nastiest failures are often not obviously bad SQL, they are valid queries that become dangerous only after the planner sees real cardinalities. Row limits and statement timeouts help, but a query can still thrash caches or hold locks before timeout hits. Is your pre execution cost check based on an EXPLAIN style plan with relation level budgets, or is it mostly AST heuristics plus database backstops? That boundary usually decides whether something feels safe enough for production data.

benlimanto 12 days ago

Isn't NL2SQL with Snowflake Qwen Model and NL2DAB from Microsoft MCP SQL Server already great enough with it's capability?

We have multiple production AI Agent for development, as long the "steering" is in set, it's powerful enough to work on and hallucinate less

I'm still not get the querybear said about "It will nuke database", when we give detailed plan before executed, it's already set isn't it?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection