Skip to main content

Quickstart

Ethos runs on macOS and Linux (x64 + arm64). Windows is not supported in this release — use WSL if you're on Windows.


1. Install

Three install paths. The one-liner is the recommended default.

curl -fsSL https://ethosagent.ai/install.sh | bash

What it does:

  1. Detects your platform (macOS / Linux, x64 / arm64)
  2. Checks for Node 24+ and installs it via nvm if missing
  3. Runs npm install -g @ethosagent/cli

To install and immediately run the setup wizard:

curl -fsSL https://ethosagent.ai/install.sh | bash -s -- --setup

Pin a specific version:

curl -fsSL https://ethosagent.ai/install.sh | bash -s -- --version 0.1.0

2. First run

ethos setup

The wizard asks for:

  • Provideranthropic or openai-compat
  • Model — e.g. claude-opus-4-7, gpt-4o, openrouter/anthropic/claude-3.5-sonnet
  • API key — stored only in ~/.ethos/config.yaml on your machine
  • Default personality — choose from the five built-ins or press Enter for researcher

When the wizard finishes:

ethos chat # open the REPL with the active personality

3. Your config file

The wizard writes ~/.ethos/config.yaml:

~/.ethos/config.yaml
provider: anthropic
model: claude-opus-4-7
apiKey: sk-ant-XXXXXXXXXXXX
personality: researcher

Edit this file directly at any time. Changes take effect on the next ethos chat.

Supported providers:

ValueWorks with
anthropicClaude models (Opus, Sonnet, Haiku)
openai-compatOpenRouter, Ollama, Gemini, any OpenAI-compatible endpoint

4. The ~/.ethos/ directory

~/.ethos/
├── config.yaml ← provider, model, api key, personality
├── MEMORY.md ← rolling project context (updated each session)
├── USER.md ← who you are (role, preferences, expertise)
├── sessions.db ← SQLite session history (WAL + FTS5)
└── personalities/ ← drop custom personalities here

MEMORY.md and USER.md are injected into every system prompt. Edit them directly to give the agent persistent context about you and your work.


5. Chat commands

Once inside the chat, these slash commands are available:

CommandWhat it does
/helpShow all available commands
/newStart a fresh session (history resets)
/personalityShow the active personality
/personality listList all available personalities
/personality <id>Switch to a different personality
/model <name>Show current model
/memoryDisplay the contents of MEMORY.md and USER.md
/usageShow token counts and estimated cost for this session
/exitQuit the chat

Sessions persist across restarts. The session key is scoped to your working directory — different directories get separate conversation histories.


6. Switching personalities

Five personalities ship with Ethos. Each has a curated toolset, a model, and a memory scope:

PersonalityIdentityToolsModelMemory
researchermethodical · cites sources · flags uncertainty8 (web + file + memory)claude-opus-4-7global
engineerterse · code-first · runs commands to verify10 (terminal + file + web + code)claude-sonnet-4-6global
reviewercritical · evidence-based · always explains why3 (file + session search)claude-sonnet-4-6per-personality
coachwarm but direct · question-led · helps you think5 (web + memory + session)claude-opus-4-7global
operatorcautious · confirms before destructive · documents everything7 (terminal + file + code)claude-sonnet-4-6per-personality

See Built-in Personalities for the full toolset per personality.

Switch mid-session:

/personality engineer

Or set a permanent default in ~/.ethos/config.yaml:

~/.ethos/config.yaml
personality: engineer

What's next