Get Started

Run the kernel.
See what it decides.

Run SharedOS in your own application. Choose Local to set it up, or Cloud to explore the optional console preview.

Your application runs the kernel in both paths.

01Install

Bring SharedOS into your app.

available now · open source

Use Node.js 20.11 or newer and ES modules. Pin the package version so your integration stays reproducible.

The kernel runs in your process. You keep your database, model credentials, and infrastructure.

npm install @aicoo/sharedos@0.1.0-alpha.5

Installs the kernel for your application. Cloud preview access is arranged separately.

02Wire it up

Connect your trusted state.

your grants · your providers

Supply a grant source and register the resource or tool providers your agents need. Load grants for the caller's namespace, actor, and issuing authority. Your trusted store supplies the permissions for each request.

View the kernel wiring sketch
host.ts · integration sketch
import { SharedOSKernel } from "@aicoo/sharedos";

// db is your application's trusted data layer.
const kernel = new SharedOSKernel({
  grantSource: {
    async load(access) {
      return db.grantsFor({
        namespaceId: access.namespaceId,
        actor: access.actor,
        authority: access.authority,
      });
    },
  },
});

Integration sketch: connect db.grantsFor to your own store and filter on all three fields. Use the complete quickstart for a runnable example with the provider, grants, and calls.

03Verify

Allow one call. Refuse another.

check the boundary

Grant access to one project subtree. Make an in-scope call, then try the same tool outside that subtree. The second call should be denied.

Allowedfiles.search /Work/Projects/atlas
Deniedfiles.search /Work/Finance

Example permission-check outcomes. Add a usage store when working with usage-limited grants.