SI Agent News
DevelopingOpen modelsAgents

A blueprint for business AI agents relies on loops, strict schemas and human sign-off

A consultancy's guide shows how it builds multi-agent systems that retry on errors, check every tool call and ask a person before risky actions.

sub-100msinference latency the vendor claims for private setups

The short version

Why it matters

If you are weighing an AI agent that touches money, customer records or databases, this guide is a useful checklist of questions to ask a vendor. The ideas are common practice rather than new, and the claims come from a company selling these services, so treat them as a design pattern and not as proof.

Why one prompt is not enough

As dev.to reported, in a guide first published by the consultancy Uma Technolab, the starting point is that a plain chatbot is a poor fit for real business workflows. Those jobs need several steps of reasoning, contact with outside systems and a memory that lasts. The guide says simple chains of prompts often break when an outside service sends back something unexpected or limits how fast it can be called.

The proposed fix is an agent: a program built around a language model that reasons, takes an action, looks at the result and then decides what to do next. The guide calls this loop ReAct, short for Reason, Act, Observe. The idea is that the system keeps working until the task is done or it needs help.

Four agents, four jobs

The example system splits the work among specialists instead of asking one model to do everything. A Triage Agent works out what the user wants and pulls out key details such as names and identifiers. A Retrieval Agent searches company wikis and databases.

That search combines two methods. One matches meaning (dense vector search) and the other matches exact words (BM25, a classic keyword-ranking method). Fetching relevant company material for the model to use is what the industry calls RAG, or retrieval-augmented generation.

An Action Agent then prepares a checked request, such as a database change. Last comes an Audit Gatekeeper, which tests the request against security policies and asks a human to approve before anything is permanently saved.

Loops that retry, schemas that say no

The guide builds the workflow in LangGraph, a framework that wires agents into a controlled flow. Each step is a node, and rules decide which node comes next based on the current state. Unlike a one-way pipeline, the flow can loop back.

The article's example: a database query returns no rows because its filter was too narrow. The system moves to a reflection step, loosens the filter and tries again, instead of failing.

The second safeguard is strict checking of tool calls. Before an agent's request reaches a payment system or database, a validation layer compares every field with a schema, a written description of what is allowed. The guide uses Pydantic v2, a Python tool for this. If a field is missing or the wrong type, the error goes back to the agent so it can fix the request. The aim is to stop made-up parameters from reaching live systems.

A person approves the risky steps

The third safeguard is human-in-the-loop approval, meaning a person signs off before certain actions go through. The guide names refunds, payments, data deletions and changes to database structure as examples. For exploratory work it also recommends read-only database connections, so an agent can look but not change anything.

The pattern is simple: let the software move fast on reversible tasks and slow it down where mistakes are costly or hard to undo.

Keeping data on your own servers

For finance, healthcare and legal organisations, the guide notes that sending customer records or trade secrets to an outside AI provider can create compliance problems. Its answer is to run open-weight models, whose files are publicly downloadable, inside a company's own cloud account or data center. It names Llama 3.3, Mistral Large and DeepSeek as examples, served with tools called vLLM or Ollama.

The setup stores searchable data in PostgreSQL with pgvector, an add-on for searching by meaning, and keeps agent progress in Redis, a fast data store. The guide says this reaches sub-100ms inference latencies, meaning very quick model responses, with zero risk of leaking data to public AI providers. No test results or methods are given for that claim.

How much to trust it

This is a marketing-flavoured engineering article from a firm that sells agent-building services. It offers no benchmarks, customer results or failure rates. The design ideas are sound and widely used, but they are not new, and the guide's own wording is confident.

Its value is as a checklist. Does the agent loop back on errors? Is every tool call checked? Does a person approve irreversible actions? Is sensitive data kept where you control it? Those are fair questions for any agent project, whoever builds it.

What to watch

Try it

Take any workflow you want to automate and list each action it would perform. Mark which ones cannot be undone, such as payments or deletions, and require human approval for those first.

Sources and links

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Listen to the AI Wire headlines

Listen to the AI Wire

Listen to our daily AI shows every morning: on your commute, in the shower, wherever you are

Listen to the daily shows

First reported by dev.to · Read the original. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

More AI news