RepositoryTypeScript
cmn-labs

cmn-labs/autogtm

AI GTM Engine for cold outbound on autopilot

74stars
33forks
0issues
0views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: outreach-automation

#1 Repository of the week

1
TINIX TRENDING·Topic: influencer-marketing

#1 Repository of the week

3
TINIX TRENDING·Topic: cold-email

#3 Repository of the week

autogtm

autogtm is an open-source AI GTM engine that runs cold outbound on autopilot. ⚡

Watch the autogtm product demo

Simply describe your target audience in plain English with optional targeted briefs, and autogtm discovers leads daily, enriches them with AI, creates tailored email campaigns, and sends via Instantly. System on, autopilot on, you sleep!


How it works

  1. You set context — fill in the Company Profile so the AI can search broadly. Optionally add Lead Briefs to pinpoint specific kinds of leads ("acting coaches on TikTok with 10k+ followers").
  2. Choose execution mode per brief:
  • Queue: picked up by scheduled generation/run.
  • Run now: generates and starts search immediately.
  1. AI generates search queries from your context + briefs.
  2. Exa runs search and extracts leads with enrichment hints.
  3. AI enriches leads (bio, fit score, contact context).
  4. AI creates a draft campaign per lead for review.
  5. Approve and send — either you manually review and click "Create and Start Campaign", or Autopilot sweeps the backlog daily at 10am ET and sends the top N qualifying leads on its own.
  6. Instantly status + analytics sync hourly; daily digest summarizes what went out.

Controls

ToggleWhat it does
System ON/OFFMaster switch. When OFF, nothing runs. No searches, no enrichment, no campaigns. Turning this off also pauses Autopilot.
Autopilot ON/OFF ⚡When ON, every day at 10am ET the top N Ready-to-Add leads (configurable fit-score threshold + daily limit) are auto-added to their suggested campaigns and a digest email is sent summarizing the run. Configure in the Autopilot tab.

Daily schedule

TimeWhat happens
8:30 AMGenerate queued search queries from briefs and company context
9:00 AMRun searches, discover and enrich leads
10:00 AM ETAutopilot sweep — auto-add top N Ready-to-Add leads + digest email (when enabled)
HourlySync campaign status and analytics from Instantly
2:00 PM ETSend daily discovery digest email

Features

  • AI lead discovery: Exa.ai websets find people matching your natural-language description.
  • AI enrichment: Bio, social links, audience size, expertise tags, and a 1-10 fit score with reasoning.
  • AI email copywriting: Personalized multi-step sequences generated per lead draft.
  • Campaign management: Draft-first campaigns with controlled start in Instantly.ai.
  • System + Autopilot toggles: Company-level master switch plus a daily Autopilot sweep that auto-adds the top N qualifying leads each morning (configurable daily limit, minimum fit score, and digest email).
  • Fresh-copy Autopilot: Optional "regenerate draft before adding" — rewrites each draft's sequence against the lead's bio/expertise right before sending so stale templated copy never goes out.
  • Exploration mode: When no new briefs exist, AI generates creative queries to keep pipeline coverage fresh.
  • Daily digests: Two summary emails — a per-company Autopilot digest (what was auto-added and to which campaigns) and a global discovery digest (leads found, emails sent, opens, replies).
  • Multi-company: Manage multiple company profiles from a single dashboard.

Stack

LayerTechnology
FrameworkNext.js 15 (App Router)
FrontendReact 19, Tailwind CSS, Radix UI
Database + AuthSupabase (PostgreSQL + Auth)
Background JobsInngest
Lead DiscoveryExa.ai (Websets API)
Email SendingInstantly.ai
AIOpenAI (GPT-4.1 / GPT-5-mini)
Digest EmailsResend

Getting Started

Prerequisites

Accounts needed:

  • Supabase — database and authentication
  • Exa.ai — lead discovery via Websets API
  • Instantly.ai — email campaign sending
  • OpenAI — AI enrichment and generation
  • Inngest — background job scheduling
  • Resend — daily digest emails (optional)

Locally: Node.js 18+ and npm.

Setup

# Clone and install
git clone https://github.com/your-org/autogtm.git
cd autogtm
npm install

# Configure environment
cp apps/autogtm/.env.example apps/autogtm/.env.local
# Fill in values in .env.local

# Run
npm run dev

The app runs at http://localhost:3200.

For background jobs, run the Inngest dev server in a separate terminal:

npx inngest-cli@latest dev

Supabase Setup

Create a new Supabase project at supabase.com, then:

  1. Open your project dashboard
  2. Go to SQL Editor
  3. Paste the contents of [schema.sql](./schema.sql) and run it

This creates all required tables, indexes, RLS policies, and helper functions.

If you already have a Supabase project from an earlier version, apply incremental migrations from [migrations/](./migrations/) instead — they're safe to re-run (IF NOT EXISTS guarded).

Deployment

autogtm is a standard Next.js app. Deploy to any platform that supports it:

  • Vercel — recommended, zero-config Next.js deployment

Make sure to:

  1. Set all environment variables in your hosting platform
  2. Connect your Inngest app to receive webhooks at /api/inngest
  3. Ensure your Supabase project is on a paid plan if you need higher limits

License

Licensed under AGPL-3.0.

TL;DR: You can use it, change it, and ship it; if you run a modified version as a service (e.g. a hosted app), you must make that version’s source code available to your users.

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
Kandid-ai/AgentSDR

Open-source AI SDR: email sequences, LinkedIn and WhatsApp outreach, enrichment tables, and an AI CRM that classifies every reply and drafts the answer. Self-hosted, bring your own AI key.

107
Nov 28, 2026
Repository
toofast1/awesome-ai-lead-generation

A curated list of AI tools for finding customers, social listening, and automated outreach. The modern growth stack.

199
Oct 29, 2026
RepositoryShell
iPythoning/b2b-sdr-agent-template

Open-source AI SDR template for B2B export. 10-stage sales pipeline, 10 cron jobs, 4-engine memory, multi-channel (WhatsApp+Telegram+Email). Built on OpenClaw.

193
Sep 29, 2026
RepositoryMarkdown
weilun88313/B2B-Playbook

A practical field guide for founders and small B2B teams. Clear explanations, worked examples, and templates for finding customers and helping them succeed.

188
Sep 12, 2026
RepositoryPython
chefroger/smart-trade-ai

AI assistant for international trade — 45 B2B skills (lead gen, OSINT, email, docs, compliance). End-to-end customer development pipeline. Runs locally. 外贸业务员 AI 助手。

112
Nov 27, 2026
RepositoryPython
Samyrrrrrr990/openleads

Open-source lead finder and cold email workspace. Describe a customer, get named people with labeled emails, then write, send, and automate it. No API keys, runs locally. Free Apollo and Hunter alternative.

82
Nov 29, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryMarkdown
DigitalPlatDev/FreeDomain

Free domain registration and practical DNS learning resources for everyone.

209.9k
Aug 12, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026