Concept
03of 08
Automation
7 min read
Governed agents
What it is, in one sentence
AI agents that act inside a designed flow, on a closed version, with human approval where it matters and a record of everything they did.
01The problem
The agent acted.
Authorized by whom?
An autonomous agent reads, decides and executes. Without governance, nobody can answer four simple questions after it acts.
The four questions
Who was it?
Did it act with a person's password, with access to everything, or with an identity of its own and limited?
What ran?
Yesterday's logic or today's? If someone edited the agent in the middle of the afternoon, which version made the decision?
Who authorized it?
The purchase, the send, the record change: did someone approve it, or did the agent decide on its own?
What happened?
Can you rebuild every step, with time, input and output, without depending on anyone's memory?
02How it works
One execution.
From trigger to record.
The governed agent goes through a flow. Under each stage there is a rule from the definition: who it is, what it can use, how far it goes and who decides.
- TriggerThe order arrives by email and triggers the agent, which acts with a service account of its own.
order #4821 · 09:12:47 - AI stageExtracts the order items, only with the tools granted in the space.
- AI stageClassifies the items into 3 categories, within a limit of iterations, time and cost.
09:12:52 - ApprovalThe flow asks for approval above R$ 25,000.00. The execution pauses and a person with the required profile decides. The wait does not consume capacity. If refused, it follows the refusal path.
order of R$ 38,400.00 · waiting since 09:12:56 - Exact stageOnce approved, the execution resumes where it left off and issues the order in the ERP.
- RecordEvery transition is kept, with author, with the version that ran and with who approved.
The path is designed.AI decides inside a stage. The order of the stages, the conditions and the approval point are written in the flow.
Waiting is part of it.Approval pauses the execution. When the person answers, the agent resumes where it left off.
The definition is a version.Identity, tools, limits and approval rules belong to the published version. The record says which one ran.
03Human-in-the-loop
Autonomy has degrees.
Choose per task.
Human-in-the-loop does not mean a person watching everything. It means deciding, task by task, at what point someone has to say yes.
The agent suggests, the person does it
For what is rare, new or irreversible. The agent prepares the material and the person executes.
The agent acts, the person approves first
For what costs money or changes an official record: a purchase above the limit, a record that was changed.
The agent acts, the person checks afterwards
For what is frequent and reversible. The reviewed sample becomes a new rule when an error shows up.
The agent acts on its own
For what is exact and low risk: querying, classifying, notifying. It is still recorded.
the agent executesa person decidesthe person executes
04The pillars
What “governed”
means.
Five properties. Each one answers one of the questions from the start, and none depends on the AI model the agent uses.
Before it runs
Flow
The agent's path is designed: which stage comes after which, where there is a condition, where there is AI. AI decides inside a stage, not the whole path.
exact stage → AI stage → approval
Version
What runs is a closed version. What was tested is exactly what goes to production, and you can go back to the previous one.
version 1.4.0 · does not change
Identity and limits
The agent acts with an identity of its own, with the tools it received and a ceiling on iterations, time and cost.
6 of 25 iterations
While it runs
Human approval
At defined points, the agent stops and asks. The wait is not a failure: it is part of the flow, and it has a deadline.
Awaiting approval · expires in 22 h
After it runs
Audit
Every execution keeps who triggered it, which version ran, what each stage did and who approved.
approved · order #4821
05Common mistakes and evaluation
Before you hand
the agent the keys.
The mistakes come from treating the agent as a clever script. The questions serve to evaluate any agent platform.
Five common mistakes
- Full autonomy on day one
Starting without an approval point and adding one after the first scare costs more than starting with it.
- An agent with a person's credential
The record shows the person, not the agent. And the agent inherits everything that person can do.
- Editing in production
Without a version, there is no way to say what ran or how to go back.
- Approval that cannot wait
If the wait times out in minutes, approval becomes a rubber stamp. The flow has to withstand days.
- Loose text instead of an audit trail
Lines in a file do not answer who approved what. Audit is a structured record, per execution.
How to evaluate a solution0 of 9 checked
06From concept to product
Agents
How NNumbers
applies it.
NNumbers Agents creates, versions, publishes, executes and governs autonomous agents. Every agent is a versioned definition: flow, tools, policies, identity and limits.
The concept asks forAgents has
Designed flow
Studio
Deterministic stages and AI stages sit side by side in the editor, and each one can be tested before publishing. There are 13 types of stage.
AI task · 6 of 25 iterations
Closed version
Publish and promote
Publishing creates an immutable version. Promoting takes that same version forward, without rebuilding anything. Rolling back reactivates the exact version, with a mandatory reason.
version 1.4.0 · production
Human approval
Approval
The stage creates the approval request, pauses the execution and releases the capacity it was using. A wait can last up to 30 days. Only whoever has the required profile or was assigned decides.
Approval pending: order #4821
Identity and limits
Agent Space
The governance unit, with its own members, tools, resources, limits, service account and audit. The effective permission is the lower of the ceiling in the organization and the profile in the Space.
Space Compras
Audit
Executions
Every execution records state, duration, environment, origin and version. Inside it: stages, timeline, events, files and result.
Execution 1,207 · Completed
Running analysis with NNumbers-1
Running Call API: “CRM”
Analysis completed · 3 calls
Approved
The same agent accepts four forms of triggering: manual execution, scheduling, HTTP endpoint or a call from another agent. The execution is durable: it survives a restart, an update and a wait for approval.
The eight concepts
Concept 03 of 08
Bring a process.
See where the person comes in.
You describe what today depends on spreadsheets, email and waiting. We design the flow, the approval point and the record.
Talk to NNumbers