Skip to main content
OpenLeads

OpenLeads

Describe a customer. Get the people, and who just changed.

The open-source lead workspace that runs on your laptop. It finds the businesses and people you describe in free public sources, labels every email with how it was found, watches your accounts for buying signals, and lets an AI agent send inside limits it can't talk its way past. No account, no API keys, nothing to pay.

PyPI Python 3.8+ CI Live benchmark License: AGPL v3 GitHub stars

Website · Docs · Quickstart · Roadmap · Changelog

A terminal running openleads find "dentists in Austin": six practices come back with their emails, each labeled safe or risky and found or guessed. Then openleads signals news shows which companies in the workspace were on Hacker News this week, and a plain-English request is turned into a four-step plan that waits for a yes.

Real output, recorded with launch/demo.tape. The minute the search spends on live sources is cut.

Try it in 30 seconds

pipx install "openleads[all]"            # or: pip install "openleads[all]"
openleads find "dentists in Austin"      # ten leads, every email labeled
openleads web --demo                     # the app, on an invented workspace

Or just say what you want. OpenLeads shows the plan, and nothing runs until you say yes:

$ openleads "find 30 rust devs in Berlin and email them about our hiring tool"
Plan
  1. Find      30 rust devs in Berlin, deliverable emails only
  2. Skip      anyone you've already emailed
  3. Write     an email to each about our hiring tool
  4. Queue     them for you to approve in openleads today (nothing sends yet)

Run it? [Y/n]

Why people use it

Every email says how we know it. Most free finders call a first.last@ guess "valid". OpenLeads labels each address found, pattern or guessed, then decides separately whether it's safe to send. Seven checks, most of which work without port 25.

Signals, free and checkable. Hiring, a new site, a new public repo, a launch on Hacker News, a changed tool stack, a place new on the map. Each one links to its source, lands on Today, posts to Slack each morning, and can start a workflow.

Agents that can send, safely. Limits live in a constitution.toml the engine enforces under every send, autonomy is earned from a clean record, and every action goes in a hash-chained ledger that openleads ledger verify can check.

Yours, on your machine. Your leads sit in a SQLite file in ~/.openleads. No hosted backend, no telemetry, AGPL source. Use the Claude or ChatGPT subscription you already pay for, or no model at all.

One tool instead of five subscriptions

What you'd otherwise pay for What OpenLeads does, free and on your machine
A people and email database find across 12 public sources, every email labeled found, pattern or guessed
An email finder and verifier verify: seven checks, most of which work without port 25
A sequencer with warm-up sequences, an approval queue, and warm-up with seed inboxes and health gates
Intent data signals: hiring, new sites, new repos, Hacker News launches, stack changes and new places, each linked to its source
Workflow automation workflows you describe in a sentence or wire on a canvas, with test runs that never send
A CRM for outbound people, companies, lists, tasks, a deal pipeline and ICP fit scoring
An AI writer your Claude or ChatGPT subscription, with a check that nothing in the email is invented
An AI SDR you have to trust Autopilot: limits the engine enforces, autonomy earned from a clean record, a tamper-evident ledger

The app

openleads web opens it at http://127.0.0.1:8787. The same workspace is in the terminal and in your AI assistant.

Today in the OpenLeads app: replies waiting on you, emails to approve with a quality score and an Approve button, tasks due, and an ask box at the bottom. Pipeline analytics: people, emails sent in 30 days, reply rate and bounce rate, each flagged when the sample is too small to judge, a chart of emails and replies per day, and reply rates by seniority.
Today. Replies waiting on you, emails to approve, tasks due and new signals. Type what you want at the bottom and read the plan before it runs. Analytics. Sends, replies and bounces over time, and who replies by seniority, department, industry and source. Small samples are flagged, not dressed up.
Settings, Connections: built-in rules in use, Claude found on this computer with a Use Claude button, ChatGPT, Anthropic, OpenAI, Gemini, OpenRouter and Ollama, and mailboxes for Gmail, Outlook, Zoho or any provider. A deal pipeline board with Qualify, Meeting, Proposal, Negotiation, Won and Lost columns, each with its value, under open pipeline, weighted forecast, won and win rate.
Connections. Pick a model (your Claude or ChatGPT subscription, an API key, or a free one) and a mailbox. Each is tested before it's saved. Deals. A drag-and-drop pipeline with a weighted forecast. People and companies get Apollo-style filters, lists, ICP fit from A to D, tasks and CSV import.

Find people, with the evidence

One sentence fans out across the sources that fit it. You never have to pick one, but -s name pins a source.

Ask for Searched Example
Local businesses, any city OpenStreetMap "accountants in Toronto"
Startup founders, companies hiring Y Combinator, Hacker News "AI startup founders"
Companies by industry Wikidata, SEC EDGAR "fintech companies"
Developers and ML builders GitHub, Hugging Face "rust developers in Berlin"
Researchers OpenAlex "machine learning researchers"
Everyone at one company the company's own site "emails at stripe.com"
US healthcare providers NPI Registry "pediatricians"
Evidence Meaning Tier What happens
found Published on the company's site, in a public commit or security.txt, or confirmed by the mail server safe Sent by default
pattern Built from an address format already seen at that company risky Held for your review unless you opt in
guessed The most common format for that name. Nothing confirms it, and the label says so bad Dropped: no mail server, disposable, or it bounced

Companies become named people from their team and about pages. When a search comes back short, OpenLeads says which source failed and what to try next. How the scoring works · Add a source in one Python file

Know who just changed

A list tells you who exists. Signals tell you who just changed, with a link to the page or record that shows it:

openleads signals hiring        # new roles on their job boards and in HN "Who is hiring"
openleads signals news          # their launches and front-page stories on Hacker News
openleads signals new-sites     # careers.acme.com and friends, from the certificate logs
openleads signals repos         # new public repos at the GitHub org their homepage links
openleads signals stack         # "added Crisp, removed Intercom"
openleads signals digest --send # all of it, posted to Slack or Discord

Click Draft emails on any signal and the people you've saved there get an email that opens with it ("Saw Vercel's Show HN for Vercel Board, so I'll keep this short."), waiting for your approval. Or let a workflow do it the hour it lands: "when a company starts hiring for sales, write an email and create a task".

Let an agent send, within limits it can't talk its way around

Agents can find leads, write emails and read replies; almost nobody lets them send, because the limits live in a prompt. Autopilot puts them in a file the engine checks under every send, whoever asked:

[budget]
emails_per_day = 40

[who]
fit_grade_at_least = "B"

[escalate]
replies_mentioning = ["price", "contract", "legal"]

[autonomy]
earn_after = { sends = 200 }       # first emails wait for you until then
lose_on = { complaints = 1 }

Each MCP agent gets only the tools its scope allows (openleads mcp --as researcher), and every send, hold and agent action goes in a hash-chained ledger: openleads ledger verify says "Ledger intact: 1,204 entries." or names the first one that was changed.

Use it from Claude, Cursor or Claude Code

OpenLeads is an MCP server. Your assistant can find and verify leads mid-conversation, read your signals, and work your lists, tasks and sequences.

claude mcp add openleads -- openleads mcp

"Find 10 law firms in London with emails we can actually send to, save them to a list called London law, and give me a call task for each partner."

The one tool that sends, approve_draft, only sends a draft already waiting for your approval. OpenLeads MCP server

Cold email that respects the people getting it

  • outreach.txt. A company can publish one text file saying whether it takes cold email, where it should go and what it's shopping for. OpenLeads reads it for every company and follows it for every send. There's no setting to turn that off.
  • Glass Box. Every email ends with where the address came from, and "erase" really erases: everything goes except a hash, so no search adds them back.
  • Guardrails on by default. Dry runs unless you add --live, a suppression list, one-click unsubscribe, warm-up caps, no tracking pixels.
More: workflows, your own model, Python, the Commons, the nightly benchmark

Automate it

Describe a workflow in a sentence and read it back as steps, or wire it on a canvas: triggers (schedule, new leads, a reply, a signal), find, verify, filter by tier, write, wait, send, add to a list or sequence, create tasks, export. Test runs never send. Sends stay inside your daily cap, warm-up ramp and business hours, and stop for anyone who replies. Workflows · Sending and warm-up

openleads workflow templates                                  # ready-made workflows
openleads workflow new dentists --from local-business-outreach
openleads workflow run dentists        # a test run: finds and writes, never sends
openleads schedule on                  # launchd, cron or Windows Task Scheduler

Running a web agency? Sites builds a lead a better website from the right template, rewrites the words with your Claude subscription, and sends the owner the link. Sites

Use the model you already pay for

Everything works with no model. openleads setup ai finds what this computer has: your Claude or ChatGPT subscription (through the claude or codex CLI), an Anthropic, OpenAI or Gemini key, a free OpenRouter model, or Ollama. Nothing is spent until you pick one. Your model

Use it from Python

import openleads

leads = openleads.find("gyms in Sydney", count=20)
for lead in leads:
    print(lead.email, lead.evidence, lead.tier)
leads.write("gyms.csv")            # .csv, .json or .jsonl
print(leads.report.summary())      # which sources ran, what failed, why it stopped

Python API. There's also a GitHub Action:

- uses: Samyrrrrrr990/openleads@v5.23.1
  with: { query: "marketing agencies in Miami", count: 50 }

An open dataset, not a private database

Paid finders know acme.com uses first.last@ because they've seen it. The Commons is where installs share that: an open file of company email formats (commons/formats.csv) with no names and no addresses, growing by pull request.

Measured against live data every night

Unit tests can't tell you whether "dentists in Austin" returns dentists, so a GitHub Action runs real searches against the live sources every night and commits what came back to BENCHMARK.md, empty nights included. Run it with openleads bench.

How it works

flowchart LR
    Q["'dentists in Austin'"] --> P[Query parser]
    P --> F[Planner<br/>picks the sources]
    F --> S1[OpenStreetMap]
    F --> S2[YC, HN, GitHub, Hugging Face,<br/>OpenAlex, EDGAR, Wikidata, NPI]
    S1 & S2 --> D[People from team pages<br/>+ real-name check]
    D --> E[Email checks<br/>harvest, pattern, MX, SMTP, Gravatar]
    E --> L[Leads with evidence and tier]
    L --> W[Workspace, signals, sequences, exports]
    E <--> DB[(Local SQLite<br/>learned patterns, workspace)]

The engine is Python standard library only. A search returns within its time budget with whatever finished, and every run reports which sources answered, which fell back and why. Architecture

All the everyday commands
# start
openleads "find 30 rust devs in Berlin and email them"   # see the plan, run it on a yes
openleads today                                        # what needs you
openleads web                                          # the app (--demo: invented data)

# find
openleads find "50 fintech founders, verified only" -o leads.csv
openleads find "accountants in Toronto" --explain     # the plan, each source's status
openleads company stripe.com                           # tech stack, socials, people
openleads enrich my-list.csv                           # your names and companies, emails labeled
openleads verify ada@acme.io

# signals
openleads signals                                      # what changed, with sources
openleads signals draft 12                             # emails about signal 12, for approval

# reach out (a dry run unless you add --live)
openleads write "rust developers in Berlin" --variants 2 --explain
openleads run "rust developers in Berlin"

# the workspace
openleads people --fit A --never-contacted
openleads lists | seq | tasks | deals | import | export

# set up and automate
openleads setup            # mailbox and identity
openleads doctor           # checks DNS, port 25 and your mailbox
openleads workflow | mcp | constitution | ledger

openleads --help shows the everyday commands; openleads help all lists every one.

Where it's going

Five things no open-source sales tool does yet. All five have shipped a first version, and each has an RFC issue open for argument. The roadmap has the designs and what's next.

  1. outreach.txt: robots.txt for cold email (5.7.0).
  2. Glass Box: receipts, real erasure and a shared opt-out list that never learns who you checked (5.8.0).
  3. The Commons: an open dataset of company email formats (5.9.0).
  4. Signals: the public internet's changelog as free intent data (5.10.0 to 5.23.0).
  5. Autopilot: a sales department an AI agent can run inside limits it can't argue with (5.11.0 to 5.15.0).

If you want to see these go further, star or watch the repo. That's also how other founders find it.

Star history

Install

pipx install "openleads[all]"     # recommended
pip install openleads             # minimal: the standard-library engine and CLI
npx openleads                     # Node: sets up a private Python environment on first run

Python 3.8 or newer on macOS, Linux or Windows. Then openleads doctor checks your setup and openleads demo opens the app on invented data. Quickstart · Moving from Apollo

Responsible use

OpenLeads is for legitimate prospecting, recruiting and research. You are responsible for anti-spam law (CAN-SPAM, GDPR, CASL) and each source's terms; it ships the guardrails to make that easy. Responsible use

License

Open source under AGPL-3.0. It's free for non-profits, solo founders and small teams, and for any company that runs it internally to find leads and send its own email. You don't need to ask.

If your company wants to keep its changes private, build OpenLeads into a closed-source product, or offer it to others as a hosted service, email samyar.shafiee2009@gmail.com about a commercial license. There's no price list; we work out the terms by email. Details

Contributing

The most useful contribution is a new source (guide) or a new signal; the next is a query that openleads bench scores badly, with the fix. See CONTRIBUTING.md. Thanks to everyone who has sent a pull request, including @xmejl, @harrisonoconnorhover and @Shalinipks, and to @gabrielaoimevbore-beep, whose PR started the pre-send hook.

Thanks

OpenStreetMap contributors, OpenAlex, yc-oss/api, Hugging Face, the NPI Registry, SEC EDGAR, Wikidata, Gravatar, Hacker News' Algolia search, SSLMate's Cert Spotter, and the US Social Security Administration for its given-name data. The app and website use Atkinson Hyperlegible by the Braille Institute.

Metadata

Release files for openleads 5.23.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openleads 5.23.1
File Size Uploaded Provenance Actions
openleads-5.23.1.tar.gz 1.9 MB Without provenance Details for openleads-5.23.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openleads 5.23.1
File Interpreter ABI Platform Actions
openleads-5.23.1-py3-none-any.whl Python 3 none any Details for openleads-5.23.1-py3-none-any.whl

Total release size: 3.5 MB

Release files / openleads-5.23.1.tar.gz

Download URL openleads-5.23.1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
fe92a2413969915070d71ff49e39c9ad5f660748f9f23809889cc5473b54b032
BLAKE2b-256 checksum
How to use checksums
1b660af678ff7e3fc5f9ae9b972bf54405cf928852e144809ec4264e799dfdb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / openleads-5.23.1-py3-none-any.whl

Download URL openleads-5.23.1-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d5ed4d78e80a59aa75b4e2601554031a6d63db32e3050128a7e8c253792d3d21
BLAKE2b-256 checksum
How to use checksums
1a55fa068c0673da73daa0fdfc61f183c4d167db11789b5a9d86aac1abdaded0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for openleads 5.23.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.23.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page