Skip to content

Agents

The agent acts. Someone approves. It gets recorded.

Automate the routine. Your team only steps in when the decision needs a person, and every step is recorded. NNumbers Agents creates, publishes and governs agents with a flow, tools, limits and human approval.

Bring a process to automate

Real product screen · sample data

One execution,
from trigger to record.

01 · Trigger

An order arrives. The agent starts.

The same agent accepts four forms of triggering: manual execution, scheduling, HTTP endpoint or a call from another agent. There is a single definition.

External system (HTTP endpoint) · order #4821

02 · Stages

Exact stages and AI stages, in the same drawing.

Calling a tool and testing a condition are deterministic stages. Checking quotes against the policy is an AI task. The flow joins both, and each stage can be tested on its own.

AI task · 6 of 25 iterations · completed

03 · Human approval

The execution stops and waits for a person.

The stage creates the approval request, pauses the execution and releases the capacity it was using. It can wait days without consuming anything; the limit of a wait is 30 days.

Approval pending: order #4821, R$ 38,400.00

04 · Decision

Someone approves. The flow resumes where it left off.

Only whoever has the required profile or was assigned in the stage decides. Once approved, the execution goes back to the queue and continues. If refused, it takes the refusal path.

The execution resumes where it left off, following the flow.

05 · Record

The execution is kept, with the version that ran.

Every execution records state, duration, environment, origin and version. Inside it: stages, timeline, events and logs, files and result.

Execution 1,207 · version 1.4.0 · Completed

StudioPurchases above the limitversion 1.4.0 · production
Flow of the Purchases above the limit agent An HTTP endpoint triggers the agent. It fetches the order from the ERP, checks the quotes with AI and tests whether the amount goes past the limit. Above R$ 20,000.00, it asks the manager for human approval: if approved, it issues the purchase order and answers the ERP; if refused, it goes to the exit. Up to R$ 20,000.00, it goes straight to the purchase order. Trigger · HTTP endpoint Purchase order received Call a tool Fetch the order from the ERP AI task Check the quotes Condition Amount above the limit? above R$ 20,000.00 Human approval Cost center manager approved Call a tool Issue the purchase order Exit Answer the ERP up to R$ 20,000.00 refused

Above R$ 20,000.00, approval decides: if approved, it issues the purchase order; if refused, it goes to the exit. Up to R$ 20,000.00, it goes straight to the purchase order.

Triggers

  • HTTP endpointproduction · permanentPOST /agentes/compras-alcada
  • Schedulingbusiness days, 07:00
  • Manual execution“Run now” button
  • Called by another agentInvoice intake

In development, the endpoint and the schedule expire. Permanent only in production.

AI task

Objective
Check the order's three quotes against the purchasing policy and flag divergences.
Granted tools
erp.pedidos · erp.cotacoes · querymesh
Iterations
6 of 25
Result
3 quotes checked. No divergence. Amount: R$ 38,400.00.

A tool only enters the flow if it is granted in the Space.

Approvals

Approval pendingApproved

order #4821

R$ 38,400.00

Supplier
Metalúrgica Serra Azul
Cost center
Maintenance · Betim plant
Who decides
Approver profile, assigned in the stage

waiting for 2 h 14 minexpires in 46 h

Marina Duarte approved at 14:30The execution resumes where it left off, following the flow.

Execution 1,207 Completed

Version
1.4.0
Environment
production
Origin
External system
Duration
2 h 15 min 02 s
  1. Purchase order received
  2. Fetch the order from the ERP 0.8 s
  3. Check the quotes 38 s · 6 iterations
  4. Awaiting approval order #4821
  5. Approved by Marina Duarte
  6. Purchase order OC-2291 issued
  7. Completed

Thirteen types of stage.
One drawing.

The flow is hybrid: deterministic stages and AI stages sit side by side in the editor, and each one can be tested before publishing.

  1. Call a tool
  2. AI task
  3. Generate with a model
  4. Assemble data
  5. Condition
  6. Choose a path
  7. Human approval
  8. Wait
  9. Combine results
  10. For each item
  11. Call another agent
  12. Run automation
  13. Exit
13types of stage in the editor, with a product name.
4ways to trigger the same agent definition.
30days is the maximum wait of a stage. Approval does not consume capacity while it waits.
4stages in parallel, by default, when a flow runs.

Durable execution. An execution survives a restart, an update, instance loss, a wait for approval and a retry. Every state change goes through a validated transition: repeating does not bring back a canceled execution.

Once published,
the version
does not change.

What runs in production is exactly what was tested. Publishing creates an immutable version; promoting takes that same version forward, without rebuilding anything.

Publish versiondraft r12

Creates an immutable version from draft r12.

1MAJOR4MINOR0PATCH

  • No cycles
  • All stages reachable
  • Tools and resources granted in the Space

Flow valid for production

Activate in development right after publishing

Publishing does not put anything live. The version only runs in the environment where it is activated.

  1. r12

    Draft

    Editable and with revisions. If two people save at the same time, the second edit is refused. Nothing is lost silently.

    Draft · revision 12

  2. 1.4.0

    Published version

    Immutable. It carries two hashes, one for the whole definition and one for the flow: you can tell whether the logic changed without reprocessing anything.

    definition 9f3c…e2a1 · flow a41e…07bd

  3. 8 of 8

    Development

    Activated in development, the version runs with real data. The executions become the evidence for promotion; with none, the promotion is refused.

    8 of 8 executions completed in development

  4. 1.4.0

    Production

    A Publisher promotes. The hashes are recalculated and compared with the source. The previous version goes offline.

    It takes exactly the same version. Nothing is rebuilt.

  5. 1.3.1

    Roll back

    Rolling back to a previous version reactivates the exact version, with a mandatory reason. The history is not changed.

    Roll back to 1.3.1 · reason: approval rule revised

Four profiles.
One ceiling per person.

The Agent Space is the governance unit: it has its own members, tools, resources, limits, service account and audit. Who can do what is decided there.

Space ComprasMemberseffective permission = the lower of the two
  • Rafael Nogueiraceiling creator · profile Publishercreator
  • Lívia Satoceiling administrator · profile Creatorcreator
  • Bruno Teixeiraceiling publisher · profile Publisherpublisher
  • Helena Pratesceiling none · profile Administratornone
Approver
Decides the approvals the flow leaves pending in the space.
Creator
Creates, versions and tests agents in development.
Publisher
Promotes an exact version to production.
Administrator
Administers the space and its policies.

In the space

Resources

Connections to database, API, server, email and storage are a catalog of the organization. The space receives only what is granted to it.

Resource erp-producao · granted to Space Compras

Limits

Quotas per dimension: agents, active schedules, executions per month, concurrent executions, AI tokens and storage, among others. The refusal comes with an explanation.

The organization has reached the limit of concurrent executions (40). Ask the platform administration for an increase.

Audit

Publishing, promoting, rolling back and deciding an approval stay in the space's record, with who did it and when.

Marina Duarte · approved · order #4821 · 14:30

With the stack

Imaginne

It is the creation door: one sentence becomes the flow assembled on the canvas. When an execution fails, the failure card offers the conversation.

Ask Imaginne

Infinite Data

QueryMesh enters the flow as a tool: the agent queries the company's data where it already is.

Call a tool · querymesh

Identity

People, organizations and roles come from the NNumbers identity. The login is the same as in the other products.

Login with the NNumbers identity

On its own
or together.

Agents is adopted on its own: it has an identity of its own, with the organization's login, and does not require Imaginne.

Together

Infinite Data

Agents + Infinite Data: flows that query data, with the query among the agent's tools.

Ontology

Agents + Ontology: the execution records the citation of the definition it used.

Imaginne

Agents + Imaginne: the conversation inside Studio is optional and contracted separately.

In short

Each product solves specific problems. Together, they expand what your company can do.

Bring a process.
We design the flow.

You describe what today depends on spreadsheets, email and waiting. We show the agent in Studio: trigger, stages, approval and record.

Bring a process to automate