docsQuick Start

Quick Start

Get SmartChats running on your machine in under two minutes.

Installation

curl -fsSL https://smartchats.ai/install | bash

Linux users. The tar and unzip packages are required (preinstalled on most distros). If missing: sudo apt install tar unzip on Debian/Ubuntu, sudo dnf install tar unzip on Fedora. Kernel ≥ 3.10; check with uname -r.

To check that smartchats was installed successfully, open a new terminal window and run:

smartchats --version
# Output: 0.x.y

If you’ve installed smartchats but are seeing a command not found error, you may have to manually add the installation directory (~/.smartchats/bin) to your PATH.

Upgrading

Once installed, smartchats can upgrade itself:

smartchats upgrade

Re-runs the installer pinned to the latest release.

npm users: npm install -g smartchats-ai@latest instead.

Quick start

After installing, run the guided setup:

smartchats setup
`smartchats setup` — the install + first-run flow on macOS (Apple Silicon)

The wizard will:

  1. Check your system (bun runtime, SurrealDB binary, disk space).
  2. Collect your API keys for OpenAI (required), Anthropic, Google Gemini, Serper (all optional).
  3. Build whatever the stack needs.
  4. Start everything and open the app on http://localhost:3000.
# In a different terminal — check what's running:
smartchats status
 
# Stop the stack:
smartchats stop
 
# Tail logs:
smartchats logs -f
 
# Add or change provider API keys later (interactive):
smartchats env
# Then `smartchats restart` to pick up the changes.

That’s it. Talk to the agent.

What’s next

  • CLI Reference — every command and flag.
  • Self-Hosting — long-form guide: env-var management, BYO database, running on a VPS, bearer auth.
  • Architecture — how voice, agent runtime, knowledge graph, and sandboxed execution fit together.
  • MCP — expose smartchats to Claude Desktop and other MCP-aware tools.

Use the hosted SaaS instead

Don’t want to run infrastructure? Sign up at smartchats.ai — same stack, managed billing, no install. Free tier included.