> For the complete documentation index, see [llms.txt](https://krynix.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://krynix.gitbook.io/docs/security-and-data/data-and-security.md). Agents can also search and read this documentation through its [MCP server](https://krynix.gitbook.io/docs/~gitbook/mcp).

# How your data is protected

This page covers what Krynix keeps, where it keeps it, who can reach it, and what makes the record trustworthy.

## What Krynix keeps

What your installs send, and nothing else:

* **Tool calls**: the tool's name, its arguments, its output and how long it took.
* **Prompts and replies**: the text of each prompt and of Claude's replies, unless you turn prompt capture off when you create the install. With capture off, Krynix records that a prompt happened and its length, but not the words. Anything typed into a prompt, a secret included, is kept as typed, and so is a reply that repeats it.
* **Model activity**: the model, tokens and cost, as the agent reports them.
* **Decisions**: every allow or deny, with the policy and rule that made it.

Krynix removes `user.email` from every OpenTelemetry record before storing it. It does not scan or mask anything else: records are stored as your install sent them. If something must never reach Krynix, write a policy that denies the call, or remove the value before your own code sends it.

Full request and response bodies, when an install opts in to them, are kept outside the chain: the chain holds a SHA-256 fingerprint and the length, and the body is stored separately. Erasing a body leaves the chain verifying, with the body reported as unavailable.

## Where it is kept

* The Krynix service and its database run in **Stockholm, Sweden**.
* Session traces and captured bodies are kept in a separate object store. Its region is **not pinned to the EU today**. If you need every copy of your data held in one region, tell us before you connect agents.
* Everything is **encrypted at rest**, and every connection to `api.krynix.dev` uses **TLS**.

## How long it is kept

Until you set a retention window, Krynix keeps everything. You can set a window of 1 to 3,650 days; sessions older than it are deleted when Krynix runs a retention sweep, which is not automatic yet. Every deletion leaves a signed tombstone, and sessions under legal hold are never deleted. See [Retention and legal hold](https://krynix.gitbook.io/docs/using-the-dashboard/retention-and-legal-hold.md).

You cannot yet export or delete your whole organisation's data yourself. Contact us and we will do it for you.

## Who can reach it

* **Your organisation only.** Every record carries your organisation, and every read and write is scoped to it. Two organisations can even use the same session id without seeing each other's records.
* **People, by role.** Owners and admins change rules; members read. See [Sign in and set up your organisation](https://krynix.gitbook.io/docs/getting-started/your-organisation.md).
* **Install keys cannot read.** The key an install carries can add records and ask for decisions. It cannot read your sessions, change a policy, a control, a binding or the retention window, or lift a legal hold. So an agent cannot edit the rules that decide its calls, or destroy the record of what it did.
* **Krynix's own administrator access** to the API can list organisations and revoke a leaked key. It has no route to an organisation's records.
* **The dashboard holds no key.** It forwards your sign-in, so nothing in your browser can be stolen and reused as a key.

## What makes the record trustworthy

**The hash chain.** Every record in a session carries the SHA-256 hash of the one before it. Change, delete, insert or reorder a record and the chain breaks at that point. Krynix computes the chain when records arrive, so a client cannot forge the order or a hash.

**The signature.** When a session ends, Krynix signs the end of the chain with an Ed25519 key. A chain rebuilt from scratch cannot be signed again without that key, so rebuilding, deleting, inserting, reordering and cutting records short are all caught.

**Offline verification.** Anyone holding a session's bundle can check the chain and the signature with the Krynix CLI, with no network and no trust in Krynix. See [Evidence and custody](https://krynix.gitbook.io/docs/using-the-dashboard/evidence-and-custody.md).

**Independent checking.** After each session, a separate pass re-reads the record and lists every disagreement as a [finding](https://krynix.gitbook.io/docs/using-the-dashboard/findings.md): a broken chain, a decision not made by the policy in force, a call no decision covered, a decision made while the agent was suspended. A check that fails to run is counted as failed, never as passed.

## What a decision guarantees

* **The same answer every time.** The same tool call against the same policies gets the same verdict. No model and no sampling is involved.
* **Recorded, or not given.** A decision is written into the session in the same call that answers it. If it cannot be written, no verdict is returned (`503 EVIDENCE_UNAVAILABLE`).
* **No rules means no approval.** An agent with no policy and no baseline is never told yes (`422 POLICY_UNBOUND`). What it does then is the outage choice you made for the install.
* **A request cannot pick a weaker policy.** A bound agent is decided by its binding, whatever the request names. A request that tries is recorded as refused.
* **Suspension comes first.** A suspended agent is denied before any policy is read.

## What an install guarantees

* **Claude Code**, installed as managed settings: no user, project or local setting overrides it, and `disableAllHooks` does not turn it off. A local administrator can still edit the file; device management puts it back.
* **Codex**: the managed hooks cannot be switched off by the user, but a developer controls the shell they run in. A call that no decision covered is reported as a finding.
* **If Krynix can't be reached**: with **Block tool calls**, tool calls stop until Krynix is back. With **Keep agents working**, calls made meanwhile run unchecked, and for Claude Code they are not recorded. Measured figures are in [Connect Claude Code](https://krynix.gitbook.io/docs/connect-your-agents/connect-claude-code.md).

## Not available yet

* An approval queue in the dashboard. A `require-approval` rule resolves by its `on_timeout` setting.
* Reporting edits to the settings file on a developer machine.
* Signature and bundle verification in the Python SDK. Use the Krynix CLI.
* Data-flow (lethal trifecta) rules in Krynix's own decisions. Today only the MCP gateway enforces them.
