lm with no arguments also starts chat — it’s the default command.
How It Works
When you type a message, the AI:- Interprets your intent — understands whether you want cleaning, enrichment, research, SQL, export, or troubleshooting
- Selects tools — picks the right file, database, LeadMagic, recipe, schedule, or outbound action
- Executes the workflow — runs steps in order, asks before spending credits, and stores results locally
- Streams progress — shows tool calls, progress, and results as the work runs
Example Conversations
Load and enrich a CSV
Load and enrich a CSV
Validate an email list
Validate an email list
Research a company
Research a company
Turn a file into a repeatable workflow
Turn a file into a repeatable workflow
Use local analytics
Use local analytics
Slash Commands
Type/ followed by a command name for quick actions. Type /help to see all available commands.
- Files
- Info
- Config
- Chat
- System
- Enrichment
- Automation & Integrations
Local Context
The chat has access to your local LeadMagic workspace:- Imported CSV and Excel tables
- Query results and visible table columns
- Chat sessions and exported transcripts
- Recipe definitions and schedule history
- Outbound push history
- Account status, credits, and pricing
@ to reference a file and /table or /columns to inspect the current data view.
AI Routing
The CLI routes AI requests through the LeadMagic AI Gateway. Check routing status with:Session Management
Chat sessions are automatically saved and can be resumed later.
Sessions are stored in the local database and persist across CLI restarts.
Keyboard Shortcuts
Next Steps
Command Reference
All commands for non-chat workflows.
Configuration
Database, model, and theme settings.