The Agent-Computer Interface is the surface through which an LLM agent reads, decides, and acts on the world. It is to agents what the Human-Computer Interface is to humans, and Anthropic’s Building Effective Agents post argues it deserves the same level of design care.
Carefully craft your agent-computer interface (ACI) through thorough tool documentation and testing. — Anthropic
This is the article’s most distinctive technical contribution and the part of the agent design space that practitioners most consistently underinvest in. The basics of tool design (one tool, one job; clear descriptions; the do-I-need-a-tool test) are the foundation. ACI is the engineering discipline on top of that foundation.
The Core Insight
The Anthropic SWE-bench team spent more time optimising tool definitions than the overall system prompt.
This is the line that should reframe your priorities. Most engineers assume the system prompt is where agent quality lives. In practice, on serious work, the tool surface is where most quality lives. If your tools are sloppy, no amount of prompt engineering will fix the agent. If your tools are sharp, a modest system prompt is often enough.
A good ACI takes as much iteration as a good HCI: prototypes, observation, redesign, repeat. The tool definition is not a contract you write once — it is a UX surface you tune.
Six Practical Principles
1. Give the model enough tokens to think before committing
Don’t structure tool calls in a way that forces the model to commit to an answer before reasoning. If a tool requires a structured output, leave room (e.g., a reasoning field, a scratchpad parameter, or split the call into “think” then “act” stages) so the model can work things out before producing the final answer. Forcing the model to skip thinking is one of the most common silent quality regressions.
2. Align format with what the model saw in training
The model has seen trillions of tokens of natural text and code. It has seen far less of weird custom DSLs. Use formats the model has fluency in.
- Markdown over bespoke text formats
- JSON or YAML for structured data
- Plain code blocks for code
- Avoid JSON-inside-JSON-strings (forces the model to escape characters in its head)
- Avoid string formats that require counting (whitespace-significant, character-counted, etc.)
The fewer cognitive cycles spent on format, the more available for the actual problem.
3. Eliminate formatting overhead
If the model has to count whitespace, escape characters inside escape characters, or maintain artificial syntactic constraints, it will make mistakes. Design tool inputs and outputs to be cheap for the model to produce correctly.
4. Apply poka-yoke (mistake-proofing) to tool arguments
Borrowed from Toyota’s lean manufacturing: design the tool so it is physically hard to use incorrectly.
The Anthropic SWE-bench example: agents kept making mistakes with relative paths after cd-ing to a different directory. Their fix was small but pivotal — require absolute paths. The model could no longer get this wrong because the tool no longer accepted relative paths. The mistake category was eliminated, not flagged.
Other poka-yoke patterns:
- Required parameters instead of optional ones with defaults that could be wrong
- Enumerations instead of free-text where the valid set is small
- Validation that rejects malformed inputs with a clear error before any side effect
- Distinct tools for distinct intents, rather than one tool with a
modeparameter
5. Treat tool documentation as a docstring for a junior dev
Put yourself in the model’s shoes. Is it obvious how to use this tool, based on the description and parameters?
The heuristic: write the tool’s description the way you would write a docstring for a smart junior developer who is using your codebase for the first time. They are capable; they are not psychic. They need:
- What the tool does in one sentence
- When to use it (and when not to)
- What each parameter means and what valid values look like
- An example invocation
- Edge cases and constraints
- The boundary with similar-looking tools
A tool with a vague one-line description (“Calculator tool”) will be misused. A tool with a precise description and an example will be used correctly far more often.
6. Iterate against real model behaviour
You cannot predict how the model will read your tool description. Run real examples. Watch failure modes. Then revise the description, the parameter shapes, and the boundaries until the failures stop. Anthropic recommends:
- Test extensively in a workbench-style environment
- Track which tools the model picks up correctly and which it misuses
- Treat tool descriptions like prompt engineering: never “done”, always tunable
This is why the SWE-bench team’s iteration count on tool definitions was so high. ACI is not a write-and-forget interface.
Letting Agents Improve Their Own Tool Descriptions
Anthropic’s multi-agent research system post (June 2025) reports a striking extension of this idea. They built a tool-testing agent that, given a flawed MCP tool, repeatedly attempts to use it and then rewrites the tool description to avoid the failures it observed. After dozens of iterations, the rewritten descriptions produced a 40% decrease in task completion time for future agents using those tools.
Two implications worth taking seriously:
- Tool descriptions are not artifacts you write once. They are an interface you tune, and the model can do meaningful tuning if you give it a feedback signal.
- Failure-mode analysis is a skill the model has. Given a prompt and a description of how it failed, Claude 4 models can diagnose the failure and propose improvements. This generalizes beyond tools to any prompt-engineering loop.
If you find yourself iterating manually on a tool description, consider whether a tool-testing agent could do it faster. See Multi-Agent Research System - Production Lessons for the full context.
When ACI Matters Most
The investment in ACI scales with:
- Number of tools — more tools, more confusion, more documentation pressure
- Tool overlap — when two tools could plausibly fit a task, the descriptions must disambiguate
- Cost of mistakes — agents that touch shared state or external systems need stronger poka-yoke
- Length of agent loops — longer loops compound small misuses into large errors
For a single-tool prototype, the basics in Agent Tools - Design Principles are enough. For anything serving real users, ACI design is where weeks of work pay back over months of operation.
Why This is “the New HCI”
Anthropic’s framing makes the analogy explicit: software-engineering effort historically went into the human-computer interface. Now a parallel investment is needed for the agent-computer interface, because agents are increasingly the consumers of software, not just the producers of it.
A practical consequence: if your CLI is hard for an agent to use, that’s a bug, not the agent’s problem. See CLI Design for AI Agents for the seven-principle rubric on this.
The Three Principles This Sits Inside
ACI is one of the three principles Anthropic proposes for successful agents. The full set:
- Maintain simplicity in agent design
- Prioritise transparency by explicitly showing planning steps
- Carefully craft the ACI through thorough tool documentation and testing
ACI is the engineering principle. Simplicity and transparency are the design ones.
Connected Pages
- Agent Tools - Design Principles — the basics: one tool one job, clear descriptions, the do-I-need-a-tool test
- CLI Design for AI Agents — the seven-principle rubric for agent-friendly CLIs (closely related to ACI for the CLI surface)
- CLI Tools Pattern — Bash/CLI scripts as a lightweight agent tool interface
- Writing Conflict-Free Instructions — how the LLM resolves contradictions in its context (relevant to tool descriptions that overlap)
- Five Workflow Patterns for AI Agents — workflow patterns from the same source
- AI Agents - How They Work — the augmented LLM and the agentic loop
- Building Effective Agents — source
Source
The ACI concept is named and developed in Anthropic’s Building Effective Agents (Erik Schluntz & Barry Zhang, December 2024).