WhoBuilt

Build-Time vs. Run-Time: Why Dev Tools Fail in Production

Sep 9, 2026· 20 min· 7.4K views·Watch on YouTube

Speakers

Averi Kitsch, staff software engineer at Google Cloud, and Prerna Kakkar, senior software engineer at Google, explain build-time versus run-time tools and secure database access at AI Engineer.

Database tool patterns

Prerna describes MCP Toolbox for Databases as a self-managed, open-source service with connection pooling, observability, support for more than 40 databases, and about 15.7K GitHub stars. She distinguishes flexible natural-language-to-SQL and control-plane tools from structured SQL tools, whose predefined queries and parameters suit production use.

Build-time and run-time tools

Prerna says control-plane and natural-language-to-SQL tools help developers explore and administer systems, but risky actions need human oversight. Production applications should instead use run-time tools with deterministic actions, such as a cancel-order query. A demo illustrates the danger of an unguarded build-time agent deleting a table.

Identity-aware database guardrails

Averi explains how a confused-deputy attack can trick an agent into using its privileges to expose private data, such as employee salaries through a ticketing system. She recommends separating user, application, and agent identities, and keeping factual constraints outside the agent’s control. Toolbox can keep connection details out of agent inputs and restrict access with read-only settings, allowed datasets, and output limits.

Custom tools and safer inputs

Averi describes custom tools that run predefined SQL with prepared statements and typed parameters, limiting what an agent can execute. She recommends outcome-focused tools, separate read and write actions, actionable errors, and simple inputs. For sensitive identity data, applications can bind authenticated user parameters, or tools can validate a signed identity token and extract user claims.

Takeaways

  • Use flexible build-time tools for developer assistance, and deterministic run-time tools for production workflows.
  • Keep database credentials, connection details, and factual access constraints outside the agent’s control.
  • Reduce an agent’s blast radius with read-only access, dataset limits, and output caps.
  • Use predefined SQL with typed parameters when production actions need controlled inputs.
  • Bind user identity through the application or a validated token instead of asking the agent to supply it.

Mentioned in this talk

Search inside this talk

What was claimed 11

Show all 11 facts

Related talks