SAM

Your Mac's AI assistant.

A native macOS app that understands your entire workflow. Read thousands of files, search semantically, run autonomous agents. Work completely offline or connect to any provider.

Free and open source. macOS 14.0 or later.

SAM

Built for real work.

Understands entire codebases

Point SAM at your project and it reads across thousands of files. Refactor, search, and understand complex codebases with full context.

Semantic memory and RAG

Import documents, link conversations via Shared Topics, and search by meaning. Build knowledge that grows with your projects.

Autonomous agents

Launch agents that work independently. Up to 300 iterations per task. Transparent reasoning at every step.

Your data stays local

Run everything offline with local MLX/GGUF models. Only connect to cloud providers when you choose.

Multi-provider support

Local models, OpenAI, Anthropic, GitHub Copilot, DeepSeek, Google Gemini, OpenRouter. Mix and match across all tools.

Browser access anywhere

SAM Web brings your assistant to any device on your network. Perfect for iPad, iPhone, or any browser.

Track usage and costs

Per-conversation cost tracking shows exactly what you spend with cloud providers. Status bar displays real-time connection and usage info.

Terminal commands and file operations.

SAM executes shell commands, reads and writes files, and orchestrates complex workflows. Built-in tool system with safety validation.

Agents can work autonomously across your entire development environment while you focus on higher-level tasks.

Terminal Integration

Voice input and output.

Speak your questions, listen to responses. Configurable wake words, conversation mode with automatic timeout, adjustable speech speed, and voice selection.

Say "Hey SAM" to activate hands-free. Customize wake words in Sound preferences. Perfect for multitasking or stepping away from the keyboard.

Voice Interface

Train your own models.

Fine-tune with LoRA. Export conversations as training data. Create specialized assistants for any domain.

Full control over model behavior and domain expertise.

Model Training

Get started with SAM.

Download for macOS. No installer, no account, no telemetry.