LabsEssayBy Arxytas Labs8 min read

A role is two hours. A refund is one call.

Identity and access tools decide who may reach a system. Agents also need a decision on each action they take, and proof of who allowed it.

A customer writes in on a Monday morning. Three orders, two returns, one parcel damaged in transit, and a refund that went to a card she has since canceled. Someone on the support team hands the case to an agent with one line: sort out her refunds.

Nobody knows yet what the agent will do. It might look up the orders, check the returns, read the courier’s damage report, cancel the refund to the dead card, issue it again to the new one and add a goodwill credit. It might do half of that and stop to ask. It works the steps out as it goes.

That part is new. A billing service runs code that someone wrote and reviewed, so its calls follow known paths. A support analyst has a job description and a manager. When we give either of them a role, we have a fair idea of how the role will be used. With an agent, we know the goal. We don’t know the path.

What a role can say

Identity and access management answers a question it is very good at. Who is this, and may they reach that system? The agent gets an identity, the identity gets a role, and the role opens the refunds API.

The trouble starts when we pick the size of the role.

Make it wide enough for every refund case the agent might meet, and the agent holds everything a refund role allows, every time. If it misreads the case, or a line hidden in the customer’s email tells it to refund an order that isn’t hers, nothing in the role says no. The calls are allowed. They’re just wrong.

Make it narrow, and the case fails halfway. The agent can cancel the old refund but can’t issue the new one. So someone widens the role, just this once, and the wider role stays.

Access tools that grant a role for a time window help here. Approve refund rights for two hours, and they expire on their own. That’s a real improvement. But think about what the approver signed for. It was two hours of a role. Inside those two hours the agent can make one call or four hundred, for €12 or €12,000. The approval was about time, and the risk sits in the calls.

Many IAM setups go further and add conditions on attributes and tags. Those help, and they look at the kind of request and the resource it touches. They rarely see the arguments inside it, like the amount, the card or the customer. And a condition answers yes or no. It can’t hold a call halfway while a person reads it and signs.

A roleAn action
What is approvedAccess to a systemOne call, with its arguments
For how longUntil it's revoked or the window endsOnce
Who it namesThe agent's identityThe agent, the person it acts for, and the signer
What the record showsThat the agent had accessWhat was done, and who allowed it

What an agent needs instead

When we work through what an agent needs, we keep landing on three ideas.

A decision on each action. The question moves from “may this agent use refunds?” to “may this agent issue €184.50 to this card, for this customer, on behalf of Dana from support, right now?” The answer can be yes, no, or ask a person. Most calls should be plain yeses. Reading an order history doesn’t need a meeting.

Signed authority. For the calls that matter, a named person approves that exact call with its real arguments in front of them, and signs it with a passkey. The person who asked for the work can’t be the one who signs. Banks have run this four-eyes rule on payments for decades. It works just as well on a machine that never gets tired of asking.

Proof without trust. Afterwards, anyone should be able to check what happened without taking anyone’s word for it. Ours included, and the database admin’s. That takes a record where each entry is chained to the one before, sealed at intervals with a signature, timestamped by an outside authority, and checkable offline. The signature belongs inside that record, right next to the call it approved.

Those three ideas are why we built Pyloros. It sits between an agent and the systems it calls, and looks at every call on its way through. Cedar policy checks the tool, its arguments and the person’s groups, and answers Allow, Ask or Deny. An Ask waits until someone other than the requester signs it with a passkey. The agent never holds the system’s credentials, because Pyloros adds them to the call on the way out. And every call lands in a hash-chained ledger, sealed with signed checkpoints and RFC 3161 timestamps, which an offline verifier checks without us.

IAM still carries the weight

None of this replaces identity and access management. It sits on top of it.

The agent’s identity, and the identity of the person it acts for, come from your identity provider. Without them a signature means very little, because you can’t say who signed. Pyloros’s own access to the refunds system should be a tightly scoped role like any other service account, reviewed and rotated by the team that manages the rest. If someone proposed dropping the role layer and running everything through action checks, we’d argue against it.

So the two stack. IAM says the agent may reach refunds. The action layer says this refund, for this amount, was allowed, and by whom. Agents are a new kind of actor, and they need both questions answered.

Where we think this goes

Deciding each call is the floor. Building Pyloros, we keep running into a few more ideas. We’re working on some of them, and we think agents will need all of them.

Bounded authority is one. Signing every call gets tiring when an agent makes forty of them in a case. A person should be able to sign an envelope instead, say up to five refunds, no more than €300 in total, for this customer, for the next two hours. Inside the envelope the agent works on its own. Outside it, it asks.

Rules that remember the session are another. A €2,000 payment that needs approval can arrive as ten payments of €199. Each one looks fine on its own. A rule that sees the whole session, and adds them up, catches it.

And hard ceilings on speed. A person reviewing calls works at human speed, and an agent doesn’t. A limit on how many calls of a kind an agent can make per minute turns a runaway loop into a short, visible incident.

None of these replace the signature. They decide when a person needs to be asked, and how much one signature can cover.

Whatever the envelope looks like, the shape underneath stays the same, and it turns up well outside support. In a bank, an agent preparing a payment run sends most payments straight through, and the one over the limit waits for a second signer’s passkey. In a pharma lab, an agent’s change to a GMP record waits for QA to sign it off, and the record keeps what that signature means. The systems differ. The action, the signature and the proof stay together.

Back to Monday morning

Run the refund case again. The agent looks up the orders and the returns. Policy allows reads, so they go through. It cancels the refund to the dead card, which is allowed too. Then it asks to issue €184.50 to the new card. That is over the €150 line, so policy says ask.

Dana opened the case, so Dana can’t sign it. Her team lead sees the call, the amount and the card, and signs with a passkey. The refund goes out.

agent
agent:support-refunds
acting for
user:dana
call
refunds.issue · order 48213 · €184.50 · card •••• 7731
rule
refunds over €150 need a team lead
signed by
user:marco · passkey · 09:42:18Z
sealed
checkpoint #57 · RFC 3161 timestamp

The customer gets her money. The agent did the work. And when an auditor asks who allowed that €184.50 refund to card •••• 7731, the answer is in the record, and they can check it themselves.

Keep the action, the signature and the proof together, and that question has an answer.

We’re looking for design partners in finance and pharma who want to try this on one system and one workflow. Write to us at hello@arxytas.com.

The customer, the refund and the record above are illustrative.