Quick Start¶
Get Merlya up and running in 5 minutes.
1. First Run - Setup Wizard¶
On first launch, Merlya's setup wizard guides you through configuration:
Language Selection¶
╭─────────────────────────────────────────────────────────────────╮
│ Merlya Setup │
├─────────────────────────────────────────────────────────────────┤
│ Welcome to Merlya! / Bienvenue dans Merlya! │
│ │
│ Select your language / Choisissez votre langue: │
│ 1. English │
│ 2. Français │
╰─────────────────────────────────────────────────────────────────╯
LLM Provider Selection¶
╭───────────────────────────────────────────────────────────────────╮
│ LLM Configuration │
├───────────────────────────────────────────────────────────────────┤
│ 1. OpenRouter (recommended - multi-model) │
│ 2. Anthropic (Claude direct) │
│ 3. OpenAI (GPT models) │
│ 4. Mistral (Mistral AI) │
│ 5. Groq (fast inference) │
│ 6. Ollama (local models) │
╰───────────────────────────────────────────────────────────────────╯
Select provider [1]:
OpenRouter Recommended
OpenRouter offers free models and access to 100+ LLMs. Get your API key at openrouter.ai/keys
Host Discovery¶
The wizard automatically detects hosts from:
~/.ssh/config- SSH configuration~/.ssh/known_hosts- Previously connected hosts/etc/hosts- Local host definitions- Ansible inventory files
2. Manual Configuration (Alternative)¶
If you skip the wizard or want to change settings later:
3. Start the REPL¶
Use /help to list available commands, and /exit to quit.
Experimental Software
Always review commands before executing them on production systems.
4. Try Some Commands¶
Natural Language¶
Merlya > What can you help me with?
I can help you with:
- Managing SSH connections to servers
- Executing commands on remote machines
- Checking system status and metrics
- Automating routine DevOps tasks
Just describe what you need in plain English!
Connect to a Server¶
Merlya > Connect to my-server.example.com and show me the uptime
Connecting to my-server.example.com...
> ssh my-server.example.com "uptime"
14:32:01 up 45 days, 3:21, 2 users, load average: 0.15, 0.10, 0.05
The server has been running for 45 days with low load averages.
Reference Hosts by Name¶
Merlya > Check disk space on web-01 and web-02
> ssh web-01 "df -h /"
> ssh web-02 "df -h /"
Summary:
- web-01: 45% used (55GB free)
- web-02: 62% used (38GB free)
Slash Commands¶
Merlya > /hosts
Name | Hostname | User | Tags
---------|----------------------|--------|------------------
web-01 | web-01.example.com | deploy | ssh-config
web-02 | web-02.example.com | deploy | ssh-config
db-01 | 10.0.1.50 | admin | known-hosts
Common Commands¶
| Command | Description |
|---|---|
merlya | Start interactive REPL |
merlya run "..." | Run command non-interactively |
merlya config list | Show current configuration |
merlya config set KEY VALUE | Set a configuration value |
/help | Show available slash commands |
/hosts | List configured hosts |
/new | Start a new conversation |
/exit | Exit the REPL |
Next Steps¶
- REPL Mode - Deep dive into the interactive interface
- Automation Guide - Non-interactive mode, CI/CD, scripting
- Configuration Guide - Advanced configuration options
- SSH Management - SSH features and connection pooling
- LLM Providers - Configure different LLM providers