A good provider for a production AI agent for lead intelligence checks every claim before it reaches your CRM, keeps a record of what the agent knew, decided and checked, builds testing in, and is led by senior practitioners. Cost is scoped to the work, not a fixed price, and a first phase runs 60 to 90 days. The sections below cover the provider checklist, cost, and how a trustworthy agent is built.
What to look for in a provider
Look for a provider that can show where the checks sit, what the system recorded, and how the agent was tested before launch. Ask to see the design, not only the demo.
A short checklist:
- Checks before output reaches the CRM. Validation steps sit between the agent writing something and your sales system receiving it, so a claim that cannot be verified is stopped rather than delivered.
- A record of what was known, decided and checked. You can look back at what information the agent used, what it produced, and which checks ran.
- Testing built in. The agent is tested before launch and monitored after, with a person one hand-off away.
- Senior-led delivery. Practitioners who average more than 15 years of experience lead the work.
- AI-assisted delivery with senior review. AI speeds up the work, and a senior practitioner reviews what it produces.
Questions worth asking in a sales conversation:
- How is the agent tested before launch, and what is checked after it goes live?
- What does the agent do when it is unsure? Does it guess, or does it flag the case to a person with the reason?
- Who reviews its output, and which actions need a person's approval first?
- Where can we see a record of what the agent knew, decided and checked for a given lead?
- Who does the work, and how experienced are they?
Rex Black Inc. builds AI agents in production, with testing built in. We provide AI guardrails, monitoring and tests for every agent, written rules for what each agent may and may not do, and an audit trail for every action the agent takes. We are a Salesforce Consulting Partner (Agentforce, Data Cloud, MuleSoft) and an Anthropic Cloud Partner, and we have published an AI intake agent case and an AI voice agent case. You can read how our AI agent engagements run, or see the two published cases: the AI veteran services intake agent and the AI voice agent for 24/7 phone coverage.
For the longer buyer guide, read what to read before putting an AI agent into production.
What does it cost?
There is no single price for a production AI agent for lead intelligence, because the work is scoped to your data and your process. Four things move the cost, and a first phase runs 60 to 90 days, which gives you a sense of scale without a number.
- Number of data sources. Each source you connect (your CRM, a data warehouse, a document store, web research, outside company-data providers) adds work to retrieve, map and check its data.
- Amount of human review required. More approval steps and more routes to a reviewer mean more workflow to build and test.
- The CRM connection. Writing into Salesforce or another system of record means matching fields, handling duplicate records, setting permissions, and reconciling against what is already there.
- Testing depth. Test sets, repeated test runs, monitoring and the record of every action all grow with how much the output matters to your business.
We price by scope and deliverable, with clear milestones and tangible results you own. A scoping conversation is the fastest way to a number. Book a call and we will talk through your data sources, your review needs and your CRM.
How do I stop an agent making up data?
You stop an agent making up data by tying every claim to a source the system can retrieve and check, and by placing the controls in the surrounding system rather than trusting the model to police itself. When a claim cannot be traced to a source, the system flags it or blocks it instead of passing it on.
OWASP's guidance for large language model applications says the controls on a model's actions must sit in the surrounding software, because the model should not police itself (OWASP LLM Top 10). The same project warns that a model can present wrong information in an authoritative manner, which is why unchecked output is a risk (OWASP Gen AI Security Project). The latest edition of the list expanded its Excessive Agency entry (the risk of giving a model too much freedom to act) because agentic architectures give models more autonomy (OWASP LLM Top 10, latest edition).
What does a production lead intelligence agent need?
A production lead intelligence agent needs to be a pipeline, not a single request to a model. Each stage should have one job, check its own work, and hand a verified result to the next stage. The seven layers below describe what an agent of this kind needs in general. They are a way to judge any design you are shown.
- Request boundary. Who is asking, how often, and whether the input is valid.
- Intent and breaking down the task. Work out what is being asked, then split complex tasks into checkable steps.
- Planning. Lay out the steps, their order, and what happens when one fails.
- Specialist execution. Small, focused workers each handle one type of task.
- Knowledge retrieval. Ground every claim in evidence that can be found and cited.
- Validation. Verify citations, check policy, and score quality before output reaches anyone.
- Record keeping. Record what was known, what was decided, and what was checked.
Layer 1: Request boundary
Before any intelligence work begins, the system should enforce hard limits:
- Identity and access. Every request is tied to a person and an organization, and one customer's data is kept apart from another's.
- Input checks. Agreed templates for what a valid input looks like are applied before anything reaches the agent. A malformed request fails early with a clear error instead of producing poor data further along.
- Spending limits. Caps on how much the model may process and how many requests can run keep costs predictable. This matters for batch jobs that enrich hundreds of records.
The design intent is simple. When a batch of leads runs overnight, one malformed record should not spoil the records that depend on it, and checks should run before money is spent on model calls.
Layer 2: Understanding the request and breaking it down
A production system does not hand a raw request straight to a model. It first works out what kind of request it is and what the agent is allowed to do about it. A request outside that scope should get an honest statement that it is outside the agent's scope, rather than a confident invention.
Complex requests are then split into steps with clear dependencies. "Research this company and write a briefing" becomes:
- Extract company identifiers
- Retrieve firmographic data (basic company facts such as size, industry and location) and recent news and funding, at the same time
- Retrieve the competitive landscape
- Write the research brief
- Check citations against sources
- Score output quality
Each step has defined inputs, outputs and a test for success. If the citation step finds a funding round that cannot be verified, the output is flagged rather than delivered. The design intent is that splitting work this way makes the system show its work and creates natural checkpoints where an error can be caught before it grows.
Layer 3: Planning the order of work
The steps are arranged into a directed acyclic graph, or DAG. In plain terms, a DAG is the work to be done plus the order in which it must happen (Apache Airflow). A good plan defines:
- Parallel steps. Independent steps run at the same time, such as company data and news.
- Dependencies. Steps that need an earlier result wait for it.
- Gates. Checkpoints where validation must pass before the work continues.
- Failure boundaries. One step can fail without stopping the whole run.
A plain chain of steps is simple but fragile, because a failure in step 2 stops everything. A plan shaped as a graph allows graceful degradation, meaning that if one part fails (a news lookup, say), the rest keeps working. It also puts checks between writing and delivery, and it leaves a clear picture for debugging and audit.
The design intent is that a batch job gets speed from running steps together, reliability from keeping steps separate, and clear handling of failures, so one bad response cannot quietly fill later records with empty or invented values that look real.
Layer 4: Specialist workers
Each worker in the plan should handle one type of task. Some principles to look for:
| Principle | What it means |
|---|---|
| One job each | Each worker handles exactly one task type |
| Agreed formats | Inputs and outputs are checked against explicit templates |
| Structured over free-form | Pulling out specific facts is preferred over open-ended writing |
| Behavior set by settings | Instructions and parameters are kept as data you can review, not buried in code |
| Clear success or failure | Every step reports plainly whether it worked or failed, and no error is silently swallowed |
The design intent is that a worker which only extracts company facts has far less room to make things up than one asked to research, analyze and write at the same time.
Layer 5: Knowledge retrieval, grounding every claim
This is where grounding happens. A system that produces confident text with no evidence behind it gives your reps nothing they can defend on a call.
Grounding is usually built on retrieval-augmented generation (RAG), a pattern in which the model looks up relevant material first and answers from it, so its responses are grounded in your own content (Microsoft). Several design choices make retrieval accurate:
- Structure-aware splitting. Documents are split into sections that remember their place in the document, so a paragraph still knows its heading and a table keeps its rows and columns together.
- Two ways of searching. Searching by meaning finds relevant context, and searching for exact matches (company names, tickers, identifiers) keeps the agent on the right company.
- Re-sorting the candidates. A first search casts a wide net. A second pass re-sorts the results so the most relevant passages come first, and only those are used.
- Searches limited to one organization's data. One customer's information should never appear in another's results.
- A source label on every passage. Each piece of text carries a label saying exactly where it came from (file, position, filename). When the agent cites a source, the system can check that the citation points to a real passage.
When several sources exist, such as CRM data, uploaded documents, curated knowledge bases and web research, a clear priority order should decide which wins. Curated, verified sources should outrank raw web pages, and your own data should outrank generic databases.
The design intent is that a made-up revenue figure or executive name should never reach a sales call. Retrieval with source labels is the minimum bar.
Layer 6: Validation
Writing and checking are separate jobs. The part that writes the brief should not be the part that checks it. A sound design includes checks such as:
| Check | The question it answers |
|---|---|
| Citation check | Do the cited sources exist, and does the cited text match them? |
| Claim check | Are factual claims (revenue, headcount, funding) supported by the retrieved evidence? |
| Policy check | Does the output follow communication policies and do-not-contact rules? |
| Personal data check | Is personal information handled properly before it is stored or delivered? |
| Quality score | Does the output meet defined criteria for completeness, accuracy and tone? |
| Format check | Does the data going into the CRM match the format the CRM expects? |
These checks should sit inside the plan as gates. The work does not move past a gate unless the check passes. A brief with unverifiable citations then stops before it reaches the CRM, a lead score built on stale data is flagged before it triggers outreach, and a policy problem is caught before any external action.
As a general design principle, a system should block an output it cannot verify, even though that will sometimes hold back a valid one. Bad data reaching a sales rep costs more than a blocked output. In an automated sales process, a wrong output means a bad email, a wasted call or a compliance problem, and validation gates are what separate a trustworthy tool from a liability.
Layer 7: Record keeping and accountability
Every production AI system should be able to answer three questions after the fact:
- What did the system know? What data was retrieved.
- What did the system decide? What was produced, and why.
- What was checked? Which checks ran, and whether they passed.
If you cannot answer those, you have a black box.
A complete record covers the request (what was asked, and by whom), the evidence retrieved, the output at each step, the results of each check with reasons, timing and cost, and the plan that was followed. Live activity views let operators see progress, check results and failures as they happen rather than in a report the next morning. The records themselves should be append-only, meaning new entries can be added but existing ones can never be edited or deleted. When someone asks what data was used to write a piece of outreach, there is then a complete answer.
What else keeps an agent reliable?
Three further areas keep a production agent dependable: handling failures, keeping people involved, and managing what the model sees at each step.
Error recovery and resilience
Production systems face failures: services go down, models return malformed answers, data goes stale. Good designs include:
- Retries with growing waits. Temporary failures are retried automatically, waiting longer between each attempt.
- Safe repeats. An idempotent request is one that completes no more than once, even if it is retried (AWS). That is what keeps a retried write from creating duplicate records in a CRM. Stripe's API reference says its idempotency support lets you retry a request safely without performing the same operation twice (Stripe).
- Save points. Long jobs save their progress after each step and resume from the last good point.
- Fallback paths. When a main model or data source fails, a reduced but working alternative takes over.
- Circuit breakers. Like an electrical circuit breaker, this stops repeated attempts at something that keeps failing. Microsoft's cloud design patterns guidance says a circuit breaker lets an application retry temporary faults but stop retrying when a fault persists (Microsoft). A failing service is bypassed instead of blocking the whole pipeline.
People in the loop
Automation is a spectrum. The aim is to reduce manual work to the decisions that need judgment:
- Approval before action. High-stakes actions such as sending email or changing a CRM record can require a person's approval first.
- Escalation on exceptions. Low-confidence results and unusual cases go to a reviewer, with the reason.
- Automation that grows with evidence. More is automated for a given task only as measured quality shows it is reliable.
- Spot checks. Random review of finished outputs catches slow drift before it compounds.
Managing what the model sees
Multi-step work needs care over what the model sees at each step, to avoid overload (too much in the prompt) and starvation (losing critical information between steps, so a later step works without facts it needs):
- Carrying results forward. Each step's output is structured and passed into the next step.
- Summarizing. Long intermediate results are condensed to keep the key points within the model's size limits.
- Need-to-know. Each worker sees only the data it needs, and boundaries between customers are enforced at every layer.
How do the two designs compare?
The table describes the two designs plainly. It does not report measured results.
| Single-prompt design | Layered design |
|---|---|
| One model call, no verification | Checks at every stage |
| A fabricated claim can reach the CRM | Citation checks block unverifiable claims |
| A failed lookup can pass silently | Clear success or failure at each step, with save points |
| No record of how an answer was produced | A record of what was known, decided and checked |
| All-or-nothing automation | Automation that grows step by step, with human approval on high-stakes actions |
Key takeaways
- Break the work down before generating. Split complex requests into checkable steps, so the system shows its work at every stage.
- Separate writing from checking. The part that writes should not be the part that checks. Put the checks inside the plan, not after it.
- Ground every claim. Retrieval with source labels and citation checks is the minimum bar. If a claim cannot be traced to a source, do not output it.
- Keep a record of everything. Records that cannot be edited afterwards, covering what was known, decided and checked, let you answer hard questions and improve the system over time.
- Design for failure. Save points, retries, fallbacks and circuit breakers are what a production system needs. Assume every outside service will fail at some point.
- Grow automation step by step. Start with human approval on high-stakes actions and expand automation as measurements prove reliability.
- Engineering around the model decides trust. What makes output something a sales team can act on is the system built around the model.
What to do next
See the AI agents overview for our AI agent products by the job they do.