CLI Overview
Ash provides a comprehensive CLI for interacting with your assistant.
Usage
uv run ash [OPTIONS] COMMAND [ARGS]Global Options
| Option | Description |
|---|---|
--help | Show help message |
--version | Show version |
Commands
| Command | Description |
|---|---|
init | Initialize configuration file |
chat | Interactive chat or single prompt |
serve | Start the server |
config | Configuration management |
memory | Memory management |
sessions | Session management |
schedule | Scheduled task management |
skill | Skill management |
sandbox | Sandbox management |
db | Database operations |
upgrade | Run migrations and checks |
service | Service management |
Getting Help
Get help for any command:
uv run ash --helpuv run ash chat --helpuv run ash memory --helpEnvironment Variables
| Variable | Description |
|---|---|
ASH_CONFIG | Config file path |
ANTHROPIC_API_KEY | Anthropic API key |
OPENAI_API_KEY | OpenAI API key |
TELEGRAM_BOT_TOKEN | Telegram bot token |
BRAVE_SEARCH_API_KEY | Brave Search API key |
SENTRY_DSN | Sentry DSN |
Quick Start
-
Initialize configuration:
Terminal window uv run ash init -
Add your API keys to
~/.ash/config.toml -
Run setup tasks:
Terminal window uv run ash upgrade -
Start chatting:
Terminal window uv run ash chat
Running as a Service
For persistent operation with Telegram:
# Install as system serviceuv run ash service install
# Start the serviceuv run ash service start
# View logsuv run ash service logsSee service for details.