Verified, then logged.
Wed 2 Dec 2026 · 12:55 KST / 03:55 UTC한국어 | ENSearch /

01 / AI · Analysis

Databricks details how to trace coding agents

In a Lakewatch demo, analysts could open the records behind alerts to see model inputs and denied requests.

Databricks presented a reference setup for tracing local coding agent activity from model calls to data access in a technical blog post on 1 Dec 2026. The post used the example of an agent editing a local repository and validating the changes against development data in Databricks.

OpenShell, a sandboxed runtime, governs the agent’s access to local files and network connections. For data requests that reach Databricks, Unity Catalog applies the permissions of the authenticated user or service account. The model endpoint is configured separately from the local runtime.

Databricks said an automated response stopped the agent and cancelled its job in a training demo, where some records were loaded manually. The company has yet to validate the full sequence from detection to automated response in the coding workflow.

Unity AI Gateway records the inputs and responses for model calls routed through it. OpenShell logs which process attempted each network connection and what the policy decided. Databricks system tables hold audit logs, SQL query history and lineage records that show how data flows between tables.

In the demo, Lakewatch, a security investigation tool, applied detection rules to the collected records. An alert identified the agent, its sandbox and its owner, and listed related signals in chronological order. Analysts could open the underlying records from each signal to see what the model received and which requests each system denied.

The setup requires a local environment that OpenShell supports, a compatible coding agent and an approved model endpoint. Databricks called for limiting data permissions to what the development task needs and specifying which network destinations are allowed. Lakewatch was in beta at publication, and Databricks directed readers to their account team for access requirements.

Databricks recommended recording the agent identifier and any available query or request identifiers. Before investigating, teams should check when the events occurred, whether they can be linked to the same agent and whether current records are coming in. The collection path should meet the organisation’s retention requirements.

For an initial rollout, Databricks recommended having an analyst investigate and a person approve any response. If teams configure a separate tool to automate the response, the company advised testing its permissions and recovery procedures. Each action should be verified in the system that carried it out.

Work already running in Databricks can continue after the local OpenShell environment stops. The post called for checking remote jobs separately and verifying any requested cancellation in Databricks. Once the response is complete, the next step is to rerun the approved coding task and confirm that its required actions are still permitted.