5 Rules for Building AI Agents That Work in Production | Nan Yu & Jacob Shumway
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.
The gist
-
Let the model load context dynamically rather than pre-populating prompts, so you avoid bloat and hallucination.
-
Break agent capabilities into discrete skills that load based on user intent, keeping instructions focused and manageable.
-
Use an LLM as a judge to evaluate subjective outputs, but validate it manually and keep its use targeted.
-
Place agent entry points in Slack, email, and meeting notes rather than locking everything behind an in-app chat interface.
"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?"
▶ Play at 21:2015 creators recommend it, including Peter Yang, Adam Ward, and Daniel Blum.
See all on the Granola page"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."
▶ Play at 18:39"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."
▶ Play at 8:0156 creators recommend it, including Riley Brown, Jason Calacanis, and Guillermo Rauch.
See all on the Slack pageWhat they recommend · 3 picks
“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.”
“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.”
“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
2 picks · guest
“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.”
“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?”
Jacob Shumway
1 pick · guest
“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.”
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
Ads in this episode
Oceans. They're paid, so we keep them out of the picks above.
See what Peter recommends without being paid →Related episodes
Episodes covering similar topics