CoreNELGet started

Guide

Fleet.

Enroll your organization's sidecars, set one policy that each machine can only narrow, and deploy agents, skills and workflows at exact versions.

Fleet

Many sidecars, one set of rules.

CoreNEL Fleet is for an organization that runs sidecars on many machines. It sets policy for all of them in one place, and deploys agents, skills and workflows to them at exact versions.

What it does

A sidecar you enroll in a fleet takes its rules from the fleet: who may connect to it, which models it may call, and which agents, skills and workflows it runs for the organization. The fleet console shows every enrolled sidecar, its version, what is deployed to it, and whether people can sign in to it.

  • A fleet server for your organization, linked to exactly one organization.
  • The sidecar package on each machine you enroll. Skill and workflow deployments need sidecar 0.20.0 or later; what people on the sidecar see of the fleet, and deleting fleet items when a lease runs out, need 0.22.0 or later.

Enroll

Bring a sidecar into the fleet.

Enroll a sidecar

  1. On the machine, run:
    $ corenel-sidecar enroll --url <fleet url>
    It prints a code and a fingerprint.
  2. In the fleet console, under Enrollment, enter the code. Approve only if the fingerprint it shows matches the one the sidecar printed.

For a machine nobody sits at, create a one-time token under Enrollment instead (it lasts from 1 to 24 hours) and pass it with --token. With several sidecars on one machine, corenel-sidecar list shows their ids, and enroll --sidecar <id> picks one. corenel-sidecar unenroll <id> --yes leaves the fleet on that machine and removes everything the fleet put there, including its agents’ memory and run logs; it is refused while that sidecar is running.

Who may connect

An enrolled sidecar runs in fleet mode, whatever --mode says. It lets in members of the fleet’s organization, narrowed by the fleet’s Sign-in setting (All members, Nobody, or These people), and only while its lease from the fleet is valid. New members still wait for the sidecar’s own admin to approve them.

If the lease runs out, the sidecar closes sign-in and disconnects open sessions, then opens again by itself once the fleet renews it. A sidecar the fleet revokes lets nobody in until it is enrolled again, and deletes everything the fleet put on it.

Policy

Each level can only narrow the one above.

Policy levels

Fleet
The policy every sidecar starts from.
Named policy
Written once and picked by a group. A sidecar in no group uses the fleet’s default one.
Sidecar
A narrowing for one machine.
Local
The sidecar’s own config file, on the machine itself.

A level can make the one above it stricter, never looser. The fleet refuses a change that would widen a policy and names the field. A group whose named policy is missing gets the strictest reading, not the loosest.

Models and keys

Policy lists the model endpoints and models a sidecar may call. A call outside that list is refused before anything is sent, and the refusal is reported to the fleet. This covers model calls only, not commands or other network traffic.

Provider keys never pass through the fleet. Each machine keeps its own, saved with corenel-sidecar provider-key set <id> --for <url>, and a key is sent only to the hosts its machine’s admin named with --for.

Deploy

Agents, skills and workflows, at exact versions.

Deployments

A deployment sends one agent, skill or workflow package to the whole fleet, a group, or one sidecar. It pins the package and everything it depends on to an exact version and archive digest, and each sidecar installs exactly that and checks it before use. When the same name is deployed at several levels, the most specific one wins on a sidecar.

Agents
Run on the sidecar’s daemon. Its own admin can pause one, but cannot edit or remove it. A deployment can cap spend per run and per day, enforced on the sidecar.
Skills
Offered to any agent on that sidecar whose policy names them, and to the chats of people the sidecar admits. A fleet skill wins over one of the machine’s own with the same name.
Workflows
Run on the schedule the workflow defines, with model and spend limits set by the deployment. An agent on the sidecar can run one when its policy lists that workflow by name, and people the sidecar admits can run one from a chat or from its page. A workflow that waits for a person’s input is refused.

Sidecars hold no registry key. Before each download a sidecar asks the fleet for a grant for that one package version, and the fleet answers only for packages pinned in that sidecar’s own deployments.

What people on the sidecar see

A browser paired to an enrolled sidecar shows what the fleet deployed there, read-only: agents first on the Crew page, skills in Settings, Tools, and workflows in the Workflows gallery, each under From the fleet. Only files the sidecar has verified are shown. Whether you may run a fleet agent is decided by the sidecar, not by the browser. The sidecar’s own admin can turn a fleet agent or workflow off and on again.

Trust

Signed rules, and a sidecar that fails closed.

Signed state

  • The fleet sends each sidecar one signed document: its policy and its deployments.
  • The sidecar checks the signature against the fleet’s signing keys, which it first learns when it enrolls. An older document cannot replace a newer one.
  • A sidecar that cannot verify its document runs no fleet agents and makes no model calls until a good one arrives.
  • When the lease runs out or the sidecar is revoked, fleet agents and fleet workflows stop. Workflows the machine runs on its own keep running.
  • A fleet can choose to have its sidecars delete what it deployed when their lease runs out; it is off unless an admin turns it on. The items go once a renewal after the deadline also fails. Memory, run logs and settings stay, and the items come back with the next good lease.

The console

The console has Overview, Nodes, Groups, Deployments, Enrollment, Policy, Users, Audit and Settings, and works on a phone. Moving a sidecar between groups, changing a group’s policy and deleting a group each show what will change first, and apply only when you confirm. The audit log records what each admin did, in plain sentences, and the console updates as sidecars check in and admins make changes, without a reload. Once a sidecar is revoked, an admin can delete it from the node list; its audit history stays, and the machine can enroll again.

Try it on your own folder.

The app carries the short versions of these guides, so you can follow one with the thing it describes in front of you.

Free, and you bring your own model key.