Make headless access a first-class interface
Most software is still built for a person sitting in front of a screen. Business rules end up in form handlers, and the API covers whatever the team had time to expose. A growing share of requests now come from programs acting for a person: a coding agent in a terminal, an assistant in a chat window, a scheduled job that never shows anyone a conversation. Nielsen Norman Group put the change plainly in April 2026: “‘user’ is no longer synonymous with ‘human’”.
My recommendation follows from that change: if you are building software today, make headless access (every operation a user can perform, reachable without the graphical interface) a first-class interface, and design it for AI agents as well as for people from the first release. I also hold a stronger view: for most software, a chat box or a terminal will become the usual place a task starts. The two claims need different evidence, so this post keeps them apart. It checks each against what was published through November 2026, reports one measurement from my own benchmark runs, and lists the design rules I follow in the four open-source Model Context Protocol (MCP) servers I maintain.
The recommendation and the forecast
The recommendation is an architecture claim about where logic lives. Every operation the graphical user interface (GUI) performs should go through a documented, authenticated, typed interface that the GUI itself calls, with one or more agent adapters on top. Today the adapter is usually an MCP server or a command-line tool. In five years it may be something else, and a team with a clean capability layer can swap adapters without touching domain logic. The case for that layer predates language models: it is the separation of logic from presentation that lets one backend serve a website, two mobile apps, and a partner API, and it pays off even if agent adoption stalls.
The forecast is a claim about behavior, and the evidence for it is thinner. I expect that in productivity, developer, and business software, most tasks will begin as a sentence or a command, and the application’s own screens will become the place where people review results and approve actions. I think that outcome is likely, but it is still a prediction.
Unix asked for this in 1978
The foreword to the 1978 Unix issue of the Bell System Technical Journal, by M. D. McIlroy, E. N. Pinson, and B. A. Tague, lists the maxims that became the Unix philosophy. The second one reads: “Expect the output of every program to become the input to another, as yet unknown, program. Don’t clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don’t insist on interactive input.” (scan, pp. 1901–1902).
For most of the 48 years since, the unknown program was written by a programmer. That limited who benefited from a headless interface: a command-line tool or a REST API helped the people who could script against it, and a product team could reasonably treat it as a secondary surface for a small group of users. Language models change who writes the unknown program. An agent reads the documentation or the tool schema, writes the glue, runs it, and reports back, for a user who has never written a script. As I read it, that is the economic change behind this whole argument: the audience for a headless interface grew from the users who program to every user who can type a request.
The argument about agents and screens is older than it looks. In a 1997 exchange published in ACM Interactions, Ben Shneiderman defended direct manipulation against Pattie Maes’s case for interface agents, and conceded “two levels: the user interface level, which users want to be predictable and controllable […] and the level below the table, where there may be some interesting algorithms” (PDF). That is the architecture I am recommending: a controllable interface on top, and a capability layer underneath that more than one kind of client can call.
Platform owners are now asking developers to build the level below the table. Apple introduced App Intents in iOS 16 in 2022, and its documentation now describes the framework as the way to “make content and actions discoverable by Apple Intelligence” (Apple). Android AppFunctions, added in Android 16 in 2025 and still an experimental preview, describe themselves as “the mobile equivalent of tools within the Model Context Protocol (MCP)” (Android). MCP itself, released by Anthropic in November 2024 and donated to the Linux Foundation’s Agentic AI Foundation in December 2025, reported close to half a billion monthly downloads across its Tier 1 software development kits (SDKs) at its 2026-07-28 revision (MCP blog), a count that includes automated installs. That revision made the protocol core stateless, which I covered in the transport post. Notion, Linear, Figma, GitHub, and Stripe each run an official hosted MCP server today.
What the 2026 evidence supports
Adoption of chat assistants is broad among U.S. adults and growing inside large companies. In a Pew Research Center survey of 5,119 U.S. adults fielded February 17 to 23, 2026, 49% said they use AI chatbots and 24% said they use them daily (Pew). McKinsey’s state of AI survey, published August 25, 2026 and fielded in May and June, found that 40% of respondents from organizations with more than $1 billion in revenue report scaling AI agents in at least one function, up from 27% a year earlier (McKinsey).
Usage data complicates the chat-box half of the forecast. In the National Bureau of Economic Research (NBER) analysis of about 1.1 million consumer ChatGPT conversations, “Doing” messages (requests for output the model produces) fell to 34.6% of messages by late June 2025, while “Asking” messages rose to 51.6% (NBER). Anthropic’s January 2026 Economic Index found the delegated work elsewhere: 64% of its first-party API traffic was directive, against 32% of Claude.ai conversations (Anthropic). Both datasets show consumer chat leaning toward questions and collaboration, with delegated work concentrated in API traffic. That supports the headless half of my argument more directly than the chat-box half.
Reliability is improving fast on short tasks and is still low on long ones. OSWorld is a benchmark of open-ended tasks in real desktop operating systems. The 2026 AI Index reported a best OSWorld score of 66.3%, from Claude Opus 4.5, against a human baseline of 72.35% (AI Index, ch. 2). The OSWorld-Verified results, updated through August 2026, already list about 20 entries above that baseline, with a top score of 90.19%. OSWorld 2.0, released in June 2026 with tasks that take a person a median of about 1.6 hours, reported a best completion rate of 20.6% (arXiv). Microsoft Research’s WeaveBench, 114 tasks that mix GUI actions with command-line and code operations, reported a best pass rate of 41.2%, from Claude Opus 4.7 running in Claude Code (arXiv).
The type of interface an agent works through changes those numbers. A Carnegie Mellon University study on the WebArena benchmark, which runs tasks on self-hosted copies of sites such as an online store, a forum, and GitLab, found that a GPT-4o agent calling APIs completed 29.2% of tasks against 14.8% for an agent that browsed the same sites, and a hybrid of the two reached 38.9% (Song et al.). The API agent cost about $1.2 per task against $0.1 for browsing, mostly from reading long API documentation: GitLab alone exposes 988 endpoints. A machine-readable interface nearly doubled success in that study, and its documentation became the largest cost.
The economics of deploying agents are still unsettled in 2026. In the same McKinsey survey, 37% of respondents attribute any impact on earnings before interest and taxes (EBIT) to AI, against 39% a year earlier, and about 20% say operating costs, including tokens, constrained their AI use. Gartner forecast in June 2025 that over 40% of agentic AI projects will be canceled by the end of 2027 (Gartner). That is a forecast and has not been measured, but it is a reasonable prior for any agent project.
Headless access covers more than chat
Four terms get used interchangeably in this discussion, and the argument depends on keeping them apart:
| term | meaning | example |
|---|---|---|
| headless | the operation runs with no GUI | a CLI command, an HTTP API call |
| agent-accessible | an AI client can discover the operation and call it with typed arguments | an MCP tool, a CLI with --help and JSON output |
| agentic | a model plans and runs several steps toward a goal | an agent that triages a bug report and opens a pull request |
| conversational | the user states the request in natural language | a chat box |
A scheduled agent that reconciles records every night uses headless, agent-accessible operations and never opens a conversation. A chat assistant with no tools is conversational and can change nothing. My recommendation concerns the first two rows of the table, and my forecast concerns the last one.
A headless capability layer also leaves room for screens, and several vendors already pair the two. Figma’s MCP server began letting agents write native design elements to the canvas in March 2026, a feature still in beta, so the agent’s output lands where a designer can inspect and change it (Figma). MCP Apps, the protocol’s first official extension, became stable in January 2026 and lets a server return an interactive interface that Claude, ChatGPT, and other clients render inside the chat (MCP blog). A Nielsen Norman Group study of site chatbots with nine participants found that people used them for quick answers and wanted short, direct responses (NN/g). And in a CHI 2024 study with 12 participants, people editing text, code, and vector images with DirectGPT, a direct-manipulation interface built on the same model as ChatGPT, were 50% faster and 25% more successful than with ChatGPT itself (Masson et al.). A request may start as a sentence, and the best answer is often a table or a canvas the person can act on.
What my benchmark runs showed
In August I ran a comparison like the WebArena one on two tasks in AEDL, my open benchmark of electromagnetic design tasks scored by deterministic evaluators: a search radar design and a 28 GHz terminal architecture (task t3-001). Claude Code on Sonnet 5 got 30 minutes per attempt: three attempts with my physics libraries installed and importable, and three with two of my MCP servers attached as well, APAB (my agentic phased-array design tool) and opensatcom (my satellite link-budget library). On the search radar task, the servers put 24 typed tools in the agent’s context. Both arms could reach the same physics: the library arm had headless access in the plain sense, with every function one import away, and the MCP arm also had those functions described as tools with names, parameter schemas, and descriptions.
The MCP arm passed 5 of 6 attempts across the two tasks, 3 of 3 on the radar and 2 of 3 on the terminal, and the library arm passed 1 of 6, 1 of 3 and 0 of 3. A two-sided Fisher exact test gives p = 0.080 for the pooled counts and p = 0.40 for each task alone, so with three attempts per arm neither p-value is below 0.05. On the radar task, MCP attempts cost an estimated $1.03 to $2.46 each, against $4.43 to $4.89 for library attempts. The library agents spent their budgets writing and running their own parameter sweeps: 3,062 to 30,602 instrumented physics-model calls per attempt, against 238 to 1,714 in the MCP arm.
The radar transcripts showed something the pass rates did not: the MCP-attached agents made 1, 0, and 1 tool calls, so tool calls cannot explain the gap. My working hypothesis is that the schemas worked as documentation. Their parameter names list the variables the system model prices, such as the Swerling case (a model of how a target’s radar return fluctuates), the constant false alarm rate (CFAR) detector type, the clutter model, and the pulse repetition frequency, and an agent that sees that list may stop guessing at what matters. Three attempts per arm cannot separate that from chance, the runs used one model family, and the tasks and tools are mine. I wrote in the post on run counts that these runs are not evidence about MCP in general, and that still holds. They did change how I write tool descriptions, which I now treat as the first documentation an agent reads, and often the only documentation it reads.
Design rules I follow
These rules come from building the four MCP servers I maintain: APAB, opensatcom, antenna-cad (a compiler from antenna spec to board layout), and sysml2kit (a modeling and verification SDK for Systems Modeling Language v2, or SysML v2). They also draw on the published guidance and incidents cited with each rule.
Put the logic in one layer and make every interface a client
None of the tools in my stack require a language model. APAB is a Python library first, and
apab mcp serve and opensatcom mcp serve are subcommands of each package’s CLI that put the same
functions behind MCP. The RF design stack post describes that rule
in more detail. The test I apply to other software is whether the GUI can do anything the API
cannot. If it can, the GUI holds business logic that no agent will reach, and adding an agent
adapter later means writing a second implementation of that logic.
Expose domain operations with typed inputs and outputs
An agent calling record_inventory_usage(item_id, quantity, reason) can be authorized, validated,
and audited, while an agent calling execute_sql(query) can do anything the database role allows.
Anthropic’s guidance on writing tools for agents recommends consolidating steps into task-level
tools, such as a single schedule_event that finds availability and books the meeting in place of
separate list_users, list_events, and create_event tools
(Anthropic). The number of tools exposed
has a measurable cost. GitHub’s MCP server documentation says “enabling only the toolsets that you need
can help the LLM with tool choice and reduce the context size”
(GitHub), and in Anthropic’s internal evaluations,
loading tools on demand raised Claude Opus 4.5’s accuracy from 79.5% to 88.1%
(Anthropic).
Ship a CLI with machine-readable output
For agents that run in a terminal, a command-line tool is the cheapest interface to give them. In
OpenRouter’s November 2026 comparison on one GitHub task, Claude Sonnet 5.5 used a median of 1,421
input tokens through the gh CLI and 59,417 through GitHub’s MCP server with its 46 default tools,
and every approach answered correctly
(OpenRouter). Its advice matches mine:
“Use a CLI when one exists and your agent can run commands. When it can’t, use MCP, scoped and with
small results.” My radar runs suggest that schema tokens can carry useful domain information, so I
keep tool sets small and descriptive. A well-built CLI is already an agent interface, which is why
the terminal sits next to the chat box in my forecast.
Give the agent the user’s authority, scoped down, and record what it does
An agent works on behalf of a specific person and should hold that person’s permissions or fewer. A National Institute of Standards and Technology (NIST) post from August 2026 argues that “agents need to be treated like first-class entities with their own unique identifiers,” built on today’s identity and access management standards (NIST). Stripe applies this in practice: from December 2026 its MCP server stops accepting full-access secret keys and untagged restricted keys, and it marks actions such as refunds for human confirmation (Stripe). The failure modes of agent access are well documented. In May 2025, Invariant Labs showed a malicious GitHub issue hijacking an agent connected to the GitHub MCP server and leaking private repository data (Invariant Labs), which is the combination of private data, untrusted content, and an outbound channel that Simon Willison calls the lethal trifecta. The Open Worldwide Application Security Project (OWASP) lists tool poisoning, the confused deputy problem, and over-scoped tokens among the key risks in its MCP Security Cheat Sheet. I record every tool call with its arguments and results, as described in the trace-auditing post, because an agent’s mistakes become visible only in the record.
Test the interface with an agent before shipping it
A server that starts and lists its tools has passed a smoke test, a check that it runs at all. Published MCP benchmarks show how much distance remains after that: on MCPMark’s 127 tasks across Notion, GitHub, the filesystem, PostgreSQL, and Playwright, the best model passed 52.56% of tasks on a single attempt and 33.86% when it had to pass all four attempts (arXiv). APAB ships a golden-task evaluation suite, and AEDL scores agents on representative design tasks with deterministic evaluators over several attempts each, as described in the eval harness post. The number I track is the share of tasks completed correctly, because a successful API response only shows that the server answered.
Where this argument is weakest
Security is the largest cost of headless access. Every headless operation is attack surface, and an agent that reads untrusted content can be steered into misusing it. Agent access built without the authorization rule above is worse than no agent access, so that rule comes before any adapter work.
Software vendors also have a strategic reason to hesitate. A user who works through a third-party assistant may never open the vendor’s app, which removes upsell surfaces and some of the switching cost that keeps customers. Figma’s plan to make canvas writes a usage-based paid feature after the beta (Figma) points to one answer, which is to price agent access as its own product.
Small software may not need an adapter at all. A low-traffic internal tool does not justify running and securing a remote MCP server. The capability layer still pays for itself in testing and in the next frontend rewrite, and the adapter can wait until a user asks for it.
Agent tasks also cost money and fail often. The library arm of my radar runs cost up to $4.89 per attempt for a task my reference solver handles with no model in the loop, and the best published long-horizon results in 2026 sit between 20.6% and 41.2%. For a repetitive workflow, a deterministic script on the same headless interface is cheaper and more reliable than an agent. That is one more reason to build the interface whether or not agents arrive on schedule.
The chat-box half of my forecast is the claim most likely to fail. If consumer chat keeps drifting toward information requests (ChatGPT’s “Doing” share fell to 34.6% by mid-2025) while delegated work stays in API and developer traffic, the entry point will have moved for developers and stayed put for everyone else. That outcome would not change the recommendation, because the capability layer is worth building without agents.
The short version
McIlroy’s 1978 maxim asked programs not to insist on interactive input. In 2026, agents are the unknown programs, and 40% of large-company respondents in McKinsey’s survey report scaling them. API access nearly doubled agent success over browsing on WebArena (29.2% against 14.8%), and in my own runs, the arm with typed tools passed a radar design task 3 of 3 times against 1 of 3, at about 40% of the cost, with three attempts per arm. The long-horizon numbers, 20.6% on OSWorld 2.0 and 41.2% on WeaveBench, say agents are not ready to own most workflows yet. Build the capability layer now, put a CLI and an agent adapter on it when users need them, and keep screens for the work people do best on screens.
Every external figure above was checked against its primary source on 2026-11-12, and the AEDL
numbers were re-read from the committed run bundles and runs/README.md in the AEDL repository.
Leaderboard figures change monthly, so treat the date as part of each number.
This is an independent analysis I did on my own time, using the public sources cited above. The views are my own and do not represent any current or former employer.
Frequently asked questions
What does headless access mean for an application?
Every operation a person can perform through the graphical interface can also be performed without it, through a documented and authenticated interface such as an HTTP API, a command-line tool, or an MCP server. The graphical interface becomes one client of that capability layer among several, and it holds no business logic the other clients cannot reach.
Is a good REST API enough for AI agents?
It is the foundation, and often insufficient on its own. An agent has to find the right operation, understand its arguments, and recover from errors with no person reading the documentation for it. In a Carnegie Mellon study on WebArena, an API-calling agent nearly doubled a browsing agent's success rate (29.2% against 14.8%) but cost about $1.2 per task against $0.1, mostly from reading long API documentation. Task-level operations with short, precise descriptions reduce that cost.
Should I build an MCP server or a CLI for agents?
If agents will reach your software from a terminal, a CLI with machine-readable output is the cheapest interface to give them. In OpenRouter's November 2026 comparison, one GitHub task cost a median of 1,421 input tokens through the gh CLI and 59,417 through GitHub's MCP server with its default tools. MCP is the better adapter for hosted chat clients that cannot run commands and for per-user OAuth. Both adapters should call the same capability layer.
Will chat replace graphical interfaces?
I do not expect it to for visual, spatial, or comparison-heavy work. In a CHI 2024 study with 12 participants, people editing text, code, and vector images with DirectGPT, a direct-manipulation interface on the same model as ChatGPT, were 50% faster and 25% more successful than with ChatGPT. My forecast is narrower: more tasks will start in a chat box or a terminal, and screens will stay where people review, compare, and approve.
How do I keep agent access to my software safe?
Have the agent act with the delegating user's permissions, scoped down to what the task needs, with confirmation on irreversible actions and a record of every call. Avoid giving one agent private data, untrusted content, and an outbound channel at the same time, the combination Simon Willison calls the lethal trifecta. Stripe's MCP server, for example, asks clients that cannot use OAuth for restricted keys tagged for agent use, and it marks refunds for human confirmation.
More in AI agents
- Should documents have a separate section for AI agents? · 2026-11-14
- Before you build an agent, benchmark the simple version · 2026-09-29
- MCP transport is a lifecycle decision · 2026-08-27