Whose authority does an agent actually carry?

Whose authority does an agent actually carry?

Why should an agent have an identity of its own if a person is already signed in? The question is easy to miss when an agent only drafts text. It becomes hard to avoid when that agent calls a model gateway, uses a tool or reports an action to an audit service. A name in a prompt may tell the model how to behave. It does not tell a server who may perform an action. If agents occupy positions on an organization chart, their access needs a boundary that survives changes to the wording of a prompt.

Imagine a procurement employee working with offer documents while a finance colleague reviews expense categories. Suppose both use the same long-lived key for a general purpose model service. When an access problem appears, the service can tell you which key was used, but not necessarily which agent’s authority was supposed to apply. This is a design scenario, not a customer story or a claim that the product completes either workflow. Writing “procurement agent” in the message sent to the model does not establish that authority. The separation has to happen outside the model’s own account of its role.

The person who starts the work is not the entire identity

ADR-0007 in agentic-organization describes a persona identity for workstation agents. The platform user signs in first. A workstation endpoint then lists the active agent personas that user is allowed to operate. A founder or an appropriately scoped executive can select from a broader set; a responsible human or an agent owner can select their own agent. The workstation obtains a token for the selected persona. The subject of that token is the agent, not merely the browser user who initiated the session.

This does not let an agent replace human accountability. A person must be allowed to select the persona before a token is issued. Once issued, the token lets the server assess requests under that agent’s identity. The selection rules live in backend/api/workstation.py. The protected workstation endpoints in backend/api/deps.py compare the token’s agent and company against existing records. Gateway and tool execution requests also check whether the agent is active. These are concrete server-side checks, rather than instructions for the model to remember which department it belongs to.

Why not hand each persona a permanent API key? The decision record considers that approach simpler, but a key that leaks can remain useful indefinitely. Mutual TLS or workload identity is another option, but adds more operating work. The selected baseline uses short-lived access credentials with a separate refresh credential. Current defaults in the code are approximately one hour for access and twelve hours for refresh, configurable at deployment. Refresh rotates the presented refresh token: its identifier is revoked and a new pair is issued. A previously spent refresh token should not be accepted again at that boundary.

The server does not have to wait for an access token to expire. It can deny one token identifier or set a timestamp before which all credentials issued for a persona are rejected. An authorized platform user can use the latter path when a workstation is lost. Revocation is checked for protected requests, and a failure to query the revocation state rejects rather than approves them. That makes the security boundary more meaningful, but it also means a database failure can interrupt legitimate work. Availability is part of the cost of a check that fails closed.

A token is a boundary, not a complete job description

The access credential carries audience information for the model gateway and audit ingestion; the refresh credential is checked for a different purpose. The server validates expiration and revocation as well as the expected audience. Tool access and the work an agent should be doing depend on additional policy and skill relationships. Saying “this is the procurement agent” is not the same as saying “every request it makes is appropriate.” The earlier gateway article explains why model calls pass through a shared checkpoint. Persona identity helps that checkpoint associate a call with the right agent. It does not independently verify every business decision made downstream.

This matters differently across the organization. Procurement may want to know whether the agent comparing proposals borrowed another employee’s privileges. Finance may need to attribute usage to the right agent rather than one common technical account. Production teams may need to see whether an agent attached to a shift is still active after a handoff. HR should reconsider ownership and access when a responsible employee changes jobs. IT needs to test both revocation and the availability impact of the identity service. These are implications for a shared identity mechanism, not promises that the software automates the complete workflow of each department.

There are limits worth stating before a rollout. ADR-0007 still lists device registration as unfinished. A workstation run injects the access credential into its sandbox at launch; rotation inside a long-running sandbox is not yet implemented, so gateway requests can begin failing after the credential expires. Automatic revocation on a stale heartbeat exists as an opt-in setting, not a default guarantee that every disconnected agent immediately loses access. A short token lifetime limits one class of exposure. It is not a substitute for understanding how long real work runs, or for checking what happens when the connection breaks.

A useful first exercise is to choose one workflow and draw its authority chain. Which employee may start which agent? Which token is presented to the model gateway, the audit endpoint and the tool surface? What happens when the agent is made inactive, or its tokens are revoked while a job is still in progress? Test those transitions rather than assuming the admin interface tells the whole story. Also run a job long enough to reach the access token’s lifetime; a working refresh command outside the sandbox does not prove an already running process will renew the credential it holds inside. A meaningful identity boundary has to be usable under normal working conditions.

Separate agent identity is ultimately about making delegation legible. It should be possible to say who authorized a run, which agent made a request, and where that credential stopped being accepted. ADR-0007 in agentic-organization approaches this through persona selection, time-limited credentials and revocation. If two agents in your own setup still share an indefinite key, asking where their permissions genuinely diverge is a useful way to start the conversation.

Verification note: This article was checked against agentic-organization ADR-0007, the workstation identity guide, and backend/api/workstation.py, backend/api/deps.py, backend/services/gateway_auth.py and backend/services/persona_revocation.py. Unfinished device registration and in-sandbox refresh are treated as limits, not completed protections.