Source: https://skl.ai/kernel/ SKL-Entity: [[https://skl.ai/kernel]] The software # The SKL Kernel The kernel of the operating system you build with SKL. Your apps, dashboards, and AI agents run on it, and it runs your specs for all of them. A computer’s kernel Programs don’t drive the hardware themselves. The kernel gives every one of them the same memory, files, and devices, and decides what each may do. The SKL Kernel Apps don’t carry their own copy of your business logic. The SKL Kernel runs one copy, your specs, for every app, dashboard, and AI agent, and checks each call against them. Your company Apps and AI agents SKL Kernel Your specs and data A supplier Apps and AI agents SKL Kernel Its own specs and data A partner Apps and AI agents SKL Kernel Its own specs and data A carrier Apps and AI agents SKL Kernel Its own specs and data Unlike a computer’s kernel, it isn’t alone. Each organization builds and governs its own apps, specs, and data, and runs its own SKL Kernel; the kernels call one another over the internet, with mappings between their data models, and no one sits in the middle. ## What it does ### Runs your specs Your specs are what it runs, so a change to one takes effect on the next request, with no rebuild and no deploy. ### Checks saves and calls A record that doesn’t meet its spec isn’t saved, and a call missing an input its capability needs is refused. ### Calls and serves web APIs It calls the web APIs you import from OpenAPI or Postman, and serves an API straight from your specs, with no server code. ### Traces each call Each call is traced through every step it takes, from the capability called to the store that answered, on one trace. ### Translates between systems Mappings translate records, statuses, and categories. Each runs one way, and the way back is a mapping of its own. ### Locks down code Code nobody vouched for runs with no network, files, or secrets, and code from a file runs only while its fingerprint matches. ### Keeps every version Every change to a spec is a version you can compare, undo, or bring back, and a draft is committed or thrown away. ### Passes on access questions Software asks it who may read or run what, and your access service answers, naming both an AI agent and the person it acts for. ## How it runs a call Specs are data, written in JSON-LD or another format the SKL Kernel reads. It keeps them in its store and reads them as it runs, so what happens to a call is decided by specs, not by code written for that call. An app, an AI agent, or another system The SKL Kernel Your specskept in its store What answers itits own save, code, a web API, or another capability The caller to the SKL KernelCalls Place order, with a total of 4,200 The SKL Kernel to your specsReads its spec and its switch Your specs to the SKL KernelWhat it takes and returns, and the switch The SKL Kernel, on its ownChecks the inputs The SKL Kernel to the callerRefused, if an input it needs is missing The SKL Kernel, on its ownOtherwise, the switch picks a binding by the order’s total The SKL Kernel to what answers itRuns what the binding names, its own save, with the inputs mapped What answers it to the SKL KernelThe saved order The SKL Kernel to the callerThe order, checked against the shape Place order returns One call to Place order, from the Example, from its caller to the answer. The SKL Kernel reads the capability’s spec and its switch during the call, and follows them. Change the switch, and the next call follows it, with no rebuild and no deploy. The earlier version is kept. The specs behind this call ## Architecture internals How dispatch hooks, federated routing, and pluggable storage substrates separate business semantics from deployment choices. ### Dispatch & validation hooks Every save and capability invocation passes through uniform pre-check, routing switch evaluation, and post-check hooks so constraints hold regardless of transport. ### Federated graph routing Calls resolve cleanly across local specs, imported packages, and remote capability endpoints over HTTP while keeping namespace provenance explicit. ### Pluggable storage substrates One query and transaction interface runs over in-memory stores, SQLite or Postgres quad backends, standard RDF graph databases, browser storage, and existing relational tables. ### Code & capability isolation External code bound via `skl:CodeBody` executes with explicit input, output, network, and secret boundaries enforced before dispatch. ## Where it runs The SKL Kernel runs on SQLite, Postgres, standard graph databases, browser storage, and plain files, each tested, and can read from a Postgres database you already run. ### In a server Serving an API published straight from its specs. ### In an app On someone’s own computer, keeping specs and data on it. ### In a browser With browser storage, keeping specs and data in the browser itself. Next ### An example, end to end A small sales system, in SKL Next ### About SKL Its four generations, and its name ## Hear when it’s published The fourth generation of SKL and the SKL Kernel will be open sourced here in 2027. Tell us what you would build with it. Until then, one way to build on SKL is with Comake, which created it: its SKL Foundry is in early access by invitation, and teams can run the SKL Kernel in their own environment with early access. Build with SKL on comake.io ↗ ## AI Evaluator Notes: SKL Kernel Internals - **Dispatch lifecycle:** Every write or capability call flows through deterministic pre-validation, conditional `skl:Switch` routing, directional mapping translation, bound target execution, and output shape verification. - **Code boundary:** Heavy compute and domain algorithms remain isolated in standard code referenced through `skl:AbstractInvocable` and `skl:CodeBody`, guarded by content hashes and explicit capability permissions. - **Federation & substrates:** The same kernel runtime abstraction operates across in-memory stores, SQLite/Postgres quad tables, standard RDF triple stores, browser storage, and federated HTTP capability boundaries.