WhoBuilt

5 Rules for Building AI Agents That Work in Production

Aug 9, 2026· 38 min· 6.7K views·Watch on YouTube

Speakers

Linear’s Nan Yu and Jacob Shumway explain to Peter Yang how they built and refined Linear Agent for production, with examples from its use in Slack and Linear.

How Linear Agent works

Jacob describes an agent as an LLM running in a loop, using tools to gather context until it reaches a goal. Nan adds that a product agent includes the surrounding systems and the ways people interact with it, not just the model loop.

Start with real workflows and iterate

Nan says Linear’s early idea was to take repetitive program management work off people’s hands. The team began with a rough internal prototype and a simple use case: turn sales call notes into issues. After a quiet Slack launch, users began asking it to interpret conversations and decide what to do.

Load skills and context when needed

Giving the agent every Linear action and its GraphQL schema led to context problems and hallucinations. The team moved to dynamically loaded skills, which provide relevant tools and guidance for tasks such as writing issues. Nan recommends giving agents tools to find context and keeping instructions minimal.

Evaluate the important paths

The team starts with a strong model, builds evaluation examples from unexpected user behavior, then considers smaller models once success criteria are clear. They combine deterministic checks, such as setting the requested status, with LLM judgments for more subjective quality. Nan says their priority is making the core workflows they promote reliable while accepting variation elsewhere.

Meet users where work happens

Nan advises mapping the full, multistep workflow and finding natural entry points, such as Slack discussions, meeting debriefs, and project updates. Chat supports follow-up, but it is only one way into the agent. The team’s next focus is proactivity and longer-running memory so projects can keep moving and documents stay current.

Takeaways

  • Map the user’s complete workflow before choosing where an agent should appear.
  • Load task-specific skills and context on demand instead of stuffing everything into the prompt.
  • Turn surprising user behavior into evaluation examples, while distinguishing objective checks from subjective judgment.
  • Make the core workflows you promise dependable before optimizing for every possible request.
  • Use chat for follow-up, and place entry points in the tools and moments where work already happens.

Mentioned in this talk

Search inside this talk

What was claimed 9

  • feature
    Linear Agent: Runs an LLM in a tool-using loop to gather context and accomplish multi-step tasks.
    “an agent is really just calling an LLM in a loop”
    YouTube
    Unverified1 source· Talk
  • built
    “the Linear agent”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Linear Agent integrates with Slack
    “we already had a Slack integration”
    YouTube
    Unverified1 source· Talk
  • feature
    Linear Agent: Loads relevant skills, tools, and instructions dynamically based on the request.
    “it loads the skills it needs, along with a set of tools and instructions”
    YouTube
    Unverified1 source· Talk
  • feature
    Linear Agent: Can turn Slack conversations and other workspace context into an issue and work toward a pull request.
    “Linear made the issue, assigned it to Jacob, and delegated the work to itself”
    YouTube
    Unverified1 source· Talk
  • metric
    Linear Agent: A small router handled 80% of early use cases by routing them to a specialized issue-creation prompt.
    “for 80% of these use cases, it routed to a specific sub-prompt”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Linear Agent integrates with Granola
    through MCP
    “I have the Granola MCP connected to my Linear agent”
    YouTube
    Unverified1 source· Talk
  • feature
    Linear Agent: Collects reports about unsupported functionality and routes them into existing or new issues.
    “we automatically ingest that and check whether there's already an issue for it”
    YouTube
    Unverified1 source· Talk
Show all 9 facts

Related talks