How to Give AI Agents Customer Data Access Without Breaking Permissions
Fit-Western-2099 · reddit · 2026-11-25
A Reddit developer asked how to govern AI agent data access in production: their B2B SaaS is adding an assistant that lets customers query their own data, but the prototype is essentially an LLM writing SQL directly against the database, which they're not comfortable rolling out to a few hundred tenants.
The core question: how do you constrain what the agent can see and query? They ask whether a semantic layer, MCP, or something else is the right approach — a classic permissions/safety engineering problem for agent deployment.
More from coding & agent
- One AGENTS.md, Everything an Object: A Cross-Session Memory Convention for Coding Agents — Honest-Papaya-5196 · 2026-11-25
- Netlify Ships a JSON Schema for netlify.toml, So Editors and Agents Catch Errors Pre-Deploy — thisiskp_ · 2026-11-25
- Does code reusability still matter in the shift to agentic engineering? — AlexTensor · 2026-11-25
- Open-source karpo-browser hits 89% on Browserbase v2 at ~1/13 the cost of Fable + Claude Code — HeyNayeem · 2026-11-25
- Surge AI: frontier coding agents jump from 8% to ~65% on sudo L7, early signs of RSI — echen · 2026-11-25
- YC founder: risk-ops agents now clear 91% of fraud alerts, signed first fintech client in under 4 weeks — ycombinator · 2026-11-25