Skip to content

InCentru Cloud

incentru works alone, as above. To run it on many machines, manage connections, policies and updates from one place, and keep a record of every run, enrol it in InCentru Cloud, which uses this same binary as its node. Join the waitlist.

Create a setup key in the InCentru console (Nodes → Add a node). The key is used once to enrol; after that the node identifies itself with its own certificate, kept in its state directory.

Linux, as a systemd service (any of these leaves the same service behind):

Terminal window
# the deb or rpm package
sudo apt install ./incentru_<version>_linux_amd64.deb # or: sudo dnf install ./…rpm
sudo sh -c 'echo INCENTRU_SETUP_KEY=inc_... >> /etc/incentru/incentru.env'
sudo systemctl enable --now incentru
# or the binary, which installs itself
sudo ./incentru service install --setup-key inc_...
# or the install script, which downloads and checks the binary first
curl -fsSL https://get.incentru.com | sudo INCENTRU_SETUP_KEY='inc_...' sh

Settings live in /etc/incentru/incentru.env and the identity in /var/lib/incentru. sudo incentru service uninstall removes the service and keeps the identity; add --purge to delete it as well.

Container:

Terminal window
docker run -d --restart unless-stopped -v incentru:/var/lib/incentru \
-e INCENTRU_SETUP_KEY='inc_...' ghcr.io/incentru/incentru up

Kubernetes: helm install incentru ./deploy/helm/incentru --set setupKey='inc_...'. Each replica is its own node, enrolled under its pod name, with its identity on its own volume.

Anything else: incentru up --setup-key inc_... enrols and stays connected. To keep the key out of the process list, use --setup-key-file PATH or the INCENTRU_SETUP_KEY environment variable.

On Linux a node updates itself to the release InCentru Cloud offers. The installed binary is never modified: signed releases are staged under <state>/releases/<version>/, and at up start the installed binary runs the newest staged one. The node checks an Ed25519 signature against the release keys built into it, downloads over its own mTLS stream, checks the SHA-256 and that the new build runs, waits up to 15 minutes for running tasks to finish, and restarts. A staged build that does not reach InCentru Cloud in 3 starts is marked bad, and the node goes back to the one before.

On a Linux machine that is not enrolled, the Client’s Update button (This machine, after Check for updates) or incentru update installs the latest release the same way, for your user: it checks the signature and the SHA-256, checks that the new build runs, and stages it under <state>/releases/<version>/. The Client restarts into it; incentru mcp and the other commands run it from their next start, so an AI tool that is open uses it once it restarts its MCP server. The installed program stays as it is, so no root is needed, and the install script, brew upgrade or a new package still replace it; a newer installed program runs in place of an older staged release. A staged release that does not start properly in 3 starts is marked bad, and the machine goes back to the build before it. incentru update --check only says whether a newer release is out. The approve_updates lock does not stop an update you ask for; pinned_version does.

incentru status shows an update: line. INCENTRU_SELF_UPDATE=false turns self-update off (the Helm chart sets it so by default, as selfUpdate). The locks approve_updates (never update automatically) and pinned_version (never update to another version) hold a node back, and each refusal is recorded as a lock refusal. Deleting <state>/releases returns the node to the installed build.

Tagged releases are signed by the release workflow with the key whose public half is in internal/update/release_keys.json; its private seed is the GitHub Actions secret INCENTRU_PUBLIC_RELEASE_SIGNING_KEY. Builds of the main branch are signed by the node-release workflow with a second key, in internal/update/dev_release_keys.json (secret INCENTRU_RELEASE_SIGNING_KEY). A release binary is built with the release build tag and trusts only the first key; any build without that tag trusts both, so it also follows the main branch. Make a key with go run ./tools/release keygen -keys internal/update/release_keys.json | gh secret set INCENTRU_PUBLIC_RELEASE_SIGNING_KEY -R InCentru/incentru, and check a release directory with go run ./tools/release verify -dir D [-keys FILE].

The node only makes outbound connections. It honours HTTPS_PROXY and NO_PROXY, and accepts an extra CA bundle for networks that inspect TLS. Run incentru preflight to see what the node can reach.

When InCentru Cloud asks, the node encrypts the data of a run step under the org key. A step’s outputs come back as {"$sealed":"<id>"} markers with encrypted blobs, and every error message is encrypted. What stays clear is metadata: the branch label, the count, the error code and the durations. Only nodes that declare the sealed-run-data capability are asked. A node without the org key releases such a task rather than run it. After the org key is rotated, data encrypted under an earlier key still opens on nodes that hold that key until it is retired, and after that it has been encrypted again under the current key (see rotating the org key). New data is encrypted under the current key. A node whose owner set the lock run_data to sealed_only refuses every step and trigger poll it is not asked to encrypt (see locks).

In an error message the node sends in clear, the run’s values that the task holds (the run’s inputs, variables and step outputs in its scope, and the input it was given) are replaced by placeholders, so InCentru Cloud keeps “entry already exists: uid=[value 1]”, which still says what went wrong. Values shorter than 3 characters are left as they are. An error message that goes encrypted is encrypted as it is.

A poll trigger’s events can be encrypted too, on nodes that declare the sealed-poll-events capability: each event becomes its own blob, and only the event’s id, the cursor and whether more events remain stay clear (on a first poll, also the counts and field names it reports). Choose a cursor field whose values may be seen, such as an id or a time. An encrypted event opens only as the inputs of the run it starts, through intake on a node that holds the org key, and polls are not kept in the run history.

The node also keeps a local copy, the run history, in <state-dir>/history/: one file per UTC day, readable by the node’s user only. It holds ciphertext, and the org key is only ever in memory, so a copied disk reveals nothing. By default it keeps 30 days and at most 1 GiB; while it is over the cap, new runs are not recorded. Change it with incentru settings history --keep-days N --max-mb M. --keep-days 0 turns recording off. Changes apply at the next start.

Reading encrypted data needs a connected node that holds the org key.

InCentru Cloud can ask a node that holds the org key for keyed fingerprints of values, to recognise a value it has seen before: a bulk row already done (bulk-row) or a term in the run history (run-search). For each value the node computes

K = HKDF-SHA256(org key, salt empty, info "incentru-fingerprint:v1:" + purpose, 32 bytes)
fingerprint = HMAC-SHA256(K, u32be(len(scope)) || scope || value), lower-case hex

The values arrive from InCentru Cloud and are hashed as given. Only the org key’s id and the fingerprints go back. InCentru Cloud never holds the org key, so it cannot test a guess against a fingerprint it keeps. A node declares the fingerprint capability only where it can hold the key (not under org_key: never, not when tagged local). It fails the task when it does not hold the key or its owner locked org_key: never, for an unknown purpose, for more than 1000 values, or for a value over 64 KiB; its error messages give an index or a size, never a value.

Fingerprints are made under the current org key unless the task names an earlier one by its id. A node that declares fingerprint-key-id and still holds that key fingerprints under it, so values fingerprinted before the org key was rotated still match until that key is retired, after which they have been fingerprinted again under the current key; a node that does not hold it hands the task back. The output names the key used.

Before an earlier org key is retired (see retiring an earlier org key), InCentru Cloud can rebuild its run-search entries under the current key: when a node moves the run’s data to the current key it also returns that data’s fingerprints under it. Only data the node can open can be fingerprinted again. A bulk-row ledger keeps fingerprints and nothing they were made from, so its entries under a retired key cannot be rebuilt: a row the ledger knew under that key looks new and may run again once.

A run-search term typed in the console never reaches InCentru Cloud in clear: the browser encrypts it to one node’s encryption key (HKDF info and associated data incentru-seal:v1:run-search, so a term never opens as a connection secret), and only a node that declares fingerprint-sealed-term is sent it. The node opens it, normalises it as InCentru Cloud normalises indexed values (NFC, strip the whitespace Python’s str.strip removes, full case folding, NFC; 1 to 256 code points) and returns its one run-search fingerprint. A term that does not open, or is empty or too long, fails the task with a fixed message; the node never quotes or logs the term.

In an organisation that encrypts the run’s data, InCentru Cloud cannot index what only a node sees: a sub-workflow’s inputs and a run’s outputs. When it names the searchable fields, the node that works these out fingerprints their values for run-search (normalised the same way; each list item once; booleans, objects and nulls give nothing; at most 1000 pairs) and returns only the org key’s id, the field names and the fingerprints next to the encrypted result. A node that cannot use the org key for fingerprints fails the task with a fixed message.

To show a member the run’s data encrypted under the org key, InCentru Cloud sends a node that holds the key a View: the member’s user id, their device (device-<fingerprint>), the device’s approval and the blobs the page needs. The node opens each blob and encrypts it again to that device alone, with incentru-seal:v1 and info "incentru-view:v1:" + device + ":" + blob id, so only the member’s browser can read it. It encrypts only to a key it has checked itself:

  • With an approval, the approval must verify against the administrators’ keys the node’s owner pinned (an administrator who has been removed no longer approves), and must name the same user and device as the View. The node encrypts to the encryption key in the approval.
  • Without one, the device must be an administrator device of that user in the pinned head.

A node with no pin refuses every View: its owner pins it with incentru trust <fingerprint>. Which blobs a member may see is InCentru Cloud’s decision, as with its other permissions. A View carries at most 1000 blobs and 2 MiB of ciphertext. The node releases it when it holds no org key or another one than a blob names, and fails it under org_key: never, for an approval that does not verify or names someone else, or for a blob that does not open. It logs one line per View (task, user, device, who approved the device, number of blobs) and never a value.

A blob larger than that (a table of many thousand rows) is queried instead: a node that declares view-query takes a View with query set and exactly one blob of at most 4 MiB − 64 KiB. It checks the device as above, opens the blob, masks the value of every secret-named key at every depth (🔒 •••), takes the rows at path, projects them to the columns, keeps those that match the filter (the text the person typed, encrypted in their browser to this node with info incentru-seal:v1:view-filter), sorts them on sort_key and returns one page of at most limit rows and 1 MiB, encrypted to the device with info "incentru-view-query:v1:" + device + ":" + nonce. It refuses a sort key or path segment that is secret-named. internal/agent/testdata/view-query.json holds the cases these rules are tested against. The log line gives counts and whether there was a filter, never the filter or a cell.

A node that declares view-chat also shows an encrypted assistant chat to the person whose chat it is: a View with chat (ViewChat: chat_id and the kind, message or turn, of every blob) has each blob open under that kind’s chat context for the chat and for the person the verified approval (or head) names, so a blob of another person’s chat, another chat or another kind does not open and the View fails. A chat’s state is never shown. The blobs are encrypted to the device as for the run’s data, and the log line gives the chat id and counts of messages and turns.

When an organisation keeps assistant chats encrypted, InCentru Cloud never holds a readable transcript, and it never builds the model request. Each turn goes as a Chat with chat_id set to a node that holds the org key and declares sealed-chat (never one tagged local). The node opens the chat’s state (the transcript and the stand-in table), adds what InCentru Cloud sends (the person’s new message, tool results, with the run’s data opened from its blobs), builds the request from the parts InCentru Cloud sends, in the same way InCentru Cloud does (the relevance ranking is in internal/assistant, tested against the vectors in its testdata), masks it, asks the model and encrypts what it gets back. Each blob is encrypted under a key derived from the org key with incentru-chat:v1:<kind>:<key_id>:<org_id>:<chat_id>:<user_id>, where org_id is the node’s own, so a blob opens only as the kind (state, message, turn), chat and person it was made for.

Only the model’s tool calls come back in clear, with real values, because InCentru Cloud runs them. When the model call fails, the task says the node’s own words; what the provider said goes only into an encrypted turn record. Limits:

  • InCentru Cloud writes the system text, the tool list and the last-turn prompt, so it can steer the model, for example into copying the transcript into a tool call’s arguments, which come back in clear.
  • It keeps the blobs, so it can hand back an older state and roll a chat back.
  • The state and turn record each hold the whole transcript, so a very long chat reaches the 4 MiB output limit and its turns fail.
  • View does not open chat blobs yet.

Under org_key: never the node refuses an encrypted chat.