<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/7cac8fbb58d340d49cf36fbcba50db02&quot; frameborder=&quot;0&quot; width=&quot;1280&quot; height=&quot;960&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>960</height><width>1280</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>960</thumbnail_height><thumbnail_width>1280</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/7cac8fbb58d340d49cf36fbcba50db02-1322530bf7d898c9.gif</thumbnail_url><duration>298.484</duration><title>Building Context Layer for AI Agents</title><description>This Loom demonstrates a project that uses dependency-aware access control for SQL and context sharing across AI agents. It explains how adaptive SPY searches are blocked by table dependencies, so delete operations fail when related dependencies exist. The author shows building a context layer that evaluates relationships and retrieves data through scripted execution, then confirms the agent can access related tables such as stockholder and account views. Finally, it shows that other agents can be granted access through a LCP server while external agents do not get uncontrolled access to the context layer.</description></oembed>