Repository navigation
Reads a database schema and produces an OKF (Open Knowledge Format) bundle #84
Replies: 2 comments
|
What is the benefit of using OKF over an MCP service that dynamically pulls the information from the Database server? I've been thinking that the duplication of the information (from the DB schema to the MD files) not only requires additional storage space, but also introduces the need and the cost of keeping them synchronised, as well as the risk of a race condition (the Agent reading an outdated schema after the schema has been updated in the DB and before the change is propagated/synced into the MD file of the OKF). |
|
Nice work on okc — deterministic output and FK links as the knowledge graph is exactly the kind of producer OKF needs. I want to pick up @ntsarb's point about synchronization drift, because that's the question that kept me busy: I built a similar tool (Postgres → one OKF concept per table) and made freshness the design center rather than a follow-up problem. Two decisions came out of that:
Repo: https://github.com/thorsti/erd2okf — longer write-up (German): https://hackflei.sh/doku-fur-die-einzigen-die-sie-noch-lesen-agenten-googles-okf/ Open question I'd be curious about from the spec side: is a freshness convention worth defining at the bundle level — some standard way for a producer to say "verified against the source, and here is what 'verified' covers" — so consumers/agents don't have to trust every producer's private definition of up-to-date? |
Uh oh!
There was an error while loading. Please reload this page.
Website
okc reads a database schema and produces an OKF (Open Knowledge Format) bundle — a directory of cross-linked markdown documents that turn your schema into a navigable knowledge graph.
Note
OKF is a specification for representing structured metadata as markdown files with YAML frontmatter. This project implements OKF v0.1.
Features
Sourceinterface for adding more)type,title,description,resource,tags, andtimestampfrontmatterindex.mdfiles are generated for every directory, listing both subdirectories and typed entriesInstallation
Install from PyPI:
All reactions