internalsGet Pro

Module 17 · Lesson 3 of 10Pro

AI agents as data users: safe warehouse access

Level
Intermediate
Topic
Governance, privacy and security
Reading time
16 min

When you finish this page you can

  1. Explain why an AI agent that writes its own SQL is a different kind of warehouse user from an analyst or a pipeline.
  2. Give an agent its own identity, read-only grants on curated views and a warehouse with a timeout and a credit cap.
  3. Keep personal data out of what the agent sends to its model, and audit every query it runs.
  4. Choose between an agent with its own role and one that runs as the person asking.

Builds on 2 lessons

Start with lesson 217 min
  1. Access control: roles, rows and columns17 min
  2. Data catalogs and discovery17 min

A 47-minute answer to a Slack question

On Monday 6 November 2028, Kartly’s growth team switches on “Ask Kartly”, a Slack bot that answers data questions. Behind it is an : a language model that turns each question into SQL, runs it, reads the result and writes a reply.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan