Read the original at linear.app ↗linear.app
By Linear · linear.app
Linear's engineering team shares practical lessons from building AI agent automations to auto-fix bugs in their codebase. Rather than agents replacing engineers, they've discovered that AI excels in well-scoped, repetitive tasks when given proper context, clear instructions, and guardrails. The key insight is that agent capability isn't fixed—it depends on how you structure the problem, encode conventions, and design workflows to keep context visible and multiplayer.
01Key takeaways
- Agent capability isn't fixed; it depends on task scope, context, and how you structure the problem for the agent to solve.
- Narrow the ask and provide the right instructions and tools—one-shot fixes fail when context is insufficient.
- Add gates requiring agents to prove understanding before attempting fixes, reducing wasted tokens and poor pull requests.
- Encode team conventions in code (naming, patterns, comments) so agents can pick up rules they can't infer alone.
- Keep agent sessions visible and multiplayer by default so any team member can follow, guide, or review work.
- Task-splitting—breaking ambiguous work into small pieces—lets you delegate well-defined tasks while keeping complex parts yourself.
02Key sections
- The Reality of AI Capability
- Initial skepticism about AI fades when working hands-on with the technology. Capability varies enormously based on team workflows and codebase structure, requiring experimentation to find the edges of what agents can own end-to-end.
- Auto-Fix Workflow: Dead Feature Flags
- Agents excel at fixing dead feature flags because the task is well-scoped and consistent. A Datadog monitor detects flags that always return the same result, files an issue, and the agent runs a cleanup skill with near-perfect accuracy on first pass.
- Auto-Fix Workflow: Failing Background Tasks
- Fixing background task failures is messier because failures vary widely. The agent succeeds about one-third of the time; adding gates that require the agent to prove understanding before attempting fixes reduces wasted tokens and poor PRs.
- Breadcrumbs and Context Design
- Agent success depends on the context you provide: standardized skills and automations in Linear, plus encoded conventions in the codebase (naming, patterns, comments). Clear breadcrumbs guide the agent to infer rules it can't discover alone.
- Multiplayer Workflows Over Editor-Led
- Linear Agent keeps the entire session (report, investigation, failures, PR) in one place, enabling team visibility and collaboration. This differs from editor-centric coding agents and supports task delegation and parallel work.
- Task-Splitting as a Collaboration Pattern
- Breaking ambiguous work into small, well-defined pieces lets engineers hand off structured tasks to the agent while keeping complex parts. The agent pings back for guidance or review, enabling parallel progress.
“Getting the agent to do things well comes down to the breadcrumbs you leave behind for it to follow.”Linear · linear.app
“Agents are just a new tool, and the job is learning to wield it.”Linear · linear.app
03Frameworks mentioned
Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.