UK agentic manifest fields¶
The UK agentic pack (a beta pack in 0.17.0) reads the manifest's agent_inventory block. It uses the fields that existed before 0.17.0 and adds a few optional ones. All the fields added in 0.17.0 are optional: a manifest without them stays valid, and checks that need a missing field report it as a finding rather than rejecting the manifest. The wording of the warnings below is draft copy that has not had legal review.
Where the fields go¶
system-manifest.json
└── agent_inventory
└── agents[] AgentSpec
├── autonomy new in 0.17.0
├── consumer_facing new in 0.17.0
├── stop_control {} new in 0.17.0
├── disclosures {} new in 0.17.0
├── accountability {} new in 0.17.0
├── purpose new in 0.18.0
├── data_scope new in 0.18.0
├── human_checkpoints new in 0.18.0
├── prompt_sha256 new in 0.18.0
├── prompt_ref new in 0.18.0
├── tools[] AgentTool
│ └── action_class new in 0.17.0
├── models[] AgentModelRef
│ ├── fallback new in 0.17.0
│ └── hosting new in 0.18.0
├── mandate {} existing
└── logging {} existing
fallback sits on each model reference (AgentModelRef), not on the agent.
New fields (0.17.0)¶
| Field | On | Type | Allowed values | Read by | Notes |
|---|---|---|---|---|---|
action_class | tools[] | string | payment, credit, investment, transfer, promotion, advice, information, other | UKA-01 | payment, credit, investment and transfer put a tool in UKA-01's scope. Unset on a side-effect tool whose name classifies as a money action is a UKA-01 warning ("classify this tool"); handoff tools such as transfer_to_* are ignored. other takes the tool out of scope and is recorded so a reviewer can challenge it. |
consumer_facing | agents[] | boolean | true, false | UKA-05 | Optional. true puts the agent in UKA-05's scope. Unset on an agent with an advice, information, promotion, payment or credit tool: UKA-05 warning consumer_facing_unset, "Consumer-facing not declared" (pending legal review). |
autonomy | agents[] | string | assistive, supervised, autonomous | UKA-04 | autonomous puts the agent in UKA-04's scope. |
stop_control | agents[] | object | see below | UKA-04 | |
disclosures | agents[] | object | see below | UKA-05 | |
accountability | agents[] | object | see below | UKA-06 | |
fallback | models[] (AgentModelRef) | object {provider, model, via?}, the same shape as the primary model reference | UKA-07 | Optional. A plain string is a manifest error (exit 2). Declaring a fallback clears no_fallback; a fallback from a different provider also clears the inventory-level single_provider warning. Known beta limitation (pending legal review): a fallback from the same provider as the primary is not warned about in the beta. |
stop_control¶
| Key | Type | Values | Notes |
|---|---|---|---|
mechanism | string | halt_state, feature_flag, credential_revocation, platform_control (sdk_pause is recognised but fails in 0.17.0 and 0.18.0, because the SDK pause has not shipped) | halt_state is Opencomplai's halt and resume flow. Any other value is a UKA-04 finding (mechanism_not_allowed). Case and - or space are normalised to _. |
evidence_ref | string | repository path | Runbook, flag config or code that implements the stop. Checked as a path inside the repository. A file or directory inside the repository, no #anchor; a URL is accepted with the warning evidence_url_unchecked, an empty file with evidence_empty. A missing or unset reference fails with stop_evidence_missing. |
last_tested | string | date (ISO 8601, YYYY-MM-DD) | Missing, in the future, or more than 90 days before the run date: UKA-04 warning stop_control_untested, "Stop control not recently tested" (90 days is our heuristic; pending legal review). |
disclosures¶
| Key | Type | Notes |
|---|---|---|
ai_interaction | boolean | The agent tells users they are dealing with AI. Must be true for UKA-05. |
limits_of_advice | boolean | The agent explains the limits of its information or advice. Must be true for UKA-05. |
human_route | boolean | The agent tells users how to reach a person. Not true: UKA-05 warning human_route_missing, "No route to a person declared" (pending legal review). |
evidence_ref | string | Copy, template or middleware file inside the repository. A URL is accepted with the warning evidence_url_unchecked; an empty file counts as declared with the warning evidence_empty, "Evidence file is empty" (pending legal review), and never satisfies the Art. 50 fallback. |
accountability¶
| Key | Type | Notes |
|---|---|---|
business_owner_role | string | The provider's business owner, as a role. Missing: UKA-06 warning business_owner_missing, "No business owner role" (pending legal review). |
technical_owner_role | string | The provider's technical owner, as a role. Missing: UKA-06 warning technical_owner_missing, "No technical owner role" (pending legal review). |
deployer_accountable_role | string | For the deployer to fill: the senior manager accountable for this agent. Unset: UKA-06 warning deployer_role_unset, "For your deployer to fill" (pending legal review). Set in a vendor (provider) manifest: UKA-06 warning deployer_role_vendor_set, "Deployer role set by the vendor" (pending legal review); the value is not treated as the deployer's recorded accountable role. |
Role strings are free text in your manifest, up to 120 characters each, and are not sent to the dashboard: the dashboard only receives counts and booleans. Use role titles, never personal names.
Decision-log field¶
approval_ref (optional string, 1 to 200 characters) on SDK decision-log entries (SDK 0.17.0 or later): the opaque id of the human approval record, such as a ticket or approval-token id. It must not hold names or emails. It is written only when set, so older entries keep their bytes. It is not a manifest field. UKA-08 counts only a non-empty approval_ref; the oversight log is not used. A recorded reference shows that a reference was recorded, not that a human reviewed the action.
Existing fields the pack reads¶
These exist since 0.16.0 (agent_inventory.py); the pack only reads them.
| Field | Type | Read by | How |
|---|---|---|---|
agents[].id, name | string | all | Identify the agent in findings. |
tools[].name | string | UKA-01 | Keyword heuristic on the name when action_class is unset. scope is free text and is not used by UKA-01. |
tools[].kind | mcp, function, api | UKA-03 | Inventory consistency. |
tools[].side_effects | boolean or unset | UKA-01, 02, 03, 04, 07 | true or unset counts as a side-effect tool for scoping. |
tools[].requires_approval | boolean or unset | UKA-01, UKA-08 | Only true counts as an approval gate. |
models[].provider, model | string | UKA-07 | Single-provider rule. |
mandate.limits | map of string to string, number or boolean | UKA-01 | Money keys: max_value_per_action, max_value_per_day, compared as plain numbers and never converted; a currency symbol or code in a string value ("£250", "100 GBP") is accepted and ignored; a key named currency (any case) inside mandate.limits is ignored: neither counted as a limit nor warned on; keep all of an agent's limits in one currency. Count key: max_actions_per_day; a count as the only limit gives count_limit_only. Per-tool keys: tool:<name> or <name>, case-insensitive. Other max_*, limit_*, *_limit, *_max, *_cap names count, with the warning limit_key_nonstandard. Values (pending legal review): numbers, or strings such as "£250", "1,000", "100 GBP", "GBP 100", "GBP 1,000.50", "1e3". Not accepted: two currency markers, such as a code and a symbol both before the number ("GBP £100") or "USD $5"; such a value is not a limit. 0 counts (tool blocked) with limit_zero; 1e9 or more with limit_implausible; ${VAR} is not a limit (limit_unresolved). Booleans and negatives are not limits. A null value is rejected when the manifest loads. Per-day limits are declared only, not checked against the decision log. |
mandate.prohibited_actions | list of strings | UKA-01 | A tool listed here (by name or tool:<name>) but still declared gets the warning prohibited_but_declared. Listing it is not a control: it does not clear UKA-01. |
mandate.granted_by, expires_at, review_cadence | string | UKA-03 | Expired: Missing. Expires within 30 days: mandate_expiring, "Mandate expires within 30 days"; no review_cadence: no_review_cadence, "Mandate has no review schedule" (pending legal review). granted_by is not checked in the beta. |
delegation.may_delegate_to, max_depth | list, integer | UKA-03 | Inventory consistency. |
logging.decision_log_ref | string | UKA-02 | Must name a regular file inside the repository. |
A tool in a mandate is written tool:<name> and must name a tool of the same agent (existing convention).
Full example¶
{
"system_id": "refund-assistant",
"intended_purpose": "Customer refund handling for an online retailer",
"agent_inventory": {
"agents": [
{
"id": "refund-agent",
"name": "Refund agent",
"autonomy": "supervised",
"consumer_facing": true,
"tools": [
{ "name": "refund_customer", "kind": "function", "side_effects": true,
"requires_approval": true, "action_class": "payment" },
{ "name": "order_history", "kind": "api", "side_effects": false,
"action_class": "information" }
],
"models": [
{ "provider": "example-provider", "model": "example-model",
"fallback": { "provider": "other-provider", "model": "other-model" } }
],
"mandate": {
"permitted_actions": ["tool:refund_customer", "tool:order_history"],
"limits": { "max_value_per_action": 250 },
"granted_by": "Head of Customer Operations",
"expires_at": "2027-06-30",
"review_cadence": "quarterly"
},
"logging": { "decision_log_ref": "logs/agent-log.jsonl" },
"stop_control": { "mechanism": "feature_flag",
"evidence_ref": "docs/runbooks/stop-refund-agent.md",
"last_tested": "2026-11-20" },
"disclosures": { "ai_interaction": true, "limits_of_advice": true,
"human_route": true, "evidence_ref": "src/middleware/ai_disclosure.py" },
"accountability": { "business_owner_role": "Head of Customer Operations",
"technical_owner_role": "Engineering Lead, Agents" }
}
]
}
}
The values are illustrative. No compliance_targets entry is needed when you run check --gate UK_AGENTIC, which adds the target itself.
New in 0.18.0: models[].hosting¶
hosting is not part of 0.17.0. It is new in 0.18.0, and CLIs before 0.18.0 reject a manifest that uses it (exit 2, Extra inputs are not permitted): upgrade every CLI that reads the manifest first. Like fallback, it sits on each model reference (AgentModelRef), not on the agent.
| Field | On | Type | Allowed values | Read by | Notes |
|---|---|---|---|---|---|
hosting | models[] (AgentModelRef) | string | self_hosted, private_cloud, third_party_api | no check reads it | Optional. Where the model runs, as you declare it: your own infrastructure, a private cloud, or a third-party API. Any other value is a manifest error (exit 2). Recording it does not change any check or exit code. opencomplai agents check --scan-report and agents report list a suggested value from the scan (a vendor SDK suggests third_party_api, a local runtime such as ollama, vllm, llama-cpp-python or transformers suggests self_hosted); a suggestion never replaces a declared value and is not a finding. It is a field on the primary model only, not on fallback. |
New in 0.18.0: prompt_sha256 and prompt_ref¶
Two optional fields on each agent (agents[]) record which prompt the agent runs, without storing it. They are new in 0.18.0, and CLIs before 0.18.0 reject a manifest that uses them (exit 2, Extra inputs are not permitted).
| Field | On | Type | Allowed values | Read by | Notes |
|---|---|---|---|---|---|
prompt_sha256 | agents[] | string | 64 lowercase hex characters | no check reads it | Optional. The SHA-256 of the agent's system prompt, as you computed it. Anything that is not 64 lowercase hex characters is a manifest error (exit 2), so prompt text cannot be pasted here by mistake. |
prompt_ref | agents[] | string, one line, up to 300 characters | no check reads it | Optional. Where the prompt lives: a repository path or a URL. A multi-line value is a manifest error. |
Opencomplai never reads, stores or sends the prompt text, and does not compute or check the hash against the file the reference names. Compute it with sha256sum prompts/support.md or python -c "import hashlib,sys;print(hashlib.sha256(open(sys.argv[1],'rb').read()).hexdigest())" prompts/support.md.
New in 0.18.0: purpose, data_scope and human_checkpoints¶
Three optional fields on each agent (agents[]) feed the autonomy register that agents register exports. They are new in 0.18.0, and CLIs before 0.18.0 reject a manifest that uses them (exit 2, Extra inputs are not permitted).
| Field | On | Type | Allowed values | Read by | Notes |
|---|---|---|---|---|---|
purpose | agents[] | string, up to 500 characters | agents register | Optional. What the agent is for, in your words. No check reads it. | |
data_scope | agents[] | list of strings | agents register | Optional. The data the agent may read or change, one short description each. No check reads it. | |
human_checkpoints | agents[] | list of strings | agents register | Optional. Where a person steps in, beyond the approval-gated tools. No check reads it. |
Compatibility¶
The agent models reject unknown keys (extra="forbid"). A CLI older than 0.17.0 therefore rejects a manifest that uses any new field, with exit 2. The 0.17.0 schema change is a minor, additive bump (the schema document's schema_version is 1.1; the $id stays /v1) and every new field is optional. See Upgrading to 0.17.