cmn-labs/autogtm
AI GTM Engine for cold outbound on autopilot
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#3 Repository of the week
autogtm
autogtm is an open-source AI GTM engine that runs cold outbound on autopilot. ⚡
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
- 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").
- Choose execution mode per brief:
Queue: picked up by scheduled generation/run.Run now: generates and starts search immediately.
- AI generates search queries from your context + briefs.
- Exa runs search and extracts leads with enrichment hints.
- AI enriches leads (bio, fit score, contact context).
- AI creates a draft campaign per lead for review.
- 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.
- Instantly status + analytics sync hourly; daily digest summarizes what went out.
Controls
| Toggle | What it does |
|---|---|
| System ON/OFF | Master 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
| Time | What happens |
|---|---|
| 8:30 AM | Generate queued search queries from briefs and company context |
| 9:00 AM | Run searches, discover and enrich leads |
| 10:00 AM ET | Autopilot sweep — auto-add top N Ready-to-Add leads + digest email (when enabled) |
| Hourly | Sync campaign status and analytics from Instantly |
| 2:00 PM ET | Send 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
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Frontend | React 19, Tailwind CSS, Radix UI |
| Database + Auth | Supabase (PostgreSQL + Auth) |
| Background Jobs | Inngest |
| Lead Discovery | Exa.ai (Websets API) |
| Email Sending | Instantly.ai |
| AI | OpenAI (GPT-4.1 / GPT-5-mini) |
| Digest Emails | Resend |
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:
- Open your project dashboard
- Go to SQL Editor
- 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:
- Set all environment variables in your hosting platform
- Connect your Inngest app to receive webhooks at
/api/inngest - 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.
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.
A curated list of AI tools for finding customers, social listening, and automated outreach. The modern growth stack.
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.
A practical field guide for founders and small B2B teams. Clear explanations, worked examples, and templates for finding customers and helping them succeed.
AI assistant for international trade — 45 B2B skills (lead gen, OSINT, email, docs, compliance). End-to-end customer development pipeline. Runs locally. 外贸业务员 AI 助手。
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.
Reverse engineer anything with agents, from app behavior down to native binaries.
Free domain registration and practical DNS learning resources for everyone.
