> 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/getting-started/register-an-agent.md). Agents can also search and read this documentation through its [MCP server](https://krynix.gitbook.io/docs/~gitbook/mcp).

# Register an agent

An **agent** in Krynix is a name: the id that every record from a given install carries. Registering it tells Krynix who owns it, where it runs, how critical it is, and whether you expect its tool calls to be decided.

## Declared and undeclared

Krynix sees agents in two ways, and keeps them apart on the **Agents** screen:

* **Registered** agents are the ones you told Krynix about.
* **Undeclared** agents are ids that appear in the evidence and that nobody registered. Every one of them is real traffic. The Agents screen lists them so you can register them with one click; the id is already on their records and cannot be edited.

Coverage, shown at the top of the Agents screen, is registered agents over observed agents. It is never 100 % by assumption: an organisation with no traffic shows "not measured".

## What a registration holds

Register an agent from **Agents → Register an agent**; the step-by-step is in [Agents](https://krynix.gitbook.io/docs/using-the-dashboard/agents.md#register-an-agent).

| Field                    | What it is for                                                                                                                                                                                                    |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Agent id**             | The id on the records. For Claude Code and Codex it is what you give the install. Spaces, commas, `=`, `%` and non-ASCII characters are refused, because the id travels in an environment variable.               |
| **Owner**                | The person or team accountable for it.                                                                                                                                                                            |
| **Environment**          | `production`, `staging` or `development`.                                                                                                                                                                         |
| **Criticality**          | `low`, `medium`, `high` or `critical`.                                                                                                                                                                            |
| **Declared enforcement** | What you say is wired up: **enforced** (Krynix decides its calls), **monitor-only** (recorded, not decided), or **not classified** (the default, which declares nothing). Krynix compares this with the evidence. |
| **Governing policies**   | The policy versions bound to the agent, one version per policy. See [Policies](https://krynix.gitbook.io/docs/using-the-dashboard/policies.md).                                                                   |

Registering needs the owner or admin role.

## Binding a policy

Krynix decides an agent's calls by the policies bound to it and by your organisation's baselines. A new organisation starts with [the default policy](https://krynix.gitbook.io/docs/using-the-dashboard/policies.md#the-default-policy) as a baseline, so a newly registered agent is **enforced** at once, before you bind anything. The connect page says which of the three applies:

* **Enforced**: a policy is bound, or a baseline covers the agent. Every tool call is decided.
* **Not enforced**: nothing is bound and no baseline covers it. With the default policy in place this happens only if an owner removed it from the baselines. What happens to a call then depends on the install's outage setting (see [Connect Claude Code](https://krynix.gitbook.io/docs/connect-your-agents/connect-claude-code.md)): block, or run unchecked.
* **Suspended**: every call is denied, whatever is bound.

A binding is to an exact version. Changing what governs an agent is always a write against the agent, never a side effect of editing a policy. A change takes effect on the agent's next tool call, on every machine running that install.

## Enforcement drift

Declare an agent `enforced` and Krynix holds you to it. If its sessions carry tool calls and no decisions, the Agents screen reports **enforcement drift**: the hook is not wired, or the install is fail-open and Krynix was unreachable. Only that direction is reported. A `monitor-only` agent whose calls are being decided is stricter than declared, not a problem.

An agent with sessions but no decision is "no decisions"; an agent with no sessions at all is "unmeasured". The two are never folded together.

## Suspending (the kill switch)

Suspending an agent makes Krynix answer **deny** to every decision asked for it, before any policy is consulted, with your reason as the deny reason the agent sees. Suspend and resume it from **Agents → Edit → Kill switch**; see [Agents](https://krynix.gitbook.io/docs/using-the-dashboard/agents.md#the-kill-switch).

What suspension stops: any install that asks Krynix before each call. What it does not stop: an agent with no hook, a fail-open install while Krynix is unreachable, the MCP gateway running a local policy file, or an SDK wrapper. Records from a suspended agent are still accepted, so what it did stays recorded.

## Retiring

Retiring archives the registration. Its evidence stays and stays attributed. If the agent keeps running, its traffic reappears under Undeclared, which is the right place for an agent that should have stopped. Registering the same id again revives it with its original registration date.

## What Krynix sees of an agent

Each agent's page has a **What Krynix sees** section, built from the agent's last twenty sessions: for every field the product can show (tool name, tool arguments, tool output, model, tokens, cost, prompt text, plugins loaded), whether it arrived, and when it did not, why: the source does not carry it, the install has not opted in, or Krynix does not read it yet. There is no coverage percentage; the value is the per-field reason.
