Sales Intelligence Agent
Multi-agent system that autonomously researches B2B prospects, qualifies leads against ICP criteria, and generates personalized outreach briefs | eliminating manual prospecting at scale.
Results
- → Eliminated manual B2B prospecting for the entire sales team
- → Processes 300+ leads per run with structured, CRM-ready output
- → Top-ranked deliverable among all client projects at Musketeers Tech
- → Reduced lead research time from 45 minutes to under 3 minutes per account
Challenge
The client’s outbound sales team was spending the majority of each week on repetitive research rather than selling. For every target account, a representative manually searched LinkedIn, company websites, press releases, and funding databases to build a picture of the organization, its size, tech stack, recent news, and potential pain points. Only after this groundwork could they craft a personalized outreach message.
At scale, this workflow broke down quickly. With a target list of several hundred accounts per quarter, the team could not maintain quality without sacrificing volume. Research quality varied widely between reps, and high-value signals, such as a recent leadership change or a competitor migration, were often missed because no one had time to monitor every source consistently. The sales leadership team needed a system that could replicate the judgment of their best researcher while operating autonomously across hundreds of accounts.
Output had to integrate with their CRM, include verifiable source citations, and handle JavaScript-heavy company sites that simple scraping could not reach.
Solution
We designed a multi-agent sales intelligence platform that mirrors how an experienced sales development representative works, but at machine speed and consistency. The system accepts a list of target companies, by name, domain, or uploaded CSV, and returns structured intelligence briefs ready for outreach and CRM import.
The solution combines CrewAI for role-based agent orchestration with LangGraph for stateful workflow control on complex research paths. A FastAPI backend manages async job queues, streams partial results to the frontend, and persists completed briefs. Each brief includes company overview, key contacts, recent news, tech stack signals, ICP fit score with reasoning, and a draft outreach angle tailored to the client’s value proposition.
Reps review and approve briefs rather than building them from scratch. The human-in-the-loop checkpoint preserves quality while reclaiming roughly forty hours per week across the team, time redirected toward conversations and closing.
Architecture
The platform follows a layered architecture optimized for reliability and observability.
At the orchestration layer, LangGraph defines the master research workflow as a directed graph with conditional edges. Simple accounts follow a fast path: scrape homepage, pull LinkedIn company data, run qualification. Complex accounts, those with sparse public data or ambiguous ICP signals, trigger additional branches: deeper news search, competitor analysis, and a second-pass reasoning step before the report agent finalizes output.
CrewAI handles the agent specialization within each graph node. Three primary agents collaborate:
- Research Agent: equipped with Playwright for headless browsing, a web search tool, and a structured data extraction prompt. It aggregates raw facts and attaches source URLs.
- Qualifier Agent: receives the research bundle and scores the lead against configurable ICP rules (employee count, industry, tech signals, funding stage). It produces a numeric score and natural-language justification.
- Outreach Agent: synthesizes qualified research into a concise brief and a suggested opening line aligned with the client’s messaging framework.
State passes between nodes as typed JSON, making debugging straightforward and enabling partial reruns when a single agent fails. Redis backs the task queue; PostgreSQL stores completed briefs and audit logs. OpenAI GPT-4o powers all reasoning steps, chosen for its balance of speed, cost, and structured output reliability.
Implementation
Implementation proceeded in four two-week sprints, starting with a single-agent prototype to validate output quality before introducing orchestration complexity.
Sprint 1, Core research pipeline. Playwright scraping with retry logic and rate limiting, refined against fifty gold-standard accounts until extraction accuracy exceeded ninety percent.
Sprint 2, Multi-agent orchestration. CrewAI agents wired into LangGraph with fallback search paths on scrape failure and structured JSON output schemas.
Sprint 3, API and integration. FastAPI batch endpoints with Server-Sent Events for live progress and CRM webhook delivery.
Sprint 4, Hardening. Evaluation harness against human-labeled examples, token cost tracking, domain caching, and LangSmith prompt versioning.
Weekly sales team reviews shaped ICP weighting, brief length, and outreach tone throughout delivery.
Results
Within six weeks of production deployment, the impact was measurable across every metric the client tracked.
Manual research time per account dropped from an average of forty-five minutes to under three minutes of review time. The team processed their entire quarterly target list in a single week, work that previously stretched across the full quarter. Lead qualification consistency improved because every account received the same rigorous ICP analysis, not whichever approach an individual rep happened to use that day.
The project became the top-ranked deliverable at Musketeers Tech. Token costs stabilized at roughly $0.40 per account, with batch error rates below two percent.
Lessons Learned
Multi-agent systems deliver the most value when each agent has a narrow, verifiable job. Early versions that asked a single agent to research, qualify, and write outreach produced hallucinated contact names and inconsistent scores. Separating concerns and passing structured state between agents cut factual errors dramatically.
LangGraph’s conditional routing was essential for cost control. Not every lead needs five search queries and a competitor deep-dive. Branching on data completeness reduced average token spend by thirty-five percent without hurting brief quality on high-priority accounts.
Human-in-the-loop remains non-negotiable for customer-facing sales workflows. Reps trust the system because they approve output before it reaches prospects, the AI accelerates preparation, it does not replace judgment on messaging.
Finally, invest in evaluation early. The gold-standard dataset of fifty manually researched accounts paid for itself within the first sprint by giving us an objective benchmark every prompt change had to pass. Agentic AI projects that skip systematic evaluation tend to stall in perpetual prompt-tweaking without clear progress signals.