Loading…
Inside one of the first production deployments of Lakebase: LangGuard's agentic workflow governance engine
Venkat Raghavan, Jason Keirstead, Ravi Srinivasan, Nina Williams, Amelia Westberg
- Source
- Databricks
- Published
- Added to Yomu
Summary
LangGuard is presented as a runtime enforcement layer for enterprise agentic workflows, monitoring actions, decisions, tools, credentials, and intent across connected systems. Its GRAIL data fabric records multidimensional trace data, builds a live knowledge graph, and evaluates allow/deny/modify decisions against policy before tools, datasets, or models are accessed. The deployment uses Databricks Lakebase as the operational system of record, relying on PostgreSQL, serverless autoscaling, scale-to-zero, compute-storage disaggregation, hot-data caching, and copy-on-write branching for policy testing. LangGuard chose this architecture to handle bursty trace writes and low-latency enforcement reads without provisioning for peak demand, while keeping operational data available to Databricks analytics and AI capabilities without additional ETL. The stated next step is predictive governance: training behavioral models on historical traces to flag anomalous agent behavior before a policy violation.
Context
LangGuard needs to govern autonomous agent workflows in real time across many agents, tools, models, credentials, and enterprise systems. The source identifies bursty operational workloads, strict enforcement latency, policy-testing requirements, and the cost of provisioning traditional databases for peak demand as the central challenges.
Approach / What changed
LangGuard uses the GRAIL data fabric to capture multidimensional trace data, build a live knowledge graph, and evaluate policy before workflow actions execute. Lakebase provides the operational data layer through PostgreSQL compatibility, compute-storage disaggregation, serverless autoscaling, scale-to-zero, caching for hot data, and instant copy-on-write database branches.
Takeaways
- GRAIL captures agent actions as multidimensional trace data and uses live workflow context to return allow, deny, or modify decisions before tools, datasets, or models are accessed.
- Lakebase’s serverless architecture scales compute during bursts and to zero during inactivity, while durable state remains in replicated storage and hot data is served through a cache near compute.
- Lakebase branches let developers test governance policies against an isolated replica of production trace data using copy-on-write semantics, without physically copying the database.