SYNTHESIS NOTE
Topics›Agents›this note

Can API-first agents outperform UI-based agent interaction?

This explores whether directing agents to use APIs instead of navigating UIs reduces task completion time and errors. The question matters because current LLM agents struggle with sequential UI steps that multiply latency and hallucination risk.

Synthesis 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 collapses really failures of reasoning?, 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 be truly decoupled?: 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.

Inquiring lines that read this note 32

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Should agents decouple planning from perception grounding for better performance? Should GUI agents use structured representations over raw visual input? What execution architectures enable agents to most effectively use tools? How effectively can language models perform reasoning, especially combined with symbolic methods? When should work require human-AI partnership versus full automation? What prevents conversational agents from taking initiative in dialogue? How do standardized protocols improve multi-agent coordination and reliability? When do multi-agent systems provide sufficient quality returns on token investment? Why do agents falsely report success on failed tasks? Can harness architecture and protocols provide agent reliability without model scaling? How do agent-learned skills transfer and improve across different tasks?

Related concepts in this collection 5

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
17 direct connections · 149 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

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