
AI and the Stack
- 12AI Agents and LLMs in Go-To-Market
- 13The Context Layer: Building the Company Brain
- 14Tooling, Reliability, and Build vs. Buy
Chapter 12
AI Agents and LLMs in Go-To-Market
Last updated
In this chapter
- Where LLMs add real value in GTM, and where they do not
- A spectrum from single prompts to autonomous agents
- Patterns: classify, extract, research, summarize, draft, decide
- Prompt design and structured output for production
- Evaluation: how to know whether your AI step works
- Tools, MCP, and agents that act on GTM systems
- Cost, latency, and model selection
- Guardrails, human-in-the-loop design, and brand safety
- Newer surfaces: voice agents, seller assistants, and agent-to-agent buying
12.1What changed, and what did not
Large language models changed GTM engineering more than any other development since the role emerged. Before LLMs, automation could act only on structured data. With LLMs, a system can read a company website, a job posting, a call transcript, a support thread, or an email reply, and produce structured judgments and useful text. A large share of the manual "machine work" that sellers and operations staff once did (research, classification, summarization, first drafts, data entry from conversations) became automatable.
By 2026, AI fluency was a standard expectation. The GTME Data Report found that 35% of postings named Claude, while only 6% of profiles did, and Timeplot found 64% of GTM engineer postings mentioned AI tools or LLMs, against 27% for operations roles. Postings asking for LLM or agent skills carried a higher median pay midpoint in the GTME Data Report ($161,000 median midpoint versus $150,000).
What did not change is that GTM is about people deciding to buy from other people and companies they trust. AI makes it cheaper to produce research and messages; it does not make a bad offer good, a wrong target right, or an irrelevant message relevant. And because AI output can be wrong in fluent, confident ways, it introduces new failure modes that GTM engineers must design against.
12.2The autonomy spectrum
It helps to think of AI in GTM along a spectrum of autonomy:
| Level | Description | Example | Risk |
|---|---|---|---|
| 1. Single call | One prompt, structured output, no tools | Classify a company's business model from website text | Low |
| 2. Chain | Fixed sequence of prompts and tools | Fetch site, extract facts, classify fit, write brief | Low to moderate |
| 3. Tool-using agent, read-only | Model decides which sources to search and when to stop | Research agent that browses news, careers page, filings | Moderate (cost, accuracy) |
| 4. Agent with reversible writes | Agent proposes or makes changes that are easy to undo | Drafts emails into a review queue; suggests CRM updates | Moderate |
| 5. Agent with consequential actions | Agent sends messages, changes ownership, updates stages | Autonomous outreach and reply handling | High |
Most production value today comes from levels 1 through 4. Level 5 is possible and sometimes appropriate (for instance, automatically pausing a sequence on an out-of-office reply), but every step up the spectrum should be earned by evidence that the lower level works reliably.
Clay's own descriptions of its internal use are illustrative. Its growth team has described agents for deal postmortems, account health scores, and personalized research for tier-one account-based campaigns, and a GTM engineer who used four research agents to cut account research from 85 minutes to five. These are mostly research and synthesis tasks with humans acting on the output.
12.3Core patterns
Nearly every LLM use in GTM is one of six patterns.
Classify. Assign a label from a fixed set: ICP fit (yes, no, uncertain), business model, industry in your own taxonomy, reply intent, lead quality, persona from a job title. Classification is the highest-value, lowest-risk pattern.
Extract. Pull structured facts from unstructured text: integrations listed on a website, technologies mentioned in a job posting, pain points and next steps from a call transcript, competitor mentions in a support ticket.
Research. Gather and synthesize information across sources to answer a question: "What has changed at this company in the last 90 days that is relevant to our product?" Research can be a fixed chain or an agent.
Summarize. Compress: account briefs for reps before calls, deal summaries for managers, weekly digests of signals, call summaries written to the CRM.
Draft. Write: outbound emails, follow-ups, call prep notes, LinkedIn messages, internal handoff notes, proposals. Drafting is where brand risk concentrates.
Decide. Choose an action: route this lead, prioritize these accounts, choose the next best action for this deal. Decisions should usually be framed as recommendations with reasons, with deterministic rules or humans making the final call for consequential cases.
12.4Prompt design for production
Prompts for production GTM systems differ from prompts written in a chat window. They must work across thousands of inputs, fail gracefully, and produce outputs that downstream systems can parse.
Principles
- Ground the model in provided inputs. Give it the website text, the transcript, the research JSON. Instruct it to use only those inputs for factual claims. Models' built-in knowledge about specific companies is often outdated or wrong.
- Constrain the output format. Request JSON matching a schema. Many model APIs support structured output modes that enforce a schema; use them where available.
- Enumerate allowed values. For classification, list the labels and define each.
- Provide an escape hatch. "Uncertain," "insufficient information," or "SKIP" options prevent forced guesses.
- Ask for evidence. Quotes or source references make outputs auditable and reduce fabrication.
- Include examples. A few input/output examples (few-shot prompting) improve consistency, especially for edge cases.
- Separate reasoning from output when useful. Asking for a brief rationale before the label can improve accuracy on harder judgments; keep the rationale in a separate field so downstream systems can ignore it.
- Version prompts. Store them in version control with a changelog (Chapter 2).
Example: reply classification
SYSTEM: You classify replies to B2B sales emails.
LABELS:
- interested: wants to learn more, asks a question about the product, agrees to talk
- later: indicates interest but not now; may give a timeframe
- referral: says someone else is the right person; may name them
- not_interested: declines without hostility
- unsubscribe: asks to stop receiving emails, in any wording
- out_of_office: automatic away message
- hostile: angry, threatens to report, uses abusive language
- other: anything else
RULES:
- If the reply contains any request to stop emailing, label "unsubscribe" even if
other content is present.
- Extract a return date for out_of_office if present (YYYY-MM-DD).
- Extract a referred person's name and email for referral if present.
- Extract a timeframe for later if present.
INPUT REPLY:
"""
{reply_text}
"""
OUTPUT JSON:
{"label": "...", "return_date": null, "referral_name": null,
"referral_email": null, "timeframe": null, "evidence": "..."}
Note the rule that any opt-out language wins. This encodes a legal and ethical priority into the system: when in doubt, treat it as an opt-out.
12.5Evaluation
The single most important habit in AI-powered GTM engineering is evaluating AI steps before trusting them. A prompt that looks good on five examples may fail on 15% of real inputs in ways that matter.
Build an evaluation set
For each AI step, assemble a labeled set of real inputs: 50 to 200 examples is often enough to start, chosen to include common cases and known edge cases. Label them by hand (or have the people who will use the output label them). For classification and extraction, the label is the correct answer. For drafting, the "label" is a rubric.
Measure
For classification: accuracy overall, and especially per class. Look at the confusion matrix. In GTM, errors are rarely symmetric: misclassifying an unsubscribe as "interested" is far worse than the reverse. Weight your evaluation accordingly.
For extraction: precision (what fraction of extracted items are correct) and recall (what fraction of true items were extracted).
For drafting: score a sample against a rubric:
| Criterion | Pass condition |
|---|---|
| Factual accuracy | Every claim is supported by the inputs |
| Relevance | Connects the trigger to a plausible problem |
| Length | Within limit |
| Tone | Matches style guide; no banned phrases |
| Call to action | Single, low-friction |
| Brand safety | Nothing embarrassing if forwarded or screenshotted |
The brand safety criterion deserves its own test: "Would we be comfortable if this email were posted publicly with our company name on it?"
Use model-graded evaluation carefully
You can use an LLM to grade outputs against the rubric, which makes evaluation scalable. Calibrate the grader against human judgments on a sample first, and keep humans reviewing a smaller ongoing sample.
Re-evaluate on every change
Run the evaluation set whenever you change the prompt, the model, the input format, or the upstream data source. Model providers update models; behavior can shift. A quick regression run catches surprises.
Monitor in production
Sample production outputs regularly (for example, 20 per week per play) for human review. Track proxy metrics: share of "uncertain" outputs (a sudden jump may indicate an upstream data problem), share of SKIPs, rep edit rates on drafts, reply quality.
12.6Tools, MCP, and agents that act
An LLM becomes an agent when it can use tools: search the web, read a URL, query the CRM, look up enrichment, write a record, send a message. By 2026, the Model Context Protocol (MCP), an open protocol for connecting AI applications to tools and data sources, had become a common way to give agents access to GTM systems. HubSpot provides an MCP server for CRM access; Salesforce made hosted MCP servers generally available in April 2026 for Enterprise Edition and above, supporting governed record operations as well as Flows and Apex actions, with per-user OAuth and existing permission enforcement; and Clay offers MCP access to its prospecting, enrichment, and sequencing capabilities. Clay has also said its own GTM engineers increasingly bypass platform interfaces "in favor of APIs and MCPs," using coding agents to build workflows and tools.
This is a significant shift in how GTM engineers work. Instead of clicking through a UI to build a workflow, a GTM engineer can describe a play to a coding agent with access to Clay, the CRM, and the warehouse, and have it build, test, and iterate. Clay's November 2026 announcement of a "global agent" that builds and tests GTM plays from a description, in open beta at the time, points the same way.
Designing tool access for agents
- Read before write. Start agents with read-only tools. Add write tools one at a time, with scoped permissions.
- Narrow tools beat general ones. A tool called
update_contact_title(contact_id, title)is safer than a generalupdate_record(object, id, fields). Narrow tools limit what can go wrong and make the agent's actions easier to audit. - Dry-run modes. For write tools, support a mode where the agent proposes changes that a human or a rule approves.
- Rate and scope limits. Cap how many records an agent can change per run, and which objects and fields it can touch.
- Logging. Record every tool call with inputs, outputs, and the agent's stated reason.
- Prompt-injection awareness. Agents that read web pages, emails, or documents can encounter text designed to manipulate them ("ignore previous instructions and..."). Treat content the agent reads as untrusted data, never as instructions; restrict what tools an agent can call after reading untrusted content; and require human approval for consequential actions triggered by external content.
Tools give an agent the ability to act; they do not tell it what your company knows, believes, or is allowed to say. Chapter 13 covers the context layer that supplies that knowledge to every agent.
12.7Cost, latency, and model selection
AI costs scale with volume, and GTM systems run at volume. Every row in a 50,000-account table that triggers three LLM calls is 150,000 calls.
Choose the smallest model that passes your evaluation. Simple classification and extraction often work well with smaller, cheaper models. Reserve the largest models for complex research and high-stakes drafting. Clay reported that its auto-mode for Claygent, which routes each task to a suitable model, cost 47% less than using the most capable model, with comparable quality, which suggests how much is typically left on the table by defaulting to the biggest model.
Reduce tokens. Send only the relevant parts of a web page or transcript, not the whole thing. Strip navigation and boilerplate from scraped pages. Summarize long documents once and reuse the summary.
Cache. If the same account is researched by three plays, research it once and share the result until it is stale.
Batch. For non-urgent work, batch APIs from model providers are often cheaper than real-time calls.
Filter first. As with enrichment, apply cheap deterministic filters before expensive AI steps.
Track cost per outcome. Include AI costs in play economics (Chapter 4).
Latency matters for real-time paths (inbound routing, reply handling) and less for batch paths (weekly research). Use fast models and short prompts in real-time paths, and set timeouts with fallbacks so a slow model call never blocks a lead from routing.
12.8Guardrails and human-in-the-loop design
Guardrail layers
Robust AI systems use several layers of protection:
- Input guardrails: validate and sanitize inputs; skip records with missing or low-quality research.
- Prompt guardrails: explicit rules, allowed claims, banned phrases, escape hatches.
- Output validation: schema validation, length checks, banned-phrase checks, checks that names and companies in the output match the record, checks that any cited proof point is on the approved list.
- Human review: for high-value or high-risk outputs, a person approves before anything is sent or written.
- Monitoring: sampling, metrics, alerts on anomalies.
- Kill switch: a simple way to stop a play immediately.
A simple output validator for drafted emails:
BANNED = ["i hope this finds you well", "revolutionize", "synergy",
"as an ai", "unlock", "game-changer"]
def validate_email(draft, record, approved_proof_points, max_words=90):
body = draft["body"].lower()
errors = []
if len(draft["body"].split()) > max_words:
errors.append("too_long")
if any(b in body for b in BANNED):
errors.append("banned_phrase")
if record["first_name"].lower() not in body and record["company"].lower() not in body:
errors.append("no_recipient_reference")
for name in extract_company_names(draft["body"]):
if name not in (record["company"], *approved_proof_points["customers"]):
errors.append(f"unapproved_company_mention:{name}")
if "{{" in draft["body"] or "}}" in draft["body"]:
errors.append("unfilled_template_variable")
return errors
Drafts that fail validation go to a review queue or are skipped, never sent.
Where humans belong
A practical rule: automate the research, keep humans on the relationship. Humans should own:
- Replies to interested prospects.
- Outreach to former champions, existing customers, and tier-1 accounts.
- Any message that makes commitments (pricing, timelines, contractual terms).
- Decisions that change ownership, territories, or compensation-relevant records.
- Responses to complaints or sensitive situations.
AI can draft for all of these; humans should decide and send.
Disclosure
Regulation is starting to address AI interactions directly. In the European Union, the AI Act's transparency obligations under Article 50 began to apply on 2 August 2026 (European Commission), and the European Commission's guidelines on those obligations say that providers of AI systems that interact directly with people, such as chatbots, must ensure people are told they are interacting with an AI system, at the latest at the first interaction. If you deploy a website chat agent or an AI that converses with prospects, design disclosure in from the start and take legal advice on how the rules apply to your use (Chapter 20).
12.9Practical agent use cases ranked by value-to-risk
| Use case | Value | Risk | Notes |
|---|---|---|---|
| ICP classification from website text | High | Low | Evaluate on labeled set; allow "uncertain" |
| Reply classification and routing | High | Low to moderate | Opt-out language always wins |
| Account research briefs for reps | High | Low | Require sources |
| Call transcript extraction to CRM fields | High | Moderate | Human confirms consequential fields |
| Deal and account summaries for managers | Medium-high | Low | |
| Drafting outbound for human review | High | Moderate | Validate; sample-review |
| Autonomous outbound to tier 3 | Variable | High | Requires strong guardrails and monitoring |
| Website chat agent for inbound qualification | Medium-high | Moderate to high | Disclosure; escalation to humans |
| Next-best-action recommendations | Medium | Low (if advisory) | Keep as recommendations |
| Internal analytics agents over the warehouse | Medium-high | Low to moderate | Only as good as the data models |
Newer surfaces: voice, assistants, and agent-to-agent
Three surfaces were maturing quickly at the time of writing, and each raises the same questions as the use cases above with higher stakes.
- Voice agents. AI that speaks on calls, for inbound qualification, meeting confirmation, or after-hours coverage. Live conversation leaves no review step before the customer hears the output, so restrict voice agents to narrow scripts, disclose clearly that the caller is speaking with an AI, follow the calling and recording rules for each jurisdiction (Chapter 20), and route to a person the moment the conversation leaves the script.
- Assistants that sellers already use. Sellers increasingly ask general-purpose AI assistants about accounts. Connecting those assistants to governed CRM and context-layer data through MCP (Section 12.6 and Chapter 13) is usually safer than letting each seller paste exports into a chat window.
- Agents talking to agents. Buyers are starting to use AI to research vendors and screen inbound messages. That makes accuracy and clear, verifiable claims on your own website and in your messages more important, not less; content written only to persuade a human skimmer may be summarized unfavorably by a machine reader.
Treat each as a new channel in the sense of Chapter 2: start with a narrow play, an evaluation set, and a human escalation path, and expand only on evidence.
12.10Chapter summary
- LLMs made unstructured GTM work automatable, and AI fluency became a standard expectation for GTM engineers by 2026.
- Think in terms of an autonomy spectrum; most value comes from single calls, chains, read-only agents, and agents with reversible writes.
- Six patterns cover most uses: classify, extract, research, summarize, draft, decide.
- Production prompts ground the model in inputs, constrain outputs, allow escape hatches, ask for evidence, and are versioned.
- Evaluate every AI step on labeled data before trusting it, weight asymmetric errors, re-evaluate on change, and sample in production.
- MCP and APIs let agents act on CRMs and GTM tools; design tool access with least privilege, narrow tools, dry runs, limits, logging, and prompt-injection awareness.
- Choose the smallest model that passes evaluation, reduce tokens, cache, batch, and filter first.
- Layer guardrails, keep humans on relationships and commitments, and design for AI disclosure where required.
Checklist: Shipping an AI step
- An evaluation set of real, labeled examples exists and the step passes it.
- Output is schema-validated; failures route to review or skip.
- Prompts are versioned; evaluation reruns on any prompt or model change.
- Factual claims are grounded in provided inputs with evidence.
- Tool access is scoped to least privilege; writes are reversible or approved.
- Content the agent reads is treated as untrusted data.
- Cost per record and per outcome is tracked.
- Production outputs are sampled for human review weekly.
- A kill switch exists and its owner knows how to use it.
Build it: Version and evaluate a classification prompt
Take the reply-classification prompt in Section 12.4 (also in Appendix C). You will not send any real customer mail for this exercise.
- Copy the prompt into a versioned file and give it a version number and a date.
- Assemble twenty example replies that you write yourself or redact from mail you are allowed to use. Treat them as example data, not a production sample. Include at least one of each: interested, later, referral, unsubscribe mixed with a question, out-of-office with a date, and hostile.
- Label the twenty by hand, then run the prompt (any model API is fine) and score accuracy overall and on the unsubscribe cases. Misclassifying an opt-out as "interested" is a much worse error than the reverse.
- Change one rule or one example, bump the version, and run the same twenty again. Keep both versions.
- Write the human gate: which labels may write to a CRM automatically, and which must be approved.
You are done when you can show two versions, the scores on the same twenty examples, and a clear rule for what the system is not allowed to do alone (Section 12.5 and 12.8).
Check your understanding
Six questions on applying this chapter. Answer each one yourself, then open the answer to check.
Multiple choice
You are choosing a model for an ICP classification step. Which rule does the chapter recommend?
- Always use the largest model available
- Use the smallest model that passes your evaluation
- Use whichever model was released most recently
- Use the cheapest model whether or not it passes
Show answerHide answer
Answer: B. Use the smallest model that passes your evaluation
Section 12.7: choose the smallest model that passes evaluation, then reduce tokens, cache, batch, and filter before calling a model at all.
True or false
For a reply classifier, labeling an unsubscribe as "interested" and labeling an interested reply as "unsubscribe" are equally bad errors.
Show answerHide answer
Answer: False.
Section 12.5 stresses that GTM errors are rarely symmetric: emailing someone who asked to stop is far worse, so weight the evaluation accordingly (and opt-out language should always win).
Scenario
You have reworded the prompt for a classifier that is already in production. What do you do before shipping it?
Show answerHide answer
Answer: Model answer: Re-run the evaluation set before deploying the new prompt version.
Section 12.5 says to re-evaluate on every change, because small wording changes can shift model behavior; prompts are versioned like code (Section 12.4).
Spot the flaw
An agent can browse prospect websites, write to any CRM field, and send email. It follows instructions it finds on the pages it reads. What is wrong?
Show answerHide answer
Answer: Prompt-injection exposure plus over-broad tools: untrusted content can steer consequential actions. Narrow tools, least privilege, approvals.
Section 12.6 designs tool access with least privilege, narrow tools, dry runs, limits, logging, and awareness that retrieved content may contain instructions.
Put in order
Order these levels of the autonomy spectrum from least to most autonomous.
- Agent with reversible writes (drafts into a review queue)
- Single call with structured output
- Agent with consequential actions (sends, changes owners)
- Fixed chain of prompts and tools
- Read-only tool-using agent
Show answerHide answer
Answer: B (Single call with structured output) → D (Fixed chain of prompts and tools) → E (Read-only tool-using agent) → A (Agent with reversible writes (drafts into a review queue)) → C (Agent with consequential actions (sends, changes owners))
Section 12.2's spectrum: single call, chain, read-only agent, reversible writes, consequential actions. Each step up should be earned with evidence from the level below.
Scenario
An AI draft to a tier-1 prospect includes a discount and a delivery date. What should happen?
Show answerHide answer
Answer: Model answer: A human reviews, decides, and sends; AI only drafts commitments.
Section 12.8: automate the research, keep humans on the relationship. Any message making commitments on pricing or timelines is sent by a person.
Sources for this chapter
- The GTME Data Report, Q3 2026: Pay, Postings, Job Holders
- GTM Engineer is sales ops that writes code (Issue 009)
- Salesforce Hosted MCP Servers Are Now Generally Available
- Launch GTM plays as fast as your market moves with Clay's global agent
- Routing Millions of Agent Tasks: How We Built Auto-Mode for Claygent
- Commission starts enforcing AI Act rules and new transparency requirements on 2 August
- Practical ways GTM teams can use agents
- How Clay runs cold outbound to enterprise accounts
- Model Context Protocol
- HubSpot MCP Server
- Clay MCP
- How to Hire a Go-to-Market Engineer for the Agentic GTM Era
- Guidelines on transparency obligations for providers and deployers of certain AI systems (AI Act Article 50)