Louis-François explains how cost, latency, quality, and privacy shape AI engineering choices. He distinguishes fixed workflows from agents that plan, choose actions, and respond to what happens. For a client support system with six steps always performed in the same order, he says a workflow is a better fit than an agent.
Build Your Own Deep Research Agents
Speakers
Louis-François Bouchard, CTO and co-founder of Towards AI, presents an AI engineering workshop with machine learning engineer Samridhi and software engineer and educator Paul Iusztin on building a research agent and a controlled writing workflow.
Samridhi walks through a deep research agent built with an MCP server and FastMCP, using Claude Code as the harness and Gemini for web research and YouTube video analysis. Its tools save results in a `.memory` folder and compile them into a cited `research.md` report. She also shows how a shareable skill can hold workflow instructions and load them progressively.
Louis-François and Paul describe a writing workflow that combines research with a user guideline, writing profiles, and a small set of example posts. A writer drafts the post, then a reviewer checks it against the research and style rules; the editor applies feedback over a fixed three or four rounds. Paul says keeping each version lets people choose when a review makes a subjective edit they dislike.
Louis-François and Paul show how Opik captures workflow threads, traces, tool and model calls, latency, and cost. Paul builds an evaluator from labeled examples of real posts, then checks its pass or fail judgments against development and test splits using F1. In their small demo, five samples per split produced perfect scores, but the judge still missed failures on simulated production traces, showing the need to expand and refine the dataset.
Takeaways
- Use a fixed workflow when the steps and their order are predictable; reserve agents for tasks that need dynamic decisions.
- Separate exploratory research from constrained writing when each needs a different level of flexibility.
- Give writing systems explicit guidelines, style profiles, and a few representative examples to shape their output.
- Keep intermediate files and versions so you can inspect results and recover edits you prefer.
- Build an evaluation dataset from real system outputs, compare development and test results, and add examples when production traces expose failures.
Mentioned in this talk
Search inside this talk
What was claimed 12
- foundedLouis-François Bouchard founded
Towards AIco-founder and CTO“I'm Louis-François Bouchard, co-founder and CTO of Towards AI”
2:06inTurn 10,994 Notes Into MemoryYouTube Verified7 sources· Talk, Web· archived
- works atSamridhi Vaid works at
Towards AIEngineer, consultant and technical writer“I'm a machine learning engineer, technical writer, and consultant helping Towards AI grow.”
YouTube Verified2 sources· Talk, Web· archived
- built
“We built a system to replace the process of doing thorough research and then technical writing.”
YouTube Unverified1 source· Talk
- featurePaul Iusztin: Author of the bestselling LM Engineer's Handbook
“I'm also the author of the bestselling LM Engineer's Handbook.”
YouTube Unverified1 source· Talk
- feature
Deep Research agent: Searches the web, analyzes YouTube videos, and produces cited reports“It can search any topic on the web, analyze YouTube videos, and finally give you a cited report.”
YouTube Unverified1 source· Talk
- uses
Deep Research agent uses MCP“We've built it using MCP.”
YouTube Unverified1 source· Talk
- uses
“We're using Claude Code as our agent harness.”
YouTube Unverified1 source· Talk
- uses
“We've used FastMCP.”
YouTube Unverified1 source· Talk












