How Clay Builds GTM Agents - Jeff Barg, Head of AI

Latent Space

Clay's Jeff Barg: nearly half of agent work now runs through Claude Code, not Clay's own agent

Clay's Head of AI told Latent Space the company is rebuilding its agent around a coding harness, will ship a model router, and is happy for customers to drive Clay from outside tools. Lead-qualification evals, he said, have been saturated for about a year.

Jeff Barg, Head of AI at Clay, joined the Latent Space hosts for a 72-minute interview on how the go-to-market platform builds agents. Clay started as a spreadsheet tool for building lists of companies and contacts. Its agents now build whole workflows, and Barg said usage inside outside tools such as Claude Code is "much closer to 50/50" than he expected. His case for still building a first-party agent: customers working in the Clay interface want one there.

From spreadsheet cells to Sculptor and a coding agent

Clay's first agent product, Claygent, arrived in late 2023. It searches the web, pulls structured data and fills a cell, for example the CEO of a company. Sculptor, launched in September last year, sat one level up: it built the table and workflow structure while Claygent filled in the cells. Barg said it handled requests like "add this column" well but not goals like building an outbound campaign that books ten meetings. It lacked context such as CRM data and campaign results.

Clay has since rebuilt the agent as a proper coding agent. It uses the Clay command-line tool in a cloud sandbox and is built on the open-source Pi harness. Clay also added a data context layer that merges CRM and call data into one record of customers and contacts. The rebuilt agent is live in limited form and, Barg said, will launch broadly soon.

Video interview frame of the host and guest in conversation about Clay's agent architecture.
Discussion of Sculptor's early limits and the rebuild of Clay's agent around a coding harness and data context layer.

Meeting customers in Claude Code

Barg said Clay explicitly does not want its agent to be markedly better than using Clay with Claude Code. The goal is for Clay to be agentic go-to-market infrastructure that works with any agent. The CLI itself came from Clay's own sales and go-to-market teams, who did not want to leave their coding tools. The company also keeps an MCP server, though that team shifted focus to the CLI.

Model routing, open models and saturated evals

Qualification tasks, such as finding a company's latest funding round, are solved by any model released in the past year, Barg said. Frontier models still matter for deep research and for agents that build full plays, where the gap between average and best output can be huge. Clay will launch a model router soon. Users, he said, dislike the model selector, but it will stay for agency owners who want control.

On cost, he said post-training or smaller open-weight models only make sense once inference spend is somewhere between 10 and 100 million dollars. Clay is starting to explore it. He also sketched a thought experiment with a cheap classifier: scoring Clay's 40 million companies against a customer profile would cost roughly 1,500 dollars.

Video interview frame of the guest explaining model choice and routing for Clay's agents.
Talk of saturated qualification evals, where frontier models matter, and Clay's planned model router.

Scaling, evals and lessons

Clay's inference load is spiky, since one table can trigger agent runs for 50,000 companies. Much of the work went into throttling, pausing and resuming, and fairness so a large enterprise run does not crowd out small users. Background jobs mostly run on BullMQ, and Barg is unsure it survives another 10x.

Evals check whether the agent built the requested workflow with the right properties. He wants to measure downstream results like replies, though outcomes depend on the customer's own skill. He said agents are still poor at diagnosing their own traces, so Clay still hand-writes many skills.

He also recounted how Clay put about a quarter of its engineers on a launch for ChatGPT apps for a month, only to be told two days before launch it was postponed, then reversed days later.

Video interview frame of the hosts and guest discussing Clay's agent strategy and the CLI.
Discussion of whether Clay should build its own agent when customers use Claude Code and the CLI.

Questions and answers

What did Clay's Jeff Barg say about Claude Code in the Latent Space interview?

Jeff Barg, Head of AI at Clay, said nearly half of agent work on Clay now runs through outside tools such as Claude Code rather than Clay's own agent. He described usage as "much closer to 50/50" than he expected, and said Clay is happy for customers to drive it from those tools.

How is Clay rebuilding its AI agent in 2025?

Clay is rebuilding its agent as a proper coding agent. It uses the Clay command-line tool in a cloud sandbox and is built on the open-source Pi harness. Clay also added a data context layer merging CRM and call data. The rebuilt agent is live in limited form and will launch broadly soon.

Why does Clay still build its own agent if customers use Claude Code?

Jeff Barg, Head of AI at Clay, said customers working in the Clay interface want an agent there. Clay does not want its agent to be markedly better than using Clay with Claude Code. The goal is for Clay to be agentic go-to-market infrastructure that works with any agent.

Is Clay launching a model router?

Yes, Clay will launch a model router soon. Jeff Barg said users dislike the model selector, but it will stay for agency owners who want control. Frontier models still matter for deep research and for agents that build full plays, where the gap between average and best output can be huge.

When do smaller open-weight models make sense for a company like Clay?

Jeff Barg, Head of AI at Clay, said post-training or smaller open-weight models only make sense once inference spend is between 10 and 100 million dollars. Clay is starting to explore it. He sketched a cheap classifier scoring Clay's 40 million companies against a customer profile for roughly 1,500 dollars.

Are AI lead-qualification tasks still hard for models, according to Clay?

No. Jeff Barg, Head of AI at Clay, said lead-qualification evals have been saturated for about a year. Qualification tasks, such as finding a company's latest funding round, are solved by any model released in the past year, so frontier models matter mainly for harder work like deep research.

From the YouTube description

Almost half the agent work on Clay now happens in tools like Claude Code, not their own agent.

Swyx and I sat down with Jeff Barg (Head of AI at Clay) to talk about what that means for a SaaS company. Clay went from agents filling out spreadsheet cells to a coding agent that builds entire GTM workflows, which raises the question: if customers are happy driving Clay from Claude Code, why build your own agent at all? His answer is that they want to meet their customers where they are.

A few things surprised us during this conversation. Clay's lead-qualification evals have been saturated for about a year, so frontier models now only matter higher up the stack. Jeff ran the math on scoring all 40M companies in their dataset for customer fit, and it comes out to about $1,500 total. They don’t want their own agent to be markedly better than Clay + Claude Code, and usage is already close to 50/50 between Clay's agent and outside harnesses. And OpenAI pulled their ChatGPT Apps launch two days out, after they put 25% of the engineering team on it for a month, then changed their minds a few days later.

We also got into when post-training actually makes sense (Jeff's bar: $10-100M in inference spend), why Clay's agent infra is hand-rolled on BullMQ, and why agents still can't debug their own traces.

Clay: https://www.clay.com

Follow us on X (formerly Twitter): http://www.x.com/realbasilchatha , http://www.x.com/swyx , http://www.x.com/latentspacepod

Sponsorship and business inquiries: business@latent.space

Timestamps
0:00 Intro
0:55 Meet Jeff Barg, Head of AI at Clay
3:27 What a GTM engineer actually is
8:21 Selling Avenue to Clay at 5 people
16:10 An AI-forward company with zero people on AI
18:45 Claygents vs. Sculptor
24:49 Why Clay rebuilt its agent around a coding agent
27:48 When post-training and open-weight models pay off
30:35 Qualifying every company in the world for $1,500
32:40 Where you still need frontier intelligence
34:16 Why users hate the model selector
37:09 How Clay evals its agent
42:15 No Temporal, no LangGraph: Clay's hand-rolled stack
45:44 What broke when agents scaled
48:26 Why Clay's agent shouldn't beat Clay + Claude Code
54:26 OpenAI cancelled Clay's launch two days out
1:00:11 Workflows: from user backlash to agent-built
1:09:59 Why agents still can't debug their own traces

Watch on YouTube

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.