LeadMagic CLI Beta
The LeadMagic CLI turns your terminal into a B2B data workspace. Load CSV or Excel files, chat with your data, validate emails, find contacts, enrich companies, run local SQL, automate recurring workflows, monitor job changes, and push clean records into outbound platforms.Key Features
AI Data Chat
Ask for outcomes in plain English: load files, clean rows, enrich contacts, query tables, and export results.
28+ Commands
Direct commands for enrichment, research, recipes, schedules, watch folders, database health, outbound pushes, and more.
Powerful Local Database
Files load into a local analytics database so you can run SQL, inspect tables, track runs, and keep an audit trail.
Automation Built In
Create YAML recipes, schedule them on cron or intervals, or watch an inbound folder and auto-process new files.
What You Can Do
- Chat With Data
- Analyze Locally
- Enrich & Research
- Automate Workflows
- Ship To Outbound
Start an AI chat and describe what you need in plain English:The AI coordinates file loading, column detection, LeadMagic API calls, SQL queries, and exports.
Why It Is Powerful
The CLI is not just a wrapper around API calls. It gives you a local data layer, an AI chat interface, and a job runner in one place:- Local analytics - query your imported files and enrichment output with SQL.
- Credit-aware workflows - estimate costs, check credits, and plan recipe spend before bulk runs.
- Repeatability - save multi-step enrichment logic as recipes and run it on demand, on a schedule, or when files appear in a folder.
- Operational history - inspect database health, job-change run history, schedule runs, and outbound push history.
- AI plus exact commands - chat when you want guidance; use direct commands when you want deterministic scripts.
~/.leadmagic/ or project-local .leadmagic/. Your files stay on your machine unless you choose to submit fields for LeadMagic enrichment.
Get Started
Installation
Install on macOS, Linux, or Windows in one command.
Quickstart
Your first enrichment workflow in 5 minutes.
Command Reference
All major commands, subcommands, and examples.
AI Chat Guide
Natural language chat, slash commands, and session management.