Skip to content

Strategy


Article originally published on HSN Labs. Author: Hugo Nascimento.

The BPO Replacement Matrix: Operational and Financial Impact of Deterministic Agents

Reading time: 6 minutes. Author: Hugo Nascimento.

Context: I compiled this operational benchmark for our HSN Labs advisory partners and economic buyers. It details the exact automation mechanics, unit cost reductions, and compliance risk mitigations across thirteen core enterprise outsourcing verticals.

To assist executive teams and Chief Financial Officers evaluating business process automation, HSN Labs maintains this operational benchmark.

This matrix analyzes the thirteen core enterprise outsourcing verticals being actively transformed from manual headcount billing to deterministic agent execution.

Executive Comparison Matrix

Outsourcing Vertical Primary Human Failure Point Deterministic Agent Architecture Unit Cost Reduction Primary Regulatory Risk Eliminated
Payroll and HR Operations Manual timesheet transcription and tax calculation errors Rule-graph execution over labor code invariants with eSocial direct dispatch 85 percent Fines for late labor filings and incorrect statutory tax withholding
Accounting and Tax Compliance Two-week monthly closing latency and manual SPED reconciliation Continuous general ledger reconciliation with automated digital tax validation 80 percent Tax audit restatements and fiscal accounting penalties
Treasury and Financial Operations Human delays in three-way matching and risk of duplicate payments Invariant-enforced accounts payable matching purchase orders and bank feeds 90 percent Commercial supplier interest charges and duplicate payment losses
Third-Party Contractor Compliance Blind sampling of vendor certificates and delayed labor audits Continuous API ingestion of government registries and automated clearance checks 95 percent Joint enterprise labor and fiscal liability for bankrupt contractors
Judicial Calculations Weeks spent by specialized accountants calculating court awards Mathematical state machine executing inflation and union interest formulas 90 percent Inflated judicial risk provisions and excessive expert witness fees
Enterprise ERP Support Retainers billed for repetitive master data updates and batch failures Headless agents executing parameterized API transactions directly in core tables 85 percent Production batch delays and expensive ERP consultant maintenance retainers
Multichannel Customer Care Operator burnout, high turnover, and erratic service quality Multimodal voice and text agents executing transactional system mutations 80 percent Consumer protection agency penalties and customer churn from wait queues
Insurance Claims Adjustment Two-week turnaround comparing damage photos against repair estimates Multimodal visual inspection cross-referenced with parts catalogs and policies 85 percent Exorbitant loss adjustment expenses and fraudulent repair claims
Debt Collection and Credit Recovery Low conversion from aggressive robocallers and rigid scripts Hyper-personalized conversational negotiation optimizing dynamic payment plans 75 percent Consumer harassment lawsuits and uncollected aged receivables
Corporate IT Service Desk Long wait queues for routine password resets and directory permissions Deterministic terminal agents executing authenticated provisioning workflows 90 percent Enterprise downtime caused by unaddressed workstation access blocks
Healthcare Revenue Cycle High billing rejection rates caused by manual clerical formatting errors Continuous pre-submission TISS audit with automated denial appeal generators 80 percent Trapped hospital liquidity and write-offs on rejected medical claims
Credit Underwriting and KYC Multi-day credit approval delays and vulnerability to synthetic fraud Real-time multi-registry data aggregation with biometric document audits 85 percent Capital losses on fraudulent credit lines and banking compliance sanctions
Real Estate Lease Administration Manual extraction of inflation adjustment clauses and guarantee terms Multimodal contract graph parsing with automated rent indexation statements 90 percent Uncollected lease indexation revenue and lapsed rental guarantee bonds

Architectural Invariants for Enterprise Deployment

Replacing third-party outsourcing contracts with autonomous digital workforces requires adherence to three engineering principles:

  1. Zero Direct Stochastic Execution: Large language models propose actions, but formal finite state machines commit mutations to enterprise databases.
  2. Perimeter Isolation: Models operate strictly against isolated read replicas and sanitized Model Context Protocol interfaces.
  3. Continuous Ground Truth Testing: Every automated pipeline is evaluated continuously against historic regression test suites.

Article originally published on HSN Labs. Author: Hugo Nascimento.

The C-Suite Transition Playbook: Protecting Margins in the Agentic Economy

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: I wrote this after reviewing recent quarterly SEC filings from global business process outsourcing conglomerates and sparring with enterprise CFOs on Avenida Faria Lima. Their operating margins are under siege as agile competitors deploy autonomous digital workforces at a tenth of legacy unit costs.

Autonomous digital workforces are fundamentally rewriting the unit economics of enterprise business.

For thirty years, scaling back-office operations required linear headcount expansion. If your company wanted to process twenty thousand additional insurance claims, onboard five thousand new retail employees, or reconcile fifty thousand monthly vendor invoices, you had to hire fifty more analysts or expand your outsourced BPO contract.

Your operational expenditures scaled in direct lockstep with your revenue.

In the agentic economy, that linear relationship is severed. Software is no longer just a passive tool used by a human sitting in front of a monitor. Software is becoming the autonomous worker executing the transaction directly.

Enterprises that fail to adapt their operating models over the next eighteen months face an existential threat: gross margin collapse.

The Triple Margin Threat to Incumbent Enterprises

The risk to established incumbent organizations is not technological prestige. It is cold, brutal income statement arithmetic:

1. New Entrants Operating at Fractional Unit Economics

Agile competitors and modern market entrants are building their operational backbones with deterministic agents from day one. When a new competitor can process loan applications or settle medical claims at an eighty percent reduction in unit cost, they can undercut incumbent pricing while maintaining superior operating margins.

2. The Outsourcing Margin Trap

Enterprise CFOs are waking up to the fact that paying millions of dollars to BPO providers billing on hourly rates is corporate waste. If your enterprise is paying twenty dollars to have a human review a receipt while your competitor uses a deterministic agent that does it for five cents, your EBITDA margin will erode until your board demands answers.

3. Customer Churn Driven by Operational Latency

In financial services, insurance, and logistics, speed is the ultimate retention metric. When modern digital competitors approve a corporate credit line or confirm a lease agreement in fifteen seconds, customers will not tolerate an incumbent that takes seven business days because a human queue is backed up.

The Operational Strangler Playbook

Smart executive leadership does not attempt a risky, big-bang replacement of its entire operational workforce overnight. That invites systemic operational failure.

Instead, at HSN Labs we guide enterprise leadership through an operational strangler pattern:

1. The High-Friction Transaction Audit

We audit enterprise workflows to isolate high-volume, repetitive processes governed by deterministic rules: three-way invoice matching, supplier compliance verification, tax document reconciliation, and tier-one customer service workflows.

2. Progressive Shadow Routing

Deploy deterministic agentic pipelines in shadow mode alongside human teams. In phase one, the agent processes inbound transactions and proposes state mutations without committing writes. The human team reviews the proposed actions. Once the agent demonstrates consistent deterministic precision across thousands of transactions, autonomous write authority is unlocked.

3. Strategic Redeployment of Human Capital

Human employees are transitioned from manual transcription and repetitive data entry into strategic exception handling, relationship management, and complex negotiations. Headcount shifts from an operational cost center to an operational leverage point.

4. Board-Level Governance and Auditable Telemetry

Establish clear financial approval thresholds where high-value transactions automatically escalate to human executives. Every autonomous action is logged with cryptographic auditability, satisfying risk committees and external regulatory audits.

The agentic transition is not an optional technology experiment. It is a mandatory defense of your corporate balance sheet.


Article originally published on HSN Labs. Author: Hugo Nascimento.

Why Big 4 Slide Decks Fail on Agent Projects

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: As a founder and engineer who has built venture-backed companies, I have zero patience for theoretical consulting slide decks that ship no working code. This is the exact Forward Deployed Engineering playbook we use at HSN Labs to de-risk production rollouts in one week.

Enterprise leaders do not need another strategy report forecasting the future of artificial intelligence.

Every month, traditional management consultancies sell Fortune 500 executives on six-month AI transformation discovery studies. They charge hundreds of thousands of dollars, deploy armies of junior business analysts, and deliver a one-hundred-and-twenty-page PowerPoint deck filled with generic frameworks.

When the internal engineering team finally receives the deck and tries to write the first line of code, the entire strategy collapses because nobody audited the legacy database schemas or tested network latency limits.

At HSN Labs, we reject slide-deck consulting. We believe the only way to de-risk an enterprise agentic initiative is through empirical engineering proof on live corporate data.

We do it in five days through our Forward Deployed Engineering sprint.

The Three Fatal Flaws of Big 4 Slide Decks on AI Projects

Big 4 consultancies sell conceptual architectures that completely ignore low-level infrastructure reality. Long discovery studies destroy executive momentum and burn capital with zero operational return:

1. Slide Decks Cannot Test API Latency

A slide deck can claim that an agent will automate customer claims. It cannot tell you that the core mainframe API takes eight seconds to respond, or that the database connection pool exhausts under concurrent load. You only discover real infrastructure friction when engineers touch real systems.

2. Sunk Cost and Organizational Exhaustion

By the time a traditional consultancy finishes a ninety-day discovery phase, internal teams are exhausted by endless interviews, and executive sponsors face intense pressure to justify the spend. Companies end up greenlighting flawed architectures simply because they already burned half a million dollars studying them.

3. Strategy Firms Take No Operational Accountability

Strategy consultancies make recommendations and leave. When the subsequent implementation fails, they blame the client internal engineering team.

The Five-Day Forward Deployed Engineering Cadence

Our sprint embeds a senior Forward Deployed Engineer directly into client operations. We do not interview people about their feelings; we connect to sandbox environments and build a functioning prototype:

Day 1: Perimeter Isolation and Network Handshake

We establish secure environment access, connect to isolated read replicas, and configure Model Context Protocol interfaces. The enterprise security perimeter remains completely insulated.

Day 2: Business Ontology and Schema Reverse-Engineering

We extract domain business rules, database schemas, and operational invariants from legacy systems like SAP, Totvs, or Oracle. These constraints are codified into an executable graph rather than left to prompt assumptions.

Day 3: Deterministic Sandbox Prototype

We assemble the multi-agent graph, state machine guards, and data routing layers. By the end of day three, the system processes real enterprise payloads in an isolated staging environment.

Day 4: Adversarial Stress Testing and Telemetry

We subject the prototype to adversarial prompt injection, malformed payloads, and high-concurrency throughput tests. Telemetry tracks exact latency, token consumption, and deterministic accuracy.

Day 5: Production Blueprint and Audited ROI Model

We deliver the working prototype, verified error baselines, and an audited financial model demonstrating concrete unit cost reductions and payback timelines.

The Performance Rebate Structure

Enterprise discovery should be aligned with production outcomes, not billable hours.

For qualified enterprise accounts, the fee for our five-day architecture sprint is credited one hundred percent against the subsequent production implementation contract.

If the architecture proves viable and the business case justifies deployment, discovery costs zero. If the legacy infrastructure fails our viability gates, the client walks away having spent a fraction of the cost of a Big 4 study, saving millions of dollars on a doomed rollout.

Stop paying for slide decks. Demand working software in five days.


Article originally published on HSN Labs. Author: Hugo Nascimento.

High-Velocity Operations: Autonomous Negotiation, Collections, and Contract Execution

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: Over years building Eva People and handling millions of conversational interactions across enterprise workforce and customer channels, I have seen the structural rot of traditional contact centers firsthand. Call center turnover exceeds eighty percent annually, and dumb robocallers have burned consumer trust. Here is how autonomous negotiations transform front-office unit economics.

The traditional front-office customer operations industry is built on human burnout and brute-force headcount.

Walk onto the floor of any massive business process outsourcing contact center in São Paulo, Bogotá, or Manila. You will see hundreds of exhausted operators crammed into cubicles wearing headsets, reading rigid scripts from green screens, and enduring verbal abuse from frustrated customers.

Annual employee turnover in these facilities routinely tops eighty to one hundred percent. Companies spend millions of dollars in a perpetual cycle of hiring, background checks, onboarding training, and hardware provisioning, only to watch operators quit after ninety days.

This is not an operational model. It is an expensive human meat grinder.

In the agentic economy, handling routine front-office transactions through manual human labor is completely indefensible.

The Three High-Velocity Frontiers of Front-Office Automation

Autonomous digital workforces remove the human latency bottleneck across three massive front-office operations:

1. Multichannel Contact Centers and Customer Care

Traditional customer service software attempts to deflect inquiries with rigid decision trees. When an issue requires real action, the customer is dumped into an endless wait queue.

A deterministic voice and text agent does not just recite FAQ articles. It executes transactions.

It authenticates the customer via voice biometrics, queries backend inventory databases, checks shipping logs on legacy ERPs, and issues partial refunds within strictly bounded financial limits. The customer gets their issue resolved in thirty seconds over WhatsApp or phone at two o'clock in the morning, while the enterprise reduces per-contact resolution costs by over eighty-five percent.

2. Autonomous Debt Collection and Credit Recovery

The legacy collections industry is stuck in 1995: bombarding delinquent borrowers with aggressive predictive dialers that hang up the moment a customer answers, or screaming collectors reading legal threats.

Consumers simply stop answering unknown phone calls. Delinquency rates stay high, and legal compliance complaints skyrocket.

Autonomous negotiation agents engage borrowers through their preferred asynchronous digital channels like WhatsApp. The agent analyzes the debtor payment history and proposes a hyper-personalized restructuring plan within strict financial boundaries set by the CFO. The customer negotiates payment dates, adjusts installments, and receives a PIX code or payment barcode in seconds without the shame or hostility of human confrontation. Recovery conversion rates triple while collection costs drop to fractions of a cent.

3. Real Estate Lease Administration and Back-Office Operations

Property management firms and corporate real estate portfolios employ teams of administrative clerks whose primary job is reading lease agreements, calculating annual rent adjustments, and auditing rental guarantee bonds.

In countries like Brazil, rent adjustments follow volatile macroeconomic indices like IGPM or IPCA, combined with complex condominium apportionment rules.

Multimodal agents parse incoming lease contracts, extract critical covenants into an executable ontology, cross-reference official inflation indices via direct APIs, and automatically generate verified billing statements without human intervention.

Infinite Operational Elasticity Without Headcount

Scaling front-office operations no longer requires signing another commercial lease for a call center floor or contracting three hundred temporary workers for peak holiday volume.

By replacing manual human queues with deterministic autonomous negotiation pipelines, enterprises achieve infinite operational scale, eliminate training overhead, and deliver instant, high-converting customer experiences.


Article originally published on HSN Labs. Author: Hugo Nascimento.

What I Learned Building HR Tech About Dying BPO Contracts

Reading time: 5 minutes. Author: Hugo Nascimento.

Context: Over my years building Eva People and deploying enterprise workforce technology in Brazil and globally, I have spent hundreds of hours analyzing corporate back offices. Manual data entry into eSocial, tax declarations, and supplier registers creates millions in preventable liabilities. Here is how deterministic agents dismantle the legacy BPO model.

For thirty years, the Business Process Outsourcing industry built a fortress around the corporate balance sheet.

Every Chief Financial Officer I meet shares the same headache: paying millions of dollars annually to armies of outsourced analysts who spend their days copying data between spreadsheets, ticketing systems, and ERP instances like SAP, Oracle, and Totvs Protheus.

The legacy outsourcing pitch was straightforward: labor arbitrage. Take a repetitive, manual task and send it to an offshore center where people work for lower hourly wages.

That era is over. When business processes are governed by statutory law, tax codes, and closed arithmetic formulas, human labor is no longer a safety buffer. It is an expensive point of failure.

What HR Tech Revealed About Dying BPO Contracts

Building workforce software taught me that back-office operations are governed by closed formulas, not human creativity. Human data processing creates hidden financial liabilities across five core balance sheet workflows:

1. Payroll and Labor Regulatory Filings

In markets like Brazil with complex labor codes under CLT, payroll is not a suggestion. It is a strictly deterministic legal algorithm.

Every overtime hour, night differential, and union benefit corresponds to a closed formula. Yet, traditional BPO operations still employ rooms full of analysts manually reconciling timecards and preparing government transmissions like eSocial events.

A single human transcription error in an eSocial event triggers automatic federal fines, blocked tax clearances, and immediate labor court claims. At Eva People and HSN Labs, we proved that deterministic rule-graphs execute these workflows with zero defects, pushing verified data straight to government gateways in seconds.

2. General Ledger and Statutory Tax Reporting

Enterprise monthly close routinely takes corporate finance teams ten to fifteen days.

Why does it take two weeks? Because human analysts must manually reconcile bank statements against general ledgers and verify digital tax documents like SPED and XML invoices.

Accounting standards do not require human creativity. They require relentless adherence to chart of accounts ontologies. Deterministic agents parse inbound fiscal XMLs, match line items against purchase orders, verify withholding tax codes, and post balanced journal entries in real time. The monthly close shrinks from fifteen days to fifteen minutes.

3. Treasury Operations and Three-Way Invoice Matching

The foundation of accounts payable is the three-way match: does the purchase order match the physical warehouse receipt and the supplier tax invoice?

When humans perform this verification across thousands of monthly invoices, invoices get paid late, incurring interest penalties. Worse, duplicate bills slip through undetected. An autonomous agent performs formal invariant checks across purchase orders, warehouse dock logs, and bank feeds instantaneously, approving payment strictly when all contract terms pass.

4. Third-Party Contractor Risk and Vendor Compliance

In high-liability jurisdictions, enterprise buyers carry joint liability for the unpaid labor and tax obligations of their outsourced vendors.

If a cleaning contractor or security agency fails to deposit social security or worker compensation funds, the enterprise client foots the bill. Today, enterprises hire risk BPOs where analysts manually inspect PDF certificates, clearance letters, and proof of deposits.

This manual inspection creates massive blind spots. Deterministic multimodal agents ingest compliance PDFs, verify digital signatures, query public revenue registries via direct APIs, and validate contractor standing continuously with zero marginal labor cost.

5. Judicial Calculations and Labor Claim Liquidation

When a labor lawsuit reaches the execution stage, specialized forensic accountants spend weeks manually calculating retroactive interest, inflation adjustments, and statutory penalties across years of historical payroll records.

These consultancies charge thousands of dollars per claim for calculations that are fundamentally mathematical state transitions. Rule-based agentic architectures calculate precise judicial settlements in seconds, arming legal teams with exact settlement figures and dramatically reducing legal fees.

From Headcount Billing to Continuous Verification

The financial back office is not a place for creative improvisation. It is an operational engine governed by mathematical invariants.

When an enterprise replaces billable outsourced headcount with deterministic software workers, it does not just reduce operating expenses by eighty percent. It insulates its balance sheet against compliance fines, labor liabilities, and systemic human error.


Article originally published on HSN Labs. Author: Hugo Nascimento.

Protocol Arbitrage: Autonomous Multimodal Adjudication in Healthcare and Underwriting

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: I wrote this after sparring with a private hospital network CFO whose facility was losing twelve percent of revenue to clerical insurance claim denials under TISS and TUSS. Adjudication is formal logic that deterministic agents resolve in seconds.

In enterprise operations, the most dangerous revenue leakage rarely appears on sales dashboards. It hides in the quiet back-office queues where claims and transactions get adjudicated.

Last month, I sat down with the Chief Financial Officer of a large private hospital network. When I asked what kept him awake at night, he pointed straight at his accounts receivable balance: fourteen percent of their gross billings were trapped in insurance claim denials, commonly known as glosas.

The hospital was not delivering bad medical care. The revenue was trapped because hundreds of human billing clerks were manually transcribing medical charts into complex electronic insurance formats under protocols like TISS and TUSS. A single missing procedure authorization, an inverted ICD-10 diagnostic code, or an unattached lab report meant the health insurer rejected the entire hospital invoice.

That is not a medical problem. That is an operational protocol arbitrage problem.

The Three High-Friction Adjudication Bottlenecks

Across insurance, healthcare, and financial underwriting, enterprises burn millions of dollars employing human reviewers to perform tasks that are fundamentally rule-based protocol verifications:

1. Healthcare Revenue Cycle and Denial Remediation

Hospitals operate on razor-thin operating margins. Losing twelve to fifteen percent of top-line revenue to administrative claim denials is the difference between operating profitability and insolvency.

Clinical billing is governed by rigid ontologies: health plan contracts, procedure schedules, and regulatory diagnostic codes. Yet, hospitals still rely on manual billing teams who miss contract nuances under fatigue.

Deterministic agents ingest medical charts, cross-reference clinical orders against specific insurer contract rules, and audit every claim line item before transmission to the clearinghouse. When denials do occur, agents parse the insurer rejection codes and generate structured, evidence-backed appeal packages in seconds, recovering trapped working capital.

2. Insurance Claims Adjustment and Technical Inspection

Processing an auto or property damage claim traditionally takes an insurance carrier two to three weeks.

A policyholder uploads photos of vehicle damage. A human claims adjuster inspects the photos, checks policy limits, cross-references repair shop labor estimates, and runs anti-fraud checks across external databases.

Multimodal deterministic agents analyze damage photos, verify physical component damage against manufacturer parts catalogs, detect manipulated or re-used images, and cross-reference policy coverage limits instantly. Loss adjustment cycle times drop from three weeks to three minutes, directly expanding underwriting margins.

3. Credit Underwriting, KYC, and Fraud Verification

In corporate and consumer lending, risk teams face a constant tradeoff between onboarding speed and fraud prevention.

Manual credit desks take days to verify corporate registry certificates, check corporate ownership structures, validate tax standing, and calculate debt service coverage ratios. Organized fraud rings exploit these delays through synthetic identity manipulation.

Deterministic agents query dozens of government registries, court databases, and credit bureaus in parallel within milliseconds. They verify identity documents, execute biometric checks, and generate audited risk scoring payloads that allow banks to approve clean borrowers instantly while blocking sophisticated fraud.

Adjudication as a Mathematical State Machine

Adjudication should never be a subjective art. It is the formal application of contract rules and statutory regulations to verified factual evidence.

When enterprises replace slow, error-prone manual review queues with deterministic multimodal agents, they do not just slash operational overhead by eighty percent. They eliminate clerical leakage, recover millions in trapped EBITDA, and provide instantaneous decisions to their customers.


Article originally published on HSN Labs. Author: Hugo Nascimento.

The Death of Tier-1 Support: Why ERP Consultancies and IT Helpdesks Cannot Defend the Billable Hour

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: I wrote this after auditing an IT helpdesk ticketing log where routine master data fixes in Totvs and SAP took forty-eight hours to resolve, while external consultancies billed hundred-dollar hourly rates for simple configuration changes. The billable hour model for Tier-1 support is dead.

The enterprise IT sustaining model is built on an extractive economic racket: selling expensive human billable hours for trivial, deterministic procedural work.

Every month, mid-market and enterprise companies pay multi-thousand-dollar retainers to systems integrators and consulting firms to maintain installations of SAP, Oracle, and Totvs Protheus.

When an internal accounting clerk encounters an error because a vendor CFOP tax code is missing or an inventory batch failed, what happens?

The clerk files a ticket. The ticket sits in a queue for twenty-four hours. A junior consultant opens the ERP, cross-references a standard configuration table, enters the missing code, clicks save, and bills two hours on the client monthly statement.

There is zero intellectual creativity or strategic thinking in that workflow. It is pure mechanical rote work, and defending it as human labor is no longer viable.

The Two Extractive Pillars of Enterprise Support

The traditional enterprise IT support industry relies on operational inertia across two massive cost centers:

1. The ERP Sustaining Retainer Illusion

Enterprise leaders are conditioned to believe that maintaining an ERP requires a continuous army of external consultants.

When you audit these retainers, over seventy percent of the logged hours do not involve complex system upgrades or custom architecture. They consist of mundane master data maintenance: fixing address formats, updating tax withholding codes, re-routing rejected approval workflows, and reconciling stuck batch jobs.

When a deterministic agent is connected directly to ERP APIs and error logs, it detects the missing master data parameter, validates the entry against the corporate business ontology, and commits the fix in two hundred milliseconds. The entire justification for fifty-thousand-dollar monthly sustaining retainers evaporates.

2. The Internal Helpdesk Triage Queue

The same mechanical waste plagues internal IT service management: * Unlocking Active Directory accounts and resetting multi-factor authentication tokens. * Provisioning standardized email group memberships and role-based access permissions. * Diagnosing recurring VPN handshake failures and local network configuration errors. * Parsing application server crash logs to match known error codes.

Helpdesk technicians spend their days acting as manual switches between user chat messages and administrative web consoles. Deterministic agents connected via authenticated Model Context Protocol endpoints execute these routine procedures instantly, eliminating ticket queues and cutting resolution times from days to seconds.

Shifting from Ticket Triage to Autonomous Self-Healing

The goal of modern enterprise architecture is not to make human technicians close tickets ten percent faster. The goal is to eliminate the concept of the support ticket entirely.

When deterministic agents monitor system telemetry and operational exceptions in real time, they resolve root causes autonomously before an employee even notices an error.

The billable hour consulting firm wants systems to break so they can bill hours to fix them. The enterprise needs systems that repair themselves. Autonomous agents make that economic alignment possible.


Article originally published on HSN Labs. Author: Hugo Nascimento.

The RPA Market Is Collapsing

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: This critique was born while auditing IT invoices for an enterprise client paying an external integrator sixty thousand dollars a month just to patch broken UiPath selectors across SAP and remote desktops. Pixel clickers cannot compete with protocol-level deterministic agents.

The legacy Robotic Process Automation industry pulled off one of the greatest marketing sleights of hand in enterprise software history.

For ten years, vendors like UiPath, Automation Anywhere, and Blue Prism convinced enterprise leaders that emulating mouse clicks on a virtual desktop was the future of digital labor. What Chief Information Officers actually purchased was an expensive, fragile web of glorified macro recorders that break whenever a button moves three pixels to the left.

Enterprises tolerated this fragility because, until recently, there was no alternative for bridging legacy systems that lacked modern APIs.

Today, that justification is dead. Across boardrooms and IT committees, enterprise leaders are actively terminating multi-million-dollar RPA renewals. Deterministic agents operating on protocol layers, headless engines, and structured data contracts make legacy screen-scraping bots completely obsolete.

Why the Legacy RPA Business Model Is Collapsing

Legacy RPA does not understand business logic. It understands screen coordinates, Document Object Model selectors, and optical character recognition bounding boxes.

This fundamental design flaw created a parasitic consulting industry:

1. The Broken Selector Extortion

Every time an enterprise ERP or web portal undergoes a minor patch, changes a CSS class, or updates an input layout, the legacy RPA bot crashes with a fatal exception. The transaction queue freezes, orders pile up, and business halts.

Who profits from this breakage? The systems integrators who charge hundred-dollar hourly rates on perpetual maintenance retainers to log in and re-record the broken selectors. Companies spend three times more capital fixing broken robots than they ever saved by automating the original task.

2. The Absurdity of Virtual Machine Farms

To run legacy RPA at enterprise scale, companies must maintain dedicated farms of virtual machines running full Windows desktop operating systems.

Think about the sheer architectural waste: spinning up a heavy desktop environment, allocating CPU and RAM, and paying Microsoft operating system licensing fees just so a script can open an ERP screen, click three form fields, and hit enter.

3. Seat Licenses for Incompetence

Legacy RPA vendors charge ten to twenty thousand dollars annually per unattended bot runner. You pay that license fee every twelve months regardless of whether the bot successfully executed a single transaction or spent half the quarter stuck on a modal dialog.

How Deterministic Agents Replace Screen Clickers

At HSN Labs, we do not build systems that emulate human eyes and hands on a desktop screen. We deploy deterministic agents that communicate directly with underlying system protocols:

  • Headless Protocol Execution: A deterministic agent does not search a display for a button labeled Submit Order. It communicates directly with backend services via database adapters, REST endpoints, Model Context Protocol servers, or command line interfaces. A frontend interface redesign has zero impact on system uptime.
  • Robust Handling of Variance: When a traditional RPA bot encounters an invoice layout with an extra line item, it crashes. When a deterministic agent encounters document variance, it parses the payload against an explicit ontology, extracts the verified entities, and applies business rules without manual code patches.
  • Fractional Infrastructure Footprint: By eliminating heavy virtual machine farms, deterministic agents run inside lightweight containers that scale dynamically with transactional volume. Operating costs drop by more than eighty percent while throughput increases tenfold.

The era of paying millions to maintain fragile screen-scraping bots is finished. Enterprise operations belong to deterministic, protocol-level agents that never touch a mouse.


Article originally published on HSN Labs. Author: Hugo Nascimento.

Why Agents Fail: The PoC Graveyard

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: I wrote this after a closed-door meeting on Avenida Paulista with an enterprise Chief Information Officer who spent four hundred thousand dollars on three boardroom demos that could never pass security review. Here is why enterprise pilots stall and how we pull them into production.

Over eighty-five percent of enterprise generative AI pilots never make it to production. They get quietly buried in what I call the PoC Graveyard.

In my years building venture-backed software companies and deploying enterprise systems, I have watched this movie repeatedly. An internal innovation team or an external agency gets half a million dollars to build an artificial intelligence prototype. They spin up a notebook, throw thirty pristine PDF manuals into a vector store, wrap a slick React dashboard around it, and demo it to executive leadership.

The boardroom is thrilled. The board approves follow-on funding.

Then comes Monday morning. The project moves to the enterprise architecture and security teams. The moment that prototype attempts to touch live production data, the entire initiative grinds to an abrupt halt.

The demonstration was not an enterprise product. It was a parlor trick.

The Three Structural Reasons Enterprise Agents Fail

Enterprise software does not operate inside clean vector spaces. It operates in thirty years of accumulated relational debt.

1. The Shock of Legacy Schemas

A sandbox environment is clean. Real enterprise systems are dirty.

When an autonomous agent connects to an actual production SAP ECC or Totvs Protheus instance, it does not find clean JSON objects. It encounters undocumented tables, custom column names created a decade ago, nullable foreign keys, and silent business exceptions.

Language models have zero inherent understanding of relational integrity. In an unconstrained setting, they guess. They hallucinate table joins and fabricate missing columns. A single hallucinated foreign key halts a live ERP batch run and corrupts financial reporting.

2. The Multi-Agent Latency Trap

During a boardroom presentation, an executive will happily wait fifteen seconds for a clever response. On a live production service bus, fifteen seconds is an eternity that triggers downstream timeouts.

When teams build naive multi-agent systems without formal bounds, the models enter unconstrained reasoning loops. Last month I audited a client codebase where a customer lookup triggered forty-two consecutive tool calls, repeatedly hitting cloud provider rate limits and blowing the monthly API budget in three days.

If your agent requires sixty tool invocations to locate an invoice status, you do not have an architecture. You have a distributed denial of service attack on your own infrastructure.

3. The Security Barrier Is Not Negotiable

Every Chief Information Security Officer I talk to on Avenida Faria Lima and Paulista has the same justified reaction: they will never grant direct write credentials to a probabilistic prompt.

If an autonomous system cannot prove perimeter isolation, read-only boundary separation, and hard cryptographic validation of every mutation, the security review will block it indefinitely. The PoC dies not because the model was dumb, but because the engineering was reckless.

How HSN Labs Escapes the Graveyard

At HSN Labs, we do not build boardroom slide decks or unconstrained sandbox demos. When our Forward Deployed Engineers enter an enterprise client, we enforce three non-negotiable rules:

  • Ground Every Step in Explicit Ontologies: Models never query relational databases directly. They interact with pre-compiled domain graphs that enforce schema invariants before execution.
  • Bound Execution with Finite State Machines: Every agentic workflow must operate within mathematically provable state transitions. The model can suggest the path, but deterministic software guards enforce the bounds.
  • Run Deterministic Regression Assertions: We test agents against live transaction replays, measuring determinism and accuracy with zero tolerance for hallucinations.

Enterprise value is not measured by chatbots that talk. It is measured by deterministic software that writes to core databases without breaking the business.


Article originally published on HSN Labs. Author: Hugo Nascimento.

Legacy Core Systems Will Not Die: They Are the Engine Behind Autonomous Agents

Reading time: 4 minutes. Author: Hugo Nascimento.

Context: I wrote this reflection after reading a Gartner analysis on enterprise modernization timelines projecting fifteen-year mainframe rewrite horizons. Ripping out legacy core systems is financial suicide; turning them into headless engines for autonomous agents is the pragmatic strategy.

The prevailing consulting narrative that artificial intelligence will replace legacy enterprise core systems is completely wrong.

Every year, global systems integrators convince Fortune 500 boards to greenlight multi-hundred-million-dollar modernization programs. The pitch is always the same: rip out that thirty-year-old COBOL mainframe, that vintage SAP ECC deployment, or that on-premise Totvs Protheus instance, and replace it with a modern cloud microservices architecture.

These projects routinely drag on for seven to ten years, run three hundred percent over budget, and often get canceled after burning hundreds of millions of dollars without processing a single live transaction.

Legacy systems are not operational liabilities. They are the battle-hardened, transaction-tested foundation of the global economy.

The Hidden Value Locked in Legacy Systems

An enterprise core system that has run continuously for three decades contains something irreplaceable: thirty years of codified corporate wisdom.

Every obscure edge case, every union agreement exception, every quirky regional tax rule, and every supplier rebate calculation has been patched and tested in that codebase over decades.

Attempting to rewrite this accumulated logic from scratch introduces existential operational risk:

1. The Lost Documentation Reality

The engineers who wrote the original COBOL routines, stored procedures, or custom ABAP modules retired fifteen years ago. The code itself is the only living documentation of how the enterprise actually functions. Attempting to reverse-engineer thousands of undocumented edge cases into new microservices guarantees critical regressions.

2. Unrivaled Transactional Integrity

Modern distributed databases struggle to match the raw transactional consistency of mature relational and mainframe engines. A banking mainframe processes millions of concurrent financial transactions every day without dropping a single balance or corrupting double-entry ledgers.

3. The Real Problem Is Interface Friction

The bottleneck in legacy enterprise systems was never the underlying transactional engine. The bottleneck was the human interface.

Enterprise employees spend thousands of hours transcribing data from customer emails, PDF purchase orders, and Excel sheets into clunky terminal emulators and antiquated green-screen forms. The system worked fine; the human data bridge was slow and expensive.

The Agentic Solution: Wrapping Without Ripping

The winning enterprise architecture does not rip out legacy core systems. It decouples the core transactional engine from human interfaces:

1. Reverse-Engineering Business Ontologies

Instead of rewriting legacy code, our Forward Deployed Engineers inspect database tables, transaction logs, and data dictionaries. We codify business invariants, state transition rules, and validation logic into an executable knowledge graph.

2. Headless Agent Execution

Autonomous agents become the new operational interface. The agent ingests unstructured inbound purchase orders, parses customer requests, validates parameters against the business ontology, and commits transactions directly via legacy APIs, message queues, or headless terminal emulators.

3. Preserving Core Transactional Truth

The legacy database remains the single source of truth. Transactional commits, financial ledgers, and compliance audit logs remain completely intact. The enterprise gains the speed, cost reduction, and twenty-four-hour execution of autonomous agents without taking on the catastrophic risk of a core system replacement.

Do not burn capital rewriting systems that already work. Turn your legacy core into the headless backing engine for autonomous agents.


Article originally published on HSN Labs. Author: Hugo Nascimento.