Requirements
Backend
Python 3.12 or 3.13(3.14 not supported yet)
Desktop App
Node.js 18+Rust toolchain
Optional
OllamaFor local AI and RAG
Quick Install (Linux / macOS)
The fastest way to get started using the control script:http://localhost:8010.
Platform-Specific Installation
- macOS
- Linux
- Windows
Prerequisites
Install Python 3.12 or 3.13 using Homebrew:Backend Setup
Start Backend
Desktop App
Install dependencies and run in development mode:Build Release (DMG)
src-tauri/target/release/bundle/dmg/.Apple Notes Integration: When running the backend, launch it from Terminal (not as a background service). The first time you ask Asta to check notes, macOS will prompt for permission. Approve it so the backend process can access Notes.
Environment Configuration
Copy.env.example to backend/.env and configure your settings:
Essential Variables
Groq API key (recommended for speed)
Google Gemini API key
Claude API key from Anthropic
OpenAI API key
OpenRouter API key (access to 300+ models)
Ollama server URL for local AI
Security Settings
Comma-separated directories for file access (e.g.,
/Users/you/Documents,/Users/you/Notes)Comma-separated list of executable binaries Asta can run (e.g.,
memo,things)Execution security mode:
allowlist- Only allowed binaries (default, recommended)full- Allow any command (dangerous)deny- Disable exec completely
JWT signing secret (auto-generated on first login if not set)
Optional Integrations
Bot token from @BotFather
Spotify app client ID from developer dashboard
Spotify app client secret
Hugging Face token for FLUX.1-dev image generation fallback
Multi-User Authentication
On first run with no users in the database, Asta operates in single-user mode (open access, no login required).Enable Multi-User Mode
Create the first admin user via the API (while in single-user mode):- The desktop app will show a login screen
- Sign in with the admin credentials
- Admin can create additional users from Settings → Users
- Users can self-register via the login page
User Roles
Admin
Full Access
- All settings and configuration
- User management
- Skills, tools, and agents
- Exec, files, and reminders
User
Limited Access
- Chat with safe tools only
- Web search, weather, math, GIFs, PDF, time
- No settings or admin features
- No exec, files, or reminders
JWT tokens are auto-generated on first login and stored in
backend/.env as ASTA_JWT_SECRET. Tokens expire after 30 days.Optional: Ollama Setup
Ollama provides local AI inference and embeddings for RAG (learning/knowledge).Install Ollama
- macOS
- Linux
- Windows
Setup for RAG
Use the provided setup script:backend/.env:
If Ollama is unavailable, learning/RAG endpoints will be disabled until it’s running.
Control Script Reference
Theasta.sh script provides commands for managing the backend:
What asta.sh start Does
Pre-Built Releases
For end users who don’t want to build from source: Download the latest release from GitHub Releases:macOS (Apple Silicon)
Asta_<version>_aarch64.dmgmacOS (Intel)
Asta_<version>_x64.dmgWindows
Asta_<version>_x64-setup.msiTroubleshooting
Address already in use (8010)
Address already in use (8010)
The port is occupied by a previous instance:Or manually kill the process:
Cannot reach Asta API / API off
Cannot reach Asta API / API off
Backend is not running. Start it:Or manually:
No AI provider available
No AI provider available
Add at least one API key to Then restart:
backend/.env:Backend can't find .env
Backend can't find .env
The backend reads
backend/.env only (not root .env):Wrong Python version
Wrong Python version
Install Python 3.12 or 3.13:
Reminders not firing
Reminders not firing
Reminders are loaded on backend startup. Restart once:
faster-whisper is not installed (audio notes)
faster-whisper is not installed (audio notes)
Reinstall dependencies:First run may download the Whisper model (~140 MB).
Tauri build fails
Tauri build fails
Ensure you have the Rust toolchain:Then try building again:
Next Steps
Configuration
Configure API keys, skills, and advanced settings
Desktop App
Learn about the Tauri-based desktop application
Telegram Bot
Set up Telegram integration for mobile access
Skills
Enable and configure built-in skills