

How We Built a Code Search Harness That Catches What Grep Misses
Your coding agent says it searched the codebase. Did it find the right code?
We graded 251 of our own agent's searches by hand. 1 in 3 never returned the right code.
When a search misses, the agent doesn't stop. It reads the wrong files and edits around them, and the work gets redone later. This workshop is about what closes that gap.
Shawkat Kabbara is founder and CEO of Papr, where teams build small software that runs their work, on a company brain they own that works with any model. Before Papr, he built Apple's on-device AI action layer, shipped to more than 1 billion devices.
Shawkat starts with how to measure your own agent's search quality: log the searches, grade them by hand, then connect the misses to rework. Then he gets technical on the harness his team built, which adds a code graph, code embeddings and ranking on top of grep and returns line-range pointers instead of more tokens. The session ends live in Papr Work, where an agent builds a working GTM tool (find lookalike accounts, enrich contacts, draft outreach) with the open-source harness running instead of grep. Shawkat is also offering a free copy of that app and a Papr Work trial.
You'll walk away with:
How to measure your own agent's search quality: log the searches, grade them by hand, and connect misses to rework
Why replacing grep with embeddings fails, and why adding to grep works
How a code graph, code embeddings and ranking combine to return line-range pointers instead of more tokens
A working GTM app you can copy into Papr Work and customize
Come if you are:
An engineer building or running coding agents
On a team measuring agent quality or building code retrieval
A founder or PM wondering why agent work keeps getting redone
Anyone who wants a working GTM tool without starting from scratch
Want the backstory? Watch Papr founder and CEO Shawkat Kabbara on the TwoSetAI podcast.
Format: 60 minutes, live on YouTube. ~40 min technical deep-dive, ~15 min live Q&A.
About the series
Part of the TwoSetAI Workshop series.
More sessions:
July 17: Why multi-agent systems fail
July 31: Inside AgensFlow
August 14: Token Budgets for Coding Agents
August 28: Self-Improving Agent Loops
September 18: Building A Personal Agent That Actually Works and Sounds Like You
September 25: Behind Navigator n2: The Recursive Training Loop That Made a 27B Model Beat GPT-5.6 and Claude
October 2: How Enterprises Are Actually Adopting AI: From the Boardroom to Bare Metal
October 16: One Person, Many Voices: How to Build Agents That Sound Like a Real Person
October 30: First-Time Founders, Are You Raising? Set a Valuation Cap You Can Actually Defend
November 13: How Many AI Agents Are Running in Your Company?
December 4: Anyone Can Build. Not Everyone Gets Heard.
December 11: Your AI Agent Is Probabilistic. Its Decisions Don't Have to Be.
Date to be announced: How We Built a Code Search Harness That Catches What Grep Misses (Shawkat Kabbara, Papr)
See all upcoming sessions: https://twosetai.com/lab/workshops/
About the instructor
Shawkat is founder and CEO of Papr, where teams build small software that runs their work, on a company brain they own that works with any model. Before Papr, he built Apple's on-device AI action layer, shipped to more than 1 billion devices. Papr's graph-native retrieval models rank #1 on Stanford's STaRK benchmark, and Papr is a Techstars NYC '26 company.
About the host
Angelina Yang runs TwoSetAI and hosts TwoSetAI and Decoding AI Builders, long-form interview platforms where she's interviewed 100+ AI founders shaping this era. fast.ai fellow. 2024 Anthropic Build Tournament winner. Curates the workshop series and connects the speakers with builders who care.
About Papr
Papr builds Papr Work, where teams build small software that runs their work, on a company brain they own that works with any model. Its graph-native retrieval models rank #1 on Stanford's STaRK benchmark, its code retrieval embedding models and harness are open source, and Papr is a Techstars NYC '26 company.
Hosted by TwoSetAI.
Past events replay
November 13: How Many AI Agents Are Running in Your Company?
October 30: First-Time Founders, Are You Raising? Set a Valuation Cap You Can Actually Defend
October 16: One Person, Many Voices: How to Build Agents That Sound Like a Real Person
October 2: How Enterprises Are Actually Adopting AI: From the Boardroom to Bare Metal
September 25: Behind Navigator n2: The Recursive Training Loop That Made a 27B Model Beat GPT-5.6 and Claude
September 18: Building A Personal Agent That Actually Works and Sounds Like You
August 28: Self-Improving Agent Loops
August 14: Token Budgets for Coding Agents
All past workshops: https://twosetai.com/lab/workshops/