<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Siarhei Khaletski on Medium]]></title>
        <description><![CDATA[Stories by Siarhei Khaletski on Medium]]></description>
        <link>https://medium.com/@TheMJI9I?source=rss-27bcf72a52ca------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ugyNR7S8gSs-V2B5.jpeg</url>
            <title>Stories by Siarhei Khaletski on Medium</title>
            <link>https://medium.com/@TheMJI9I?source=rss-27bcf72a52ca------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:38:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@TheMJI9I/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Branch > Simulate > Apply: Zero-Risk Brownfield Tuning Using AI Agents and Databricks Lakebase]]></title>
            <link>https://medium.com/@TheMJI9I/branch-simulate-apply-zero-risk-brownfield-tuning-using-ai-agents-and-databricks-lakebase-a1b46948e382?source=rss-27bcf72a52ca------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1b46948e382</guid>
            <category><![CDATA[oil-and-gas]]></category>
            <category><![CDATA[lakebase]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-applications]]></category>
            <dc:creator><![CDATA[Siarhei Khaletski]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 21:17:02 GMT</pubDate>
            <atom:updated>2026-10-12T21:17:02.847Z</atom:updated>
            <content:encoded><![CDATA[<p>A scenario-driven look at why upstream optimization gets stuck and what changes when the operational database itself can be branched, diffed, and approved like source code — an overview of how Databricks Lakebase branching can be leveraged in Agentic workflows.</p><h3>A TUESDAY MORNING ON A 70-Well BROWNFIELD</h3><p>Imagine a real-world asset operating today, such as a highly mature, sour field in the Permian Basin of Texas, with automated separators and remote-control installations that feed into a distributed control system (DCS). These wells share a common pressure-depleted reservoir, common manifolds, and a finite set of separators on the surface.</p><p>The morning production report lands at 06:00. For the second day running, the asset is sitting about 4% under the daily forecast, resulting in a production deferment, or “production drift”. Nothing has failed, and nothing has tripped; output is just quietly drifting.</p><blockquote><em>there is just one problem: she cannot simply “try it”</em></blockquote><p>The production engineer on shift has a hypothesis: a cluster of ten wells connected to Manifold 3 has been responsive to lift-gas in the past. Bumping their gas-lift injection rates should decrease the fluid column density in the wellbore and pull more fluid out to close the deferment gap. There is just one problem: she cannot simply “try it.” While production levers like gas-lift, choke positions, and manifold routing are all addressable from the DCS, adjusting a setpoint near an Integrity Operating Window (IOW) edge triggers a rigorous Management of Change (MOC) review. The supervisor approves that MOC will reasonably ask to see what the integrated asset model predicts will happen to the rest of the network.</p><h3>WHY “JUST TRY IT ON A COPY” IS HARDER THAN IT SOUNDS</h3><blockquote><em>The friction is not just that copying a database takes time; it lies in operational realities.</em></blockquote><p>For anyone who has spent time wrestling with production optimization, the painful reality is clear: the workflow from hypothesis to defensible plan is notoriously slow. You know the required plumbing all too well. It requires extracting the current operational state — actual choke positions, lift-gas rates, and the latest well-test allocations — from the enterprise historian and the allocation system. And then, as we all dread, that scattered data must be reconciled against a history-matched Integrated Production Modeling (IPM) framework or a coupled multiphase network and reservoir simulation loop. The friction is not just that copying a database takes time, but rather lies in several operational realities:</p><ul><li>The history-matched model drifts: Over operational cycles, the physical reservoir changes, causing history-matched simulation models to slowly drift away from the real-time SCADA reality.</li><li>Current operational state lives somewhere else: What the wells are actually doing right now is in the historian and the allocation system, not in the simulation deck.</li><li>Heavy computation takes hours: Running a full history-matched simulation and rigorous 30-day forecast is computationally intensive and takes hours to complete.</li><li>There is no shared, versioned scenario library: Failed scenarios get thrown away, and most “what-ifs” live in personal folders on a shared drive, losing the decision timeline required for audits.</li></ul><h3>WHAT CHANGES WHEN OPERATIONAL DATA HAS BRANCHES</h3><p>To resolve this, modern data architecture treats the operational database like a source code repository. Database branching allows automated agents or engineers to create instant, isolated, zero-copy sandboxes of operational databases.</p><blockquote><em>Database branching allows automated agents or engineers to create instant, isolated, zero-copy sandboxes of operational databases.</em></blockquote><p>If the database that backs production operations can branch in milliseconds from the live state, accept writes in isolation, be queried by simulators, and be diffed against the parent, the workflow collapses into something much shorter. The engineer gets a current, isolated sandbox, the reviewer gets a diff, and the MOC packet writes itself.</p><p>This is what <a href="https://www.databricks.com/product/lakebase">Databricks Lakebase</a> — managed Postgres with native branching, was built to make routine.</p><h3>ONE SHIFT, REPLAYED</h3><p>Now, replay the scenario with database branching and AI surrogate models in place</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CLx9ZR0XIiV4PJmo" /><figcaption>Fig 1 — The branching timeline</figcaption></figure><p>Let’s take a look at how the Lakebase branching strategy might look:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sFLzYZdXpiuiXtXV" /><figcaption>Fig 2 — Agent Creates the Lakebase branches for each simulation</figcaption></figure><p>Here is the Databricks Application UI that helps run the Agent and evaluate its simulations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YfaMdVkCYUOuyecg" /><figcaption>Fig. 3 — A Databricks App — POC</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MC5IHl3c2rXOWa-f" /><figcaption>Fig 4. — The Agent analyzes the decline</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dov3DOjyW1f85IZW" /><figcaption>Fig. 5 — The Agent reviewing existing branches and creating new ones</figcaption></figure><h3>WHY THIS MAPS TO REAL UPSTREAM PAIN</h3><blockquote><em>None of this replaces the petroleum engineer — it replaces the plumbing around the engineer.</em></blockquote><p>Each capability above lines up with something production teams already know hurts:</p><ul><li>Instant branch from live state removes the history-matched-deck drift problem. The proposal is built on what the field is actually doing this hour, not last week.</li><li>“Nested” branches make it cheap to try variants without losing the failed ones. That is exactly what MOC reviewers and partner audits want to see — not just the chosen plan, but what was tried and rejected, and why.</li><li>A diffable, reviewable plan changes the supervisor’s job from “trust the model” to “approve a change with full context.” Ten wells, before/after, projected uplift, IOWs respected. That is something a human can sign their name to.</li><li>Post-apply sensor verification closes the loop with the DCS. The system records commanded vs. measured for the regulator, the partner, and the next engineer who looks at this asset.</li><li>Cheap teardown means the field doesn’t accumulate a graveyard of half-abandoned dev environments. Branches exist for the lifetime of a question, and then they go away.</li></ul><p>None of this replaces the petroleum engineer. It replaces the <em>plumbing around the engineer</em>, the waiting for license queues, the hand-copying of state, the scenarios lost in personal folders, and the MOC packets reconstructed after the fact. Their judgment shows up where it counts: choosing which wells, which lever, how aggressively, and when to stop.</p><h3>WHAT IS DELIBERATELY NOT AUTOMATED</h3><blockquote><em>Black-box recommendations are rejected for serious assets, and they should be.</em></blockquote><p>A note on what the approach refuses to do, because this part matters more than any of the speed numbers:</p><ul><li>The agent never writes to the live operational system without explicit human approval for high-impact moves. The approval gate is the most visible element, not an afterthought.</li><li>Proposed setpoint changes that cross IOW edges still go through the operator’s MOC process. Branching enriches the MOC packet; it does not replace it.</li><li>Every action the agent takes is traced. The reviewer sees the reasoning, the tool calls, the rows read, the rows written, the simulator pass, and the limit check, all of it. There is no path where the agent quietly does something the human can’t see.</li></ul><p>Black-box recommendations are rejected for serious assets, and they should be. This pattern ships its work.</p><h3>CONCLUSION</h3><blockquote><em>Operational state is data. Data can have branches. Branches can be diffed and approved.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lkqT7Miqv7WvM0ME" /><figcaption>Fig. 6 — More than 80% databases will be created by AI agents</figcaption></figure><p>That is the whole idea. The pieces: <a href="https://docs.databricks.com/aws/en/oltp/projects/branches">Lakebase for branchable OLTP</a>, <a href="https://docs.databricks.com/aws/en/oltp/projects/register-uc">Unity Catalog</a> for governance of the operational tables, <a href="https://docs.databricks.com/aws/en/mlflow3/genai/tracing">MLflow</a> for the agent’s <a href="https://docs.databricks.com/aws/en/mlflow3/genai/tracing">traced</a> timeline, <a href="https://docs.databricks.com/aws/en/generative-ai/agent-framework/author-agent">Databricks Apps</a> for the reviewer’s UI, exist to make that one line operationally true on a real asset.</p><p>That is what changes when the operational database itself starts behaving like source code.</p><p>This blog showcases the end-to-end scenario and setting context demo I have built to demonstrate these capabilities in action. In the next part of this blog series, I will dive into the architecture and implementation details that enable this workflow.</p><p><a href="https://www.linkedin.com/pulse/branch-simulate-apply-zero-risk-brownfield-tuning-using-khaletski-r2q5c/">LinkedIn repost.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1b46948e382" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Data Fortress: Unlocking AI for OSDU with the Lakehouse]]></title>
            <link>https://medium.com/@TheMJI9I/beyond-the-data-fortress-unlocking-ai-for-osdu-with-the-lakehouse-77a9277710bb?source=rss-27bcf72a52ca------2</link>
            <guid isPermaLink="false">https://medium.com/p/77a9277710bb</guid>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[oil-and-gas]]></category>
            <category><![CDATA[data-lakehouse]]></category>
            <category><![CDATA[osdu]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Siarhei Khaletski]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 21:05:54 GMT</pubDate>
            <atom:updated>2026-10-12T21:10:13.743Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qljGGwbIOnjL9EN-" /></figure><p>If you’ve spent any time in the oil and gas sector, you know the drill: OSDU is the “system of record”, a massive, standardized effort to break down silos and create a unified solution for subsurface data.</p><p>For the past five years, I’ve been deeply involved in various projects helping companies navigate OSDU adoption and, more importantly, figuring out how to actually extract real value from it. It’s a powerhouse for data consistency. But, as I’ve seen while developing solutions on top of it, consistency doesn’t always equal accessibility.</p><h3>The Wall: Why OSDU Isn’t “AI-Ready” Out of the Box</h3><p>While OSDU is excellent at storing complex metadata and schemas, it often feels like a data fortress. It was designed as a robust backend, but it lacks what I call the engagement layer.</p><p>In my experience, teams trying to run modern AI or advanced analytics on OSDU hit the same three walls:</p><ol><li>Missing Lakehouse DNA — OSDU doesn’t natively provide the performance or “look and feel” of a modern data lakehouse.</li><li>AI Friction — Integrating LLMs or generative AI requires more than just an API; it requires high-performance, governed access to the underlying data.</li><li>The Metadata Weight — Navigating OSDU’s complex schemas to find what you need for a quick insight is often a manual, grueling process.</li></ol><h3>The “Aha!” Moment: No More Data Copying</h3><blockquote>How do we bring the AI to the data rather than moving the data to the AI?</blockquote><p>In almost every implementation I’ve seen, the “solution” to these problems was the same: custom ETL, caching layer, materialization, etc. Companies would build complex pipelines to copy data out of OSDU into a separate environment just to make it usable for AI. I’ve seen this, and to be honest, <a href="https://www.youtube.com/watch?v=znyquRMX5x4">built it before too</a>, and it always ends the same way:</p><ul><li>Maintenance Nightmares — Custom pipelines break.</li><li>Skyrocketing Costs — You’re paying for the same data twice (and the compute to move it).</li><li>Governance (especially Security and Lineage) Gaps — Managing permissions across two disconnected environments is a recipe for disaster.</li></ul><p>I started asking myself: <em>How do we bring the AI to the data, rather than moving the data to the AI?</em> I wanted a way to unlock these capabilities without adding another “copy” to the architectural debt.</p><h3>A Practical Path to AI-Ready OSDU</h3><blockquote><em>From Data Fortress to Lakehouse</em></blockquote><p>In <a href="https://www.linkedin.com/article/edit/7452750660808388609/#">Databricks</a>, we encourage openness. Databricks’ dedication to contributions to Delta Lake, Spark, Unity Catalog, and others just proves this.</p><p>Instead of moving data from OSDU, we treat Databricks as the engine powering OSDU. Here’s the workflow that changes the game:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dSq8Hhp1CG-yiPns" /></figure><h3>1. Unity Catalog: The Unified Governance Layer</h3><p>Mapped OSDU metadata directly into Databricks Unity Catalog. This provides a single pane of glass where subsurface data lives right next to your corporate data, fully governed, audited, and searchable without moving the source files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0Cm-Z3m0nhWMZvn8" /><figcaption>Fig 1 — OSDU data in Managed by UC tables</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nXhiyqMfIGdgRJhv" /><figcaption>Fig 2 — Sample Data View (no copy)</figcaption></figure><h3>2. Databricks Genie: Natural Language over OSDU</h3><p>This was the turning point. By creating a Genie Space over our OSDU schemas, we can enable non-technical users to ask questions such as “Show me all well logs in the Permian Basin with high porosity” and receive immediate results. Genie handles the SQL translation; the OSDU schema handles the context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OvMACnFizf0Nt-Gc" /><figcaption>Fig 3 — Genie brings AI to OSDU data</figcaption></figure><h3>3. The SDP and Medallion Architecture</h3><p>Using the <a href="https://www.databricks.com/product/data-engineering/spark-declarative-pipelines">Lakeflow Spark Declarative Pipelines (SDP)</a>, we can apply a Medallion Architecture (Bronze, Silver, Gold) to the OSDU raw data. This ensured that by the time the data reached the “Gold” layer, it wasn’t just raw bits, it was high-quality, AI-ready information with built-in data quality checks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9onx0AsKUsstI6eV" /><figcaption>Fig 4 — Manage DQ expectations with SDP</figcaption></figure><h3>Scaling Beyond Ingestion: QC, MDM, and Advanced ML</h3><p>Once the “plumbing” is handled by Databricks, the focus shifts to solving the high-stakes problems that actually keep geoscientists up at night. Here is what I’m seeing teams build next:</p><ul><li>Closed-Loop QC/DQ: Moving beyond simple checks to an automated feedback loop where data issues are flagged, routed, and resolved without leaving the ecosystem.</li><li>The “Golden Well” MDM: Resolving the industry-wide headache of Master Data Management by reconciling conflicting well headers across OSDU schemas to create a single, trusted record.</li><li>Subsurface ML at Scale: Deploying complex models, like automated seismic facies classification or production forecasting — directly on the OSDU data without the “ETL tax.”</li></ul><p>and many other use cases.</p><p>By layering in <a href="https://www.databricks.com/product/databricks-apps">Databricks Apps</a>, <a href="https://www.databricks.com/product/data-engineering">Lakeflow</a>, and <a href="https://www.databricks.com/product/lakebase">Lakebase</a>, you transform OSDU from a static repository into a limitless, serverless engine that delivers high-speed applications and self-healing pipelines at an unprecedented scale.</p><h3>Conclusion</h3><p>We’ve moved past the era where simply “having” data was enough. In 2026, the value is in how fast you can turn that data into an answer. This Zero-Copy Intelligence approach isn’t just a technical fix; it’s a way to finally let geoscientists and engineers talk to their data.</p><blockquote><em>This is the only Phase 1 implementation where the approach demonstrates its feasibility and significant potential.</em></blockquote><p>Are you an OSDU member or a data architect struggling with these same silos? We at Databricks are looking to connect with others who want to contribute to this open solution or simply share their experiences.</p><p>Drop me a message or contact your Databricks account representatives — let’s build a smarter subsurface together.</p><p>#OSDU #oil&amp;gas #lakehouse #ai #databricks #deltalake #opentables</p><p><a href="https://www.linkedin.com/pulse/beyond-data-fortress-unlocking-ai-osdu-lakehouse-siarhei-khaletski-vrzuc/">LinkedIn repost</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77a9277710bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>