Agents hate friction: early thoughts on building for agents
Tools designed with good human developer experience (CLIs, SDKs) work with agents but often only adequately, because agents use them differently and abandon products when they hit friction. In ClickHouse's testing with model/harness combinations given varying context, agents have given up after around 30 failed attempts and switched to another database. The author proposes dimensions for measuring agent experience: steps to completion, error messages that enable self-correction, run-to-run consistency, context and token efficiency, and reusing familiar CLI patterns like gh or kubectl. Adding actionable hints to errors is called the lowest-hanging fruit, with the caveat that these lessons may shift as models improve.
Related posts
- Agent experience and agent-led growth: a chat with Caelean Barnes
Mux easyNovice
Coding agents like Claude Code and Codex increasingly choose which developer tools get adopted, and Gauge measures that choice by running agents in sandboxes, checkpointing sessions, and testing variants of prompts, docs, skills and CLIs against success criteria over many trials. Technical documentation, especially framework-specific setup guides that match the agent's codebase, drives tool selection more than marketing content. Small wording changes have large effects: turning Clerk's "claim your key" prompt into an error roughly tripled CLI account creation, and rephrasing a skill-install suggestion as "verify you have the skill installed" stopped agents from treating it as prompt injection. Detailed, actionable error messages and CLIs with well-defined commands tend to work better for agents than static skill files, which are hard to update.
- Designing the hf CLI as an agent-optimized way to work with the Hub
Hugging Face mediumAdeptHugging Face rebuilt its hf CLI to serve both humans and coding agents. It detects agents via environment variables like CLAUDECODE and CODEX_SANDBOX and switches to untruncated, ANSI-free TSV output, sends hints and errors to stderr, fails fast instead of prompting, and supports idempotent retries, --dry-run and consistent resource+verb commands. In a benchmark of ~1,000 graded runs across 18 Hub tasks on Claude Code (Sonnet 4.6) and Codex (GPT-5.5), agents hand-rolling curl or the Python SDK used 1.3-1.8× more tokens overall, and up to 6× on multi-step tasks. On Sonnet they also succeeded less often (84% vs 94%) and falsely reported success more often. A generated skill file covering the full command surface adds a further small reduction in tool calls.
- Context Engineering Is Just Writing Things Down
Fly.io mediumAdeptAgent output quality depends more on project and environment context than on model capability, and that context can be built from plain files on disk. OpenClaw's memory design (append-only daily logs, a curated MEMORY.md, hybrid BM25/vector recall weighted 70/30 with diversity re-ranking on SQLite) illustrates the idea. In a Fly.io Sprite, four mechanisms supply that context: CLAUDE.md for conventions, Skills for repeatable workflows like a preflight check, hooks that inject live service and git state, and checkpoints that persist the whole environment. A sample Bun + Hono + Postgres project shows Claude fixing a bug while following the test, logging and error conventions without being told.
- Agent-driven development in Copilot Applied Science
GitHub Engineering mediumAdeptA Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents. Three principles made this work: conversational, verbose prompting in plan mode; continuous refactoring, documentation and dead-code cleanup so the repo is easy for agents to navigate; and a "blame process, not agents" approach backed by strict typing, linters, and human-only contract tests that prevent agents from rewriting regression tests. With this setup five contributors added 11 agents and four skills in under three days, using a loop of /plan, /autopilot, automated Copilot Code Review iterations, and human review, plus weekly agent-run audits for missing tests, duplication and doc gaps.
- Agents need good developer experience too
Modal easyNovice
Developer experience principles that make humans productive also help coding agents, because both depend on tight write-run-observe feedback loops. Modal's framework covers programmatic access through a CLI, SDK and API instead of UI-only features, actionable error messages that act as high-signal context for limited context windows, and consistent runnable examples with explanations next to the code. It also argues for defining infrastructure in Python alongside application logic rather than in YAML, and for concise, intuitive naming, such as renaming `concurrency_limit` to `max_containers`.