OpenRouter's agent-building skills generate an application around an SDK that handles repeated model calls and tool execution. One consequential detail concerns recovery from temporary errors: the generated headless agentAn agent running with no one watching — in CI, on a schedule, or triggered by an event — with its output reviewed after the fact.Full definition → retries only before any tool calls have executed. Once tools have run, it stops instead of replaying the interaction from the beginning. That BoundaryA point in a program where one part finishes its job and hands its result to another.Full definition → is intended to prevent an automatic retry from repeating effects such as a file write or Terminal and shellA text interface for navigating files and running programs.Full definition → operation. Developers receive a starting application whose retry behavior accounts for the agent's actions. Harness tutorial
Terms in this piece · Glossary
headless agent — An agent running with no one watching — in CI, on a schedule, or triggered by an event — with its output reviewed after the fact.
Boundary — A point in a program where one part finishes its job and hands its result to another.
Terminal and shell — A text interface for navigating files and running programs.
Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.