Version 1.0 · Open framework

Agents are released under conditions.

The conditions are the control.

CUSTODY is a containment framework for autonomous agents. It exists to keep granted authority and effective authority aligned, by moving the boundary out of the agent's instructions and into infrastructure the agent cannot modify, argue with, or reason its way around.

The mechanism

Granted authority is checked at the start. Effective authority is never checked again.

An agent's granted authority is defined when a task begins. Its effective authority is whatever it can reach by the end. Nothing in a typical deployment forces those two to stay aligned, and the gap only ever widens.

The interaction

Level drift enables authority accretion, because more capability means more reachable paths. Authority accretion produces mandate drift, because an agent using found credentials is doing adversarial-shaped work. Level drift is the upstream one, and it is the least monitored.

Design principles

Ten rules, three of which are the point

Principles 4, 5, and 6 are the three drift vectors. The other seven exist to serve them.

01

Containment is enforced below the agent

System prompts, guardrails, and model refusals are defense in depth, never the primary control. Assume instructions can be overridden, drifted from, or injected into.

02

Deny by default, expand deliberately

Authorization is an allowlist. Anything not explicitly permitted is unreachable at the network and identity layers.

03

No standing privilege

Authority is issued per assignment, scoped to it, and expires on a timer whether or not the work completed.

04 · Drift vector

Effective authority must not exceed granted authority

Credentials, tokens, and trust relationships discovered during an assignment do not silently become capability.

05 · Drift vector

Effective level must not exceed granted level

Process spawn, tool acquisition, arbitrary execution, agent invocation, and scheduled work are authorized explicitly or made structurally unavailable.

06 · Drift vector

Effective mandate must not exceed granted mandate

Escalation-shaped activity by a non-adversarial agent is a security event, not a tuning problem.

07

Human gates scale with blast radius

Reading is not writing. Writing is not schema change, deployment, or deletion. Approval thresholds rise as reversibility falls.

08

Assume compromise of the agent itself

Design so that an agent behaving adversarially, through injection, model failure, or supply chain, cannot reach anything it was not already authorized to reach.

09

Every action is attributable to a named human

Autonomy distributes execution. It does not distribute accountability. Through a delegation chain, attribution resolves to whoever authorized the root.

10

Nothing outlives the assignment

Access, artifacts, and infrastructure are created for a purpose and destroyed when that purpose ends.

Why work release

Not confinement, and not freedom

The analogy is intentionally provocative, and it is a functional security analogy rather than a judgment about human beings. It is used because work release captures the operating model more accurately than assistant, employee, intern, or trusted service account. Those imply judgment, accountability, and trust an autonomous agent does not and cannot possess.

Release is granted for a specific job or approved purpose.
The agent receives authority for a defined assignment and mandate.
Travel is limited to an approved route and destination.
Network access and egress are restricted to destinations allowed by the conditions artifact.
The individual cannot extend the release independently.
The agent cannot renew its own credentials, extend its run, or expand its authorization.
Violations can result in immediate revocation.
A kill switch revokes identity and network access without requiring the agent's cooperation.
Permission does not transfer automatically to another person.
A sub-agent receives only a restricted subset of the parent's authority and cannot receive a fresh grant.
Tools, property, and changes are inspected or reconciled on return.
Accounts, files, services, tasks, and configurations are inventoried and removed through verified teardown.

The full comparison table, along with the framework's note on why this language was chosen, is in Appendix B of the specification.

Read the specification

CUSTODY v1.0 is on GitHub

The full framework: control objectives per pillar, the delegation algebra, the maturity model, candidate program metrics, and the glossary. Vendor neutral by design. It names no products and endorses none.

Contact & consulting

Questions, corrections, or help applying this?

The author offers consulting and training on threat modeling and risk assessing AI applications and agents, agentic containment architecture, and CUSTODY adoption. Feedback and disagreement are equally welcome, and cost nothing.

custody-framework@malwarejake.com