5 Rules for Building AI Agents That Work in Production | Nan Yu & Jacob Shumway

Peter Yang · · 38 min

Nan Yu and Jacob Shumway from Linear explain how they built a production-ready AI agent, covering architecture choices and go-to-market lessons from their own Linear Agent.

Watch the episode 38 min · YouTube

The gist

  1. Let the model load context dynamically rather than pre-populating prompts, so you avoid bloat and hallucination.
  2. Break agent capabilities into discrete skills that load based on user intent, keeping instructions focused and manageable.

What they recommend · 3 picks

Slack Productivity

“We already had a Slack integration, and in Slack you could always mention bots. We just silently hooked it up — if anyone discovers it by mentioning Linear in Slack, they can start talking with it.”

Nan Yu ·56 creators recommend it·Nan's productivity →
LLM as a Judge AI tools

“It's LLM as a judge. We build out this dataset over time, then we just have a scoring type of LLM that's like: did this extract the right information? This is what it should be, pretty much.”

Granola AI tools

“Because I have the Granola MCP connected to my Linear agent, I can just be like, hey, that last interview I just had, could you quickly give me a score on how we go against this rubric?”

Nan Yu ·15 creators recommend it·Nan's AI tools →

Get a Sunday email on what Peter and 5 other AI builders start using

Free. Paid ads left out. Unsubscribe in one click.

Also mentioned

13:07 Linear · "Linear made the issue, took 6 minutes, and then it gave us a PR that we can click through. So this was the..."
27:18 Cursor · "Before Linear Agent came out, Linear was a platform where you could tag Cursor agent and some other agents..."
36:35 Zendesk · "A lot of customer support agents will use Linear by escalating things out of Zendesk or Intercom, and..."
36:35 Intercom · "Customer support agents will use Linear by escalating things out of Zendesk or Intercom. There are controls..."

Ads in this episode

Oceans. They're paid, so we keep them out of the picks above.

See what Peter recommends without being paid →

What do Peter and experts like them all swear by?

47 things in common

See