Agentic and Multi-Agent Systems Design & LLM Interaction

Can API calls outperform UI navigation for agent task completion?

Can agents work faster and more accurately by calling APIs directly instead of clicking through user interfaces? This explores whether changing how agents interact with applications solves latency and error problems that plague current LLM-based systems.

Note · 2026-02-23 · sourced from Agents

Current LLM-based UI agents suffer from two compounding problems: latency scales with sequential interactions (each UI step requires an LLM call with large visual context), and hallucination risk increases per step (each reasoning step adds probability of selecting a wrong UI control). Inserting a 2x2 table in Word requires "Insert → Table → 2x2 Table" — three sequential UI interactions, each requiring full UI state processing.

AXIS (Agent eXploring API for Skill integration) demonstrates that prioritizing API calls over UI interactions resolves both problems simultaneously:

The HACI (Human-Agent-Computer Interaction) paradigm shift: API-first agents replace UI agents, falling back to UI interaction only when relevant APIs are unavailable. API calls require fewer tokens and produce more reliable code-formatted responses compared to UI state descriptions.

The self-exploration mechanism is key to practicality: AXIS automatically explores existing applications, learns from support documents and action trajectories, and constructs new APIs from existing ones. This addresses the bootstrapping problem — APIs don't need to be manually created for every application.

Because Are reasoning model failures really about reasoning ability?, the UI-to-API shift removes execution failure as a bottleneck. UI interaction is execution; API interaction is closer to specification. The agentic hierarchy becomes: user intent → agent reasoning → API execution, removing the fragile UI navigation layer.

This connects to Can reasoning and tool execution run in parallel?: API-first interaction is a structural form of the same decoupling — separating what the agent wants to do from the mechanics of how the application implements it.


Source: Agents

Related concepts in this collection

Concept map
16 direct connections · 147 in 2-hop network ·dense cluster

Click a node to walk · click center to open · click Open full network for a force-directed map

your link semantically near linked from elsewhere
Original note title

API-first agent interaction reduces task completion time by 65 to 70 percent compared to UI-based agent interaction — reframing human-agent-computer interaction