AI Integration  ·  BraivIQ AI Engineering Playbook

When There Is No API: Computer-Use Agents Are The New Integration Layer For Legacy Systems - How To Architect Them In Code

Every enterprise has them: the legacy portal with no API, the native broker terminal, the Windows-only ERP client, the desktop system that still runs a critical process and cannot be replaced this decade. For twenty years the only ways to automate them were brittle screen-scraping RPA or a human. In 2026 that changed decisively: computer-use agents - agents that operate software through its human interface, observing the screen and producing clicks and keystrokes - moved from research demo to production primitive. Computer-using agents in Microsoft Copilot Studio are now generally available, Windows 365 for Agents gives agents governed desktop and browser environments at enterprise scale, and a whole infrastructure layer of browser-agent fleets (Browserbase, Steel, Kernel, Anchor, Hyperbrowser) ships with observability and replay. This flagship playbook, for senior engineers and architects, is a code-side guide to using computer use as an integration layer: how the observe-plan-act loop works, why a browser agent is the right default primitive with native-desktop reach added only where needed, how to combine deterministic scripting with model-driven action, and the access-control discipline that stops an agent with a mouse becoming an unbounded actor.

 ·  14 min read  ·  By BraivIQ Engineering

When There Is No API: Computer-Use Agents Are The New Integration Layer For Legacy Systems - How To Architect Them In Code

Generally available - Computer-using agents in Microsoft Copilot Studio are now GA and expanding to all commercial geographies  ·  Governed desktops - Windows 365 for Agents provides full desktop and browser environments for agents at scale, under enterprise governance  ·  Fleets with replay - Browserbase, Steel, Kernel, Anchor and Hyperbrowser deploy browser instances with observability and session replay  ·  Browser first - For most 2026 enterprise use cases a browser agent is the right primitive; native-app reach is added only where the workflow demands it

Walk through the process map of any large organisation and you find the same thing everywhere: critical steps that run through software with no API. A supplier portal that only has a web form. A native broker terminal. A Windows-only ERP client. A desktop system from the previous decade that owns a process nobody dares migrate. For twenty years, the choice for automating those steps was between brittle screen-scraping RPA - scripts that broke the moment a button moved - or simply paying a person to click through them. In 2026 that choice changed decisively. Computer-use agents - agents that operate software through its human-facing interface, observing screenshots or the accessibility tree and producing mouse clicks, keystrokes and navigation - crossed from research demo into production primitive. Computer-using agents in Microsoft Copilot Studio are now generally available; Windows 365 for Agents gives agents full desktop and browser environments that run securely, at scale and under enterprise governance rather than relying on APIs alone; and an infrastructure layer of browser-agent fleets - Browserbase, Steel, Kernel, Anchor, Hyperbrowser - deploys isolated browser instances with observability and replay as a service. The consequence for architects is profound: the human interface has become a legitimate integration surface. As an AI Agency Developer London that builds integrations for exactly the systems that have no API, we think computer use is the most important new integration layer of the year, and this flagship playbook is how to architect it properly in code.

How A Computer-Use Agent Actually Works

Under the marketing, a computer-use agent is a loop with three parts, and understanding it precisely is what lets you engineer around its failure modes. It observes: it captures the current state of the interface, as a screenshot, as the browser's DOM or accessibility tree, or both - and the choice matters, because structured representations like the accessibility tree are far cheaper and more reliable to act on than raw pixels, with screenshots as the fallback for canvases and native widgets that expose no structure. It plans: given the task and the observation, a model decides the next action - click this element, type this value, scroll, navigate, wait - ideally with a short chain of intent so the action is explainable. It acts: the action is executed against the real interface, the loop waits for the UI to settle, and it observes again. Around that loop sits the infrastructure that makes it production-grade: an isolated execution environment per session (a fresh browser context or a governed cloud desktop), so one task's state cannot leak into another; session recording and replay, so every run can be audited and debugged step by step; timeouts and step budgets, so a confused agent cannot loop forever; and structured logging of every observation and action, because an agent you cannot watch is an agent you cannot trust. The important engineering insight is that the loop is only as good as its observation and its action primitives: invest in structured observation and precise, verifiable actions, and the model's job becomes tractable; feed it blurry screenshots and coarse actions, and even the best model flails.

  • Observe structurally where you can - DOM and accessibility trees are cheaper and more reliable than pixels; use screenshots only for canvases and native widgets that expose no structure.
  • Make actions precise and verifiable - target elements by stable semantics, not coordinates, and confirm the UI reached the expected state after each action.
  • Isolate every session - a fresh browser context or governed desktop per task, so state, cookies and credentials never leak between runs.
  • Record and replay everything - full session capture is how you audit, debug and prove what an agent did.
  • Bound the loop - step budgets, timeouts and explicit stop conditions so a confused agent halts rather than wandering.

Browser First, Native Only Where Needed - And Script The Stable Parts

Two architectural choices separate teams that ship reliable computer-use automation from those that produce impressive demos. The first is the choice of primitive. For most enterprise use cases in 2026, a browser agent is the right default: the browser exposes a rich structured interface, can be isolated and scaled as cheaply as any container, is what the fleet providers are built around, and covers the majority of legacy web portals and SaaS tools that lack APIs. Native-desktop reach - a full Windows or Linux environment driven at the OS level, which is what Windows 365 for Agents and desktop-provisioning services provide - is added back only where the workflow genuinely demands it: the legacy desktop EHR, the native broker terminal, the Windows-only ERP client. Start with the browser and escalate to a desktop only for the steps that need one, because native environments are heavier, slower and harder to observe. The second choice is where to use the model at all. A computer-use workflow is rarely uniformly uncertain: large stretches of it are stable and deterministic - log in, navigate to a known page, fill a known form - and only some steps genuinely vary. The mature pattern is hybrid: script the stable parts deterministically, with conventional browser automation that is fast, cheap and reproducible, and invoke model-driven perception and action only at the steps where the interface genuinely varies or where judgement is required. This keeps cost and latency down, makes most of the workflow testable like ordinary code, and confines the non-determinism to where it earns its keep. An agent that reasons about every click is expensive and slow; an agent that reasons only where reasoning is needed is a production system.

The Access-Control Discipline: An Agent With A Mouse Is An Actor

The property that makes computer-use agents powerful - they can do anything a human at the keyboard can do - is exactly what makes them dangerous, and it demands an access-control discipline stricter than for API-based agents, because a UI does not enforce the fine-grained permissions an API can. A computer-use agent logged into a system has, in principle, every capability that account has, so the first rule is to give it a dedicated identity with the least privilege the task needs - a service account scoped to the specific screens and functions, never a human's credentials and never an admin. The second is to constrain its action space in code, not just in the prompt: allow-lists of the applications, domains and pages it may touch, deny-lists of destructive actions (delete, submit payment, change permissions) that it may not perform without a gate, and explicit approval checkpoints where a consequential action pauses for a human before it is executed - recent research on context-scoped access control for computer-use agents formalises exactly this, restricting what an agent may do based on the context it is operating in. The third is defence against manipulation: an agent reading a web page is reading untrusted content, and hostile instructions embedded in a page can try to redirect it - so treat everything the agent perceives as data, never as instruction, and validate that its planned actions stay within the task. The fourth is credential handling: the agent should never see raw secrets; the environment injects them, sessions are ephemeral, and nothing persists beyond the task. Get this discipline right and computer use is a governed integration layer; skip it and you have handed an unbounded actor the keys to every system it can see.

The Bottom Line

The systems with no API - legacy portals, native terminals, Windows-only clients - were the permanent frontier of enterprise integration, automatable only by brittle RPA or by hand, until computer-use agents crossed into production in 2026: Copilot Studio's computer-using agents are generally available, Windows 365 for Agents provides governed desktops for agents at scale, and browser-agent fleets ship with isolation, observability and replay. The human interface is now a legitimate integration surface, and architecting it well is concrete engineering: an observe-plan-act loop that observes structurally, acts precisely and verifiably, runs in an isolated recorded session, and is bounded by step budgets; a browser agent as the default primitive with native-desktop reach added only where a workflow demands it; a hybrid design that scripts the stable steps deterministically and spends model-driven perception only where the interface varies; and an access-control discipline - least-privilege dedicated identities, action allow-lists and deny-lists enforced in code, approval gates for consequential actions, everything perceived treated as untrusted, secrets never exposed - that keeps an agent with a mouse from being an unbounded actor. Prefer an API where one exists and deterministic automation where the workflow is stable; reach for computer use for the steps that genuinely need perception and judgement. Done that way, the unreachable systems become reachable, safely - which is exactly the integration work we do.

References & Further Reading

  • Microsoft Community Hub - computer-using agents in Microsoft Copilot Studio are now generally available: https://techcommunity.microsoft.com/blog/copilot-studio-blog/computer-using-agents-in-microsoft-copilot-studio-are-now-generally-available/4519427
  • Microsoft - Windows 365 for Agents on enterprise Cloud PC: https://www.microsoft.com/en-us/windows-365/agents
  • Asteroid AI - what are browser agents? A 2026 guide (browser as the default primitive; fleet infrastructure): https://asteroid.ai/blog/what-are-browser-agents/
  • Toloka - computer use agents: what they are, how they work, and how to deploy them safely: https://toloka.ai/blog/computer-use-agents-what-they-are-how-they-work-and-how-to-deploy-them-safely/
  • arXiv - secure and efficient access control for computer-use agents via context space: https://arxiv.org/pdf/2509.22256