Prospecta
AI agent for sales lead research
An agent that finds companies that fit, reads about them, scores them, logs them in the CRM and drafts a first email, then waits for a person to approve it.
Concept project · fictional brand and sample dataApp in English
- 33
- automated tests passing
- 30/30
- off-policy tool calls blocked by the guardrails
- 9/9
- valid tool calls allowed through
- 18
- tool calls at most per run, plus turn, compute and token caps
The brief
Sales teams spend hours on research before the first email: finding companies that fit, reading their sites, judging whether they are worth contacting, logging them in the CRM and writing a first message. It is a natural job for an agent, but an agent that acts without limits or review is a liability.
What I built
- Target profile in, researched leads out: the agent searches, reads careers and news pages, scores, saves to the CRM and drafts an email
- Live run timeline over Server-Sent Events, with every model turn and every tool call, its arguments and its full input and output
- Lead cards with the decision maker's photo, name and title, a score ring and the status
- Explainable scoring: 100 points across industry, location, size, tooling, hiring and funding, each with its evidence
- Approval drawer: drafts wait until the rep edits, rejects or approves them; approval moves the lead to Contacted
- CRM pipeline with drag and drop and a keyboard-accessible stage selector
The decision that mattered
The model proposes, the server decides
The model plans and picks tools, but every call is checked by the server against an allow-list and a schema, plus preconditions: nothing can be saved before it is scored, nothing under 60 points is saved, a draft needs a saved lead, one email per lead. Each run is capped at 10 model turns, 18 tool calls, a compute budget and 60k tokens, and it stops at drafts. Only the rep's approval triggers the (simulated) send.