Skip to main content

context-layer

There is a lot of talk about context layers, and the best way to learn one is to build one. This is a toy, but the core ideas turned out to be simple.

  • A data platform is full of signals: query history, who opens what, what is certified, what is refreshed. That is enough to rank definitions.
  • Nobody will maintain a knowledge graph by hand, and the ones that exist drift. The graph has to build itself.
  • A stateless agent is attractive: the ranking happens before the question, so the model behind the agent can change without losing anything.
  • A context layer is there to be useful, not to hold the ultimate truth.

The bet is that a context built automatically, at least to start, and ranked on how the platform already behaves gets better as the platform is used. I do not know yet whether that holds. What I do like is that it uses the semantic models already there and asks for no new modelling.

So far the industry splits on who settles a conflict: the platform, by scoring it, which scales with usage, or a person, by reviewing it, which scales with reviewer time; I prefer the first, time will tell.

The harvest delivers one thing: a knowledge graph of the tenant - every term, its competing definitions ranked, and what feeds what. That graph is the context. It runs nightly on its own, an agent asks whenever, and the two meet at the graph without ever calling each other.

See it on a real tenant

Inside the platform, the harvest side reads a Fabric workspace, builds and ranks the graph, and publishes it as the context. Outside it, any stateless agent - on a laptop, in a notebook, in CI, in a chat - searches and defines a term from that context, runs rank 1 as DAX on the model that owns it, and answers with the number, its source and a confidence.

Installing it, the ranking, what is harvested, the schema, the limits: run.md.

Licence

MIT - see LICENSE.

Release files for fabcontext 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fabcontext 0.1.0
File Size Uploaded
fabcontext-0.1.0.tar.gz 92.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fabcontext 0.1.0
File Interpreter ABI Platform
fabcontext-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 190.7 kB

Release files / fabcontext-0.1.0.tar.gz

Download URL fabcontext-0.1.0.tar.gz
Size 92.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d6284848687a0fe776938736cf38e3d0e52133f64fa382e7f52a9f9f927f47ff
BLAKE2b-256 checksum
How to use checksums
80639fcd8000c3c7f3bf9ba9a1de38613e51e2290515fa41a97990dc580faaef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / fabcontext-0.1.0-py3-none-any.whl

Download URL fabcontext-0.1.0-py3-none-any.whl
Size 97.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0313ca384f7926401231d12fd774086ac707069f5fa380a430c1708b7c861d5c
BLAKE2b-256 checksum
How to use checksums
52c8538e25804459d0fd299a911b8c59ef8567828e3fb1e56c9bb67706efc19e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page