How to Build Safer AI Agents: Luís Rodrigues on Evals, Tools and Human Oversight

L

Luís Rodrigues

LinkedIn Author

AI → ROI | CPTO | Leading Digital Transformation Across FS, Telco & Government | Follow for posts on AI & business

In a recent LinkedIn post, Luís Rodrigues discusses how to build AI agents from scratch, drawing on his experience with financial services systems including credit scoring, payments and agentic applications for banks. This article reports on Rodrigues’s recommendations in that post; it is not written by him. His central argument is that teams should prioritize clear boundaries and testing before adding complexity, particularly in regulated settings.

“When an agent gets something wrong there, someone has to explain it to a regulator. So I build in a different order. You should too.”

Define the job before designing the system

Rodrigues’s first recommendation is to give an agent a narrowly defined role. He advises teams to specify what it should do, what it must not access and how success will be measured. In his view, a team that cannot describe a good result has not yet given the model a workable target.

That framing makes the agent’s scope a practical design decision, rather than a detail to settle after implementation. Rodrigues also urges builders to write evaluation cases before drafting prompts. He suggests preparing 20 to 50 real examples, including difficult cases, and recording the expected answer for each. Those cases can then help teams check whether changes improve performance or introduce new errors.

Keep interfaces and capabilities constrained

According to Rodrigues, structured data at system boundaries can make agent behavior easier to manage. He recommends using schemas, such as Pydantic or JSON Schema, for information entering or leaving the agent. The model may reason in natural language, he says, while its outputs to other systems should follow a defined structure.

He also cautions against starting with a multi-agent architecture. A single model with a few tools can handle many tasks, Rodrigues argues; teams should split work across agents only when it no longer fits within one context. His related advice is to be selective about tool permissions:

“Give read access first. Add write access one action at a time, and only when you can say why it’s needed.”

Rodrigues notes that MCP can help when multiple agents need access to a shared capability. But his broader point is to grant only the access required for the defined job, adding consequential actions gradually.

Make oversight part of deployment

Rodrigues recommends postponing long-term memory until a use case requires it, and distinguishes retrieval-augmented generation from memory. He says most agents need only session-level state, while retrieval is a way to find information rather than a persistent memory system.

For deployment, he advises setting limits on an agent’s steps and spending, and requiring human approval before actions that cannot be undone. He also recommends releasing the system to a small group of users, logging each run and rerunning evaluations after every change.

Rodrigues closes by asking where evaluations belong in the build process. His post’s answer is clear: they should be prepared early and revisited throughout development. While the tools may change, he argues, the order of work remains steady: define the task, test it, constrain access and keep people involved where mistakes carry lasting consequences.

📝 About This Content

This article is based on insights shared by Luís Rodrigues on LinkedIn.

📅 Originally posted on November 4, 2026 | View original post on LinkedIn →