Credentials. Fabric and Entra setup and worker enrollment tokens grant access to your OneLake data, so scope them tightly and keep them out of notebooks.
Who it is forA Fabric data engineer who wants heavy or sensitive notebook compute to run inside their own network instead of consuming Fabric capacity.
The problemLarge or sensitive Spark jobs in Fabric use Fabric capacity, and some workloads should stay on hardware the team controls.
The outcomeA Fabric notebook cell that runs on your Spark workers, with status, logs and the exit value returned to the cell and to any calling Fabric pipeline.
What you need first
- Python and a Linux machine (the README says it runs end to end on Linux)
- Installation of the OLCF package as described in the README Install section
- For the multi-machine fabric: a Spark runtime installed with the JDK, and machines that can reach the control plane
- For the Fabric extension: a Fabric tenant you control, the olcf_fabric wheel in a Fabric Environment, and Entra and network setup
Steps
- Set up a Fabric tenant you control, following the Fabric integration guide.
- Attach the olcf_fabric wheel to a Fabric Environment and attach that environment to the notebook.
- Enroll at least one worker with
olcf worker enroll-token, then start it on the machine witholcf-worker run. - Call
olcf.run_remote()in a notebook cell and review the status and logs it returns. - Check the OneLake output table to confirm the write happened.
Prompt for your agent
Use the open-lakehouse-compute-fabric repo (jddevtime/open-lakehouse-compute-fabric) and its Fabric integration guide. Attach the olcf_fabric wheel to a Fabric Environment, call olcf.run_remote() on <notebook name>, and report the returned status and exit value. Verify that the target OneLake table has the expected row count after the run.
Caveat. The README says the project is not Microsoft's runtime, claims no parity with Fabric's proprietary optimisations, and is not affiliated with Microsoft, so expect some notebooks to be rejected by the compatibility analyzer.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for jddevtime/open-lakehouse-compute-fabric and "Run a Fabric notebook on your own Spark hardware"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer