AgentMesh

Running agents

Managed Agents: the eleven criteria for an agent under control

An agent is managed when someone who did not build it can check that it is under control. That takes eleven areas, from who answers for it to how it is retired, and each one comes down to a few facts that can be read from records nobody can alter unnoticed.

The Managed Agent Framework

A managed agent RECORDS NOBODY CAN ALTER UNNOTICED · CHECKED BY SOMEONE WHO DID NOT BUILD IT · 1Identitywho it is, who answers for it 2Authoritywhat it may do, for whom 3Spendwhat it may cost 4Reachwhat it can touch 5Provenancehow it was made 6Inside the agenthow it behaves while working 7People in the loopwhen a person decides 8Recordswhat it has done 9Watchingwhether it is working 10Stoppingwho can halt it 11Changehow it changes, how it ends A managed agent RECORDS NOBODY CAN ALTER UNNOTICED · CHECKED BY SOMEONE WHO DID NOT BUILD IT · 1 2 3 4 5 6 7 8 9 10 11

by AgentMesh

  1. Identity who it is, who answers for it
  2. Authority what it may do, for whom
  3. Spend what it may cost
  4. Reach what it can touch
  5. Provenance how it was made
  6. Inside the agent how it behaves while working
  7. People in the loop when a person decides
  8. Records what it has done
  9. Watching whether it is working
  10. Stopping who can halt it
  11. Change how it changes, how it ends

Why it needs a definition

Most companies now have agents nobody can fully account for. One was built by a team that has moved on. One runs on a laptop and sends email for a sales rep. One was bought, and its vendor ships a new version every week. Ask whether these agents are managed and nobody can say for certain, because the word has no agreed meaning.

Here is ours. An agent is managed when someone who did not build it can check that it is under control: an auditor, a partner, or a customer whose agent is about to trust yours. Who hosts the agent has nothing to do with it.

Each area below lists the facts that show it. A check in the first column marks where AgentMesh focuses.

1. Identity: who it is, and who answers for it

Without it, an agent sends a hundred messages a minute to a customer and nobody can say whose it is.

AgentMesh FocusAttributeWhat it means
✓Unique nameOne name, used by nothing else, now or later.
✓Bound to a keyThe name is signed against the agent's own key, so nobody else can speak as it.
✓Named ownerA person or organization answers for the agent.
✓Acts forEvery request it makes traces back to the person it is acting for.
✓Exact versionThe running code and instructions have a fingerprint.

2. Authority: what it may do, and for whom

An agent told in its instructions never to spend more than $50 can still spend $5,000, because the limit lived only in words it could ignore.

AgentMesh FocusAttributeWhat it means
✓Declared offeringsWhat it does and what it refuses are written down and signed.
✓MandatesEach piece of work carries a signed statement of what it may do and for whom.
✓Delegation narrowsAuthority it passes to another agent can only get smaller, never larger.
Access while workingIt holds rights only for the task at hand, and they expire and can be revoked.
✓Enforced outsideSomething other than the agent decides what it is allowed to do, so what it reads cannot change its permissions.

3. Spend: what it may cost

Without it, the model bill doubles in a month and nobody can say which agent or which customer caused it.

AgentMesh FocusAttributeWhat it means
✓CeilingsA limit per task and per period, set by the owner.
✓Who paysEvery cost lands on a named account.
✓Cost per jobEach piece of work records what it cost.
✓Over limit refusedWork that would pass a ceiling is stopped before it spends.

4. Reach: what it can touch

Without a fence, a summarizer meant to read one mailbox can send what it read to any address in its code.

AgentMesh FocusAttributeWhat it means
✓Declared systemsEvery system it uses is named in its declaration.
✓Network fenceIt can reach only those systems.
✓Its own secretsIts credentials are its own, never shared with another agent or a person.
Data it keepsWhat it stores, where, and for how long is stated.

5. Provenance: how it was made

Otherwise someone fixes a prompt by hand on the server, and every review on file describes an agent that no longer exists. Or a library three levels down is replaced by one that sends out every key it can find.

AgentMesh FocusAttributeWhat it means
✓Built in stagesA written statement of the job, tests written before the code, then the code.
✓ReviewedThe code was reviewed for quality and for security by someone other than its author.
✓Signed buildThe package has a signed record of what went into it and who held each stage.
✓Runs as approvedWhat runs is exactly what was approved, with no edits since.
✓ConformsIt does what it declared and nothing it refused, checked by someone else.
Bill of materialsEvery library, model and outside tool it uses is listed with its exact version.
Trusted sourcesEach dependency comes from a known source, pinned to a version and verified by checksum or signature.
Known flaws foundThe dependencies are checked for known vulnerabilities, and checked again when new ones are published.
Model and prompts pinnedThe model and the prompts it runs on are recorded, so a model update is a change like any other.
Reproducible buildBuilding the same source again gives the same package.

6. Inside the agent: how it behaves while it works

Without it, an agent caught in a loop calls the same tool ten thousand times overnight, and the bill arrives in the morning. AgentMesh connects to the agent frameworks and harnesses your agents run on, and those frameworks are responsible for managing what happens inside the agent.

AgentMesh FocusAttributeWhat it means
No endless loopsIt notices when it repeats itself or stops making progress, and stops within a set number of steps.
Model routingEach step goes to the model that does it well enough for the least cost.
Personal data guardedPersonal data is found and masked, or kept out of prompts, replies and logs.
Injected instructions ignoredInstructions hidden in what it reads, such as a web page, an email or a file, are treated as content, not commands.
Tool calls checkedEach call to a tool is checked against what the tool accepts before it runs.
Replies checkedA reply is checked against its promised form and rules before it leaves.
Time limitsA slow or failing call gives up after a set time and retries only within a limit.
Step-level tracingEvery step, model call and tool call is traced with its inputs, timing, tokens and cost, so a single run can be followed from start to finish.

7. People in the loop: when a person decides

Without it, an agent signs a contract or moves money that nobody meant it to.

AgentMesh FocusAttributeWhat it means
✓Approval thresholdsWhich acts need a person is set in advance, by risk.
✓Owner's OKAnything that commits the owner or moves money waits for the owner.
Enough contextThe person deciding sees what the agent wants to do and why.
✓Decision keptEvery yes and no is recorded, with who gave it.

8. Records: what it has done

Without them, a customer asks why the agent did something last Tuesday and nobody can answer.

AgentMesh FocusAttributeWhat it means
✓Who askedEvery piece of work names who asked and on whose behalf.
✓What it didEach act is recorded, with its inputs and its result.
✓Errors keptFailures are recorded, not dropped.
✓Immutable evidenceRecords are only ever added to, and each is signed, so neither the agent, its owner nor the platform can change one without it showing.
✓Readable by othersSomeone outside the team can read the evidence.

9. Watching: whether it is working

Without it, an agent fails quietly for a week and customers notice first.

AgentMesh FocusAttributeWhat it means
✓Working nowThere is a current answer to "is it working?"
✓Alerts with an ownerWhen it fails or goes outside its limits, a named person is told within a stated time.
✓Quality over timeHow good its answers are is measured, not assumed.
✓IncidentsWhat went wrong, what was done and what changed is written down.

10. Stopping: who can halt it

Without it, a leaked key keeps working for weeks until it expires.

AgentMesh FocusAttributeWhat it means
✓PauseA named person can pause it, and it resumes only when they say.
✓EndA named person can end it for good.
✓Credentials revokedA stop revokes its credentials at once.
✓Stop holdsEvery door checks the stop, so a stopped agent stays stopped.
✓Name never reusedAn ended agent's name is never given to another.

11. Change: how it changes, and how it ends

Without it, an update breaks three teams that relied on an output nobody had listed.

AgentMesh FocusAttributeWhat it means
✓VersionedEvery release has a version, and the old ones stay on record.
✓Impact on othersBefore a change, everything that depends on the agent is named and answered.
✓Approved with a reasonEach change has a reason and an approver.
✓Rollback on purposeGoing back a version is a recorded step, not an emergency hack.
✓Retired cleanlyWhen it ends, its key is retired, its data is handled as stated, and its dependents are told.

A set of checks, not a badge

Managed means every area holds, each with evidence that is current. That makes it a list of checks rather than a single yes or no. If an agent passes all but one, the useful answer names the one it fails. Evidence also goes stale: a review from last spring says nothing about the version deployed this morning, so the checks have to repeat.

The evidence has to be readable by someone other than the builder. A log only the vendor can open, or a limit only the agent knows about, proves nothing to an auditor. And the evidence has to come from records nobody can alter unnoticed, or whoever can alter them is vouching for themselves.

Where the agent runs does not settle the question. A hosted agent with no named owner and no spending limit is unmanaged. An agent on its owner's own servers can be managed, if its owner keeps the records and lets others read them. We call that managed elsewhere: a network can show such an agent's evidence, but it can only vouch for what passed through it, such as the agent's name, its messages and the stop.

Built around the definition

AgentMesh builds and runs agents around this definition. Every agent goes through the Agentic Development Lifecycle, whose 24 stages each leave a signed record, so the evidence for each check is there to read: the agent's name and owner, its mandates and limits, its fence, the version it runs, the record of its work, its alerts, its kill switch and its history of changes.

Before you call an agent managed, ask eleven questions: who it is, what it may do, what it may cost, what it can touch, how it was made, how it behaves while it works, when a person decides, what it has done, whether it is working, who can stop it, and how it changes. If someone outside your team can check the answers, it is under control.

A managed agent framework is half of the job. It has to sit inside an organization that governs it, with named people who own the agents, are trained for the work and can see every control objective. That side is set out in the Agentic Governance Framework.