How the PR Multi-Agent System works

This is a small multi-agent system (MAS) that acts like a junior PR researcher. It searches the web for candidate partners or clients, researches them, judges how well they fit our company, and writes a sourced report for a human to review.

The big idea

The agents

Agent Type Job Input Output
Prospector Flow-specific Turns the ICP into search queries, runs them, and extracts candidate organizations. Company Profile + target segments List of discovered organizations
Qualifier (quick) Shared Cheap first-pass fit screen using only search snippets. Name, website, snippets, Company Profile Segment + score + reason
Researcher Shared Gathers public facts about one organization using web search and page fetching. Every fact cites a source. Organization name/website + Company Profile Structured research report
Qualifier (full) Shared Judges fit after deep research and suggests an outreach angle. Research report + Company Profile Full fit assessment

How the agents interact

The Prospecting flow is a state machine. Plain code decides the next step; agents only provide judgment or facts.

graph LR A[Prospector] -->|generates queries| B[web_search] B -->|search results| A A -->|candidates| C[Dedupe] C -->|new org| D[Qualifier quick] D -->|score| E{Gate} E -->|below threshold| F[Skip] E -->|above threshold| G[Researcher] G -->|uses| H[web_search] G -->|uses| I[fetch_page] G -->|report| J[Qualifier full] J -->|fit assessment| K[Save report] K -->|next candidate| C
  1. Discover: The Prospector reads the ICP and asks an LLM to generate search queries per segment.
  2. Search: The web_search tool runs each query through DuckDuckGo.
  3. Extract: The Prospector extracts real organizations from the search results.
  4. Dedupe: Plain code checks the Knowledge Base by website or normalized name.
  5. Quick screen: The Qualifier scores fit cheaply using only snippets.
  6. Gate: If the score is below the threshold, the candidate is skipped.
  7. Deep research: The Researcher searches and reads pages, returning cited facts.
  8. Full qualification: The Qualifier writes fit reasons, an outreach angle, concerns, and how to reach them.
  9. Save: The report is stored in the Knowledge Base.
  10. Human review: A person opens the report in the web dashboard and labels it.

Tools

Tools are thin wrappers around external systems. They do not decide anything.

Cost-control funnel

The quick Qualifier uses a cheap model and runs on many candidates. Only the high scorers get expensive deep research. This keeps the average cost per run low.

Human-in-the-loop

The system never contacts anyone by itself. It only writes reports. A person reviews each report and labels it:

These labels become the historical record and, eventually, training examples for improving the Qualifier.