Skip to content

CLI Commands

All flags, subcommands, and arguments are sourced directly from crates/edgecrab-cli/src/cli_args.rs. Run edgecrab --help or edgecrab <subcommand> --help for live output at any time.

Hermes-parity note: EdgeCrab now exposes Hermes-style entrypoints such as chat, model, auth, login, logout, webhook, insights, dump, logs, pairing, memory, honcho, claw, and uninstall directly on the CLI, while still preserving EdgeCrab-native families like plugins, mcp, and profiles. For slash-first flows, edgecrab slash <command...> is the generic DRY bridge into the same TUI command registry used by /help.


EdgeCrab can be installed via npm, pip (PyPI), or cargo — pick whatever fits your environment. No Rust toolchain is needed for the npm or pip methods.

Terminal window
# Global install — adds `edgecrab` to your PATH
npm install -g edgecrab-cli
# Use without a global install
npx edgecrab-cli setup
npx edgecrab-cli "summarise the git log for today"
Terminal window
pip install edgecrab-cli
# Isolated install with pipx (recommended)
pipx install edgecrab-cli
Terminal window
cargo install edgecrab-cli
Terminal window
edgecrab version
# EdgeCrab v<current-version>
# Rust 1.86.0
#
# Supported providers (from model catalog):
# anthropic — Anthropic (ANTHROPIC_API_KEY)
# bedrock — AWS Bedrock (AWS_ACCESS_KEY_ID)
# copilot — GitHub Copilot (GITHUB_TOKEN)
# deepseek — DeepSeek (Provider configured via model catalog/runtime integration)
# google — Google (Provider configured via model catalog/runtime integration)
# groq — Groq (Provider configured via model catalog/runtime integration)
# huggingface — Hugging Face (HUGGINGFACE_API_KEY)
# lmstudio — LM Studio (local) (local, no key)
# mistral — Mistral AI (MISTRAL_API_KEY)
# ollama — Ollama (local) (local, no key)
# openai — OpenAI (OPENAI_API_KEY)
# openrouter — OpenRouter (OPENROUTER_API_KEY)
# vertexai — Vertex AI (GOOGLE_CLOUD_PROJECT + ADC)
# xai — xAI (XAI_API_KEY)
# zai — Z.AI Platform (Provider configured via model catalog/runtime integration)

edgecrab [GLOBAL FLAGS] [PROMPT] -- interactive TUI (default)
|
+-- chat [PROMPT...] -- Hermes-compatible chat entrypoint
+-- model -- open the interactive model picker
+-- new -- interactive wrapper for /new
+-- clear -- interactive wrapper for /clear
+-- retry -- interactive wrapper for /retry
+-- undo -- interactive wrapper for /undo
+-- btw [QUESTION...] -- interactive wrapper for /btw
+-- provider -- interactive wrapper for /provider
+-- prompt [ARGS...] -- interactive wrapper for /prompt
+-- personality [ARGS...] -- interactive wrapper for /personality
+-- reasoning [ARGS...] -- interactive wrapper for /reasoning
+-- yolo [ARGS...] -- interactive wrapper for /yolo
+-- verbose [ARGS...] -- interactive wrapper for /verbose
+-- statusbar [ARGS...] -- interactive wrapper for /statusbar
+-- voice [ARGS...] -- interactive wrapper for /voice
+-- browser [ARGS...] -- interactive wrapper for /browser
+-- reload-mcp -- interactive wrapper for /reload-mcp
+-- slash <COMMAND...> -- run any slash command through the TUI registry
+-- insights [--days N] -- historical usage analytics
+-- setup [section] [--force] -- first-run wizard
+-- doctor -- environment diagnostics
+-- migrate [--dry-run] -- import from hermes-agent
+-- claw migrate [FLAGS...] -- import from OpenClaw
+-- acp [init] -- ACP stdio server / VS Code onboarding
+-- version -- build info + provider list
+-- update [--check] -- channel-aware update workflow
+-- auth <sub> -- Copilot + MCP auth control plane
+-- login <target> -- interactive login/import shortcut
+-- logout [target] -- clear cached local auth state
+-- status -- runtime status summary
+-- dump [--all] -- shareable support snapshot
+-- logs <sub> -- inspect log files
+-- pairing <sub> -- gateway pairing approvals
+-- memory <sub> -- inspect MEMORY.md / USER.md
+-- honcho <sub> -- Honcho-compatible user model
+-- whatsapp -- pair WhatsApp bridge
|
+-- profile <sub> -- named profile management
+-- sessions <sub> -- session history
+-- config <sub> -- config.yaml management
+-- tools <sub> -- tool/toolset inspection
+-- mcp <sub> -- MCP server management
+-- plugins <sub> -- plugin management
+-- skills <sub> -- skill management
+-- cron <sub> -- scheduled prompts
+-- gateway <sub> -- messaging gateway daemon
+-- webhook <sub> -- dynamic webhook subscriptions
+-- completion <shell> -- shell tab-completion script
+-- uninstall -- remove EdgeCrab-managed local artifacts

These flags are accepted by edgecrab and by most subcommands (global = true in clap):

FlagShortDescription
--model <provider/model>-mOverride default model, e.g. openai/gpt-4o
--toolset <list>Comma-separated toolset names or aliases
--profile <name>-pRun under a named profile (does not change sticky default)
--session <id>-sResume a specific session by ID
--continue [title]-CResume the most-recent CLI session (optionally by title)
--resume <id-or-title>-rResume a session by ID or title with fuzzy resolution
--quiet-qSuppress TUI; print only final response (pipe-friendly)
--config <path>-cUse alternate config file instead of ~/.edgecrab/config.yaml
--debugEnable debug logging (RUST_LOG=debug)
--no-bannerSkip the startup ASCII art banner
--yoloStart the session with dangerous-command approvals bypassed

Agent-only flags (only apply when running in interactive / one-shot mode):

FlagShortDescription
--worktree-wCreate an isolated git worktree for this session
--skill <name>-SPreload a skill (repeatable; comma-separated ok)

Terminal window
edgecrab # Interactive TUI
edgecrab chat # Same runtime, Hermes-style entrypoint
edgecrab "summarise the git log" # One-shot with initial message
edgecrab -q "explain this codebase" # Quiet/pipe mode
edgecrab -C # Continue the last session
edgecrab -C "my project" # Continue session by title
edgecrab -r abc123 "add more tests" # Resume session abc123
edgecrab -w "refactor auth module" # New isolated worktree
edgecrab -S security-audit "audit payment" # Preload a skill
edgecrab --model openai/gpt-5 # Override model
edgecrab --toolset coding "write tests" # Use 'coding' toolset only
edgecrab --yolo "fix the build fast" # Disable dangerous-command approval prompts

edgecrab model launches the normal TUI and opens the /model selector immediately. It is intentionally not a separate model-management codepath.

edgecrab slash ... uses the same command parsing and handlers as the in-session slash surface. Examples:

Terminal window
edgecrab slash insights 7
edgecrab slash btw "summarize this branch before I merge it"
edgecrab slash profile

High-frequency Hermes flows also have thin top-level wrappers that forward into the same slash handlers:

Terminal window
edgecrab new
edgecrab btw "quick side question"
edgecrab prompt clear
edgecrab reasoning high
edgecrab reload-mcp

Interactive first-run wizard. Re-run to reconfigure.

Terminal window
edgecrab setup # Full interactive wizard
edgecrab setup model # Model and provider section only
edgecrab setup tools # Toolsets configuration only
edgecrab setup gateway # Messaging platforms only
edgecrab setup agent # Agent personality and memory only
edgecrab setup --force # Overwrite existing config from scratch

The wizard detects API keys from the environment, lets you choose a provider, and writes ~/.edgecrab/config.yaml. On a fresh install it also detects OpenClaw homes and offers to import them before proceeding.


Full diagnostic health check — no flags required.


Check the latest release and apply the update through the install channel that owns the current EdgeCrab binary.

Terminal window
edgecrab update # check and apply when supported
edgecrab update --check # report only

Channel behavior:

  • npm: npm install -g edgecrab-cli@<latest>
  • pipx: pipx upgrade edgecrab-cli
  • pip: python -m pip install --upgrade edgecrab-cli==<latest>
  • cargo: cargo install edgecrab-cli --locked --force --version <latest>
  • brew: brew update && brew upgrade edgecrab
  • source/manual binary: print safe manual guidance
Terminal window
edgecrab doctor

Checks:

  • Config file existence and validity
  • EDGECRAB_HOME directories (memories, skills, state db)
  • Provider API key presence for each configured provider
  • Live provider ping (latency test)
  • MCP server reachability
  • Chrome/Chromium binary for browser tools
  • Gateway platform token presence
  • SQLite database integrity (WAL checkpoint)
  • Available disk space

One-way import from ~/.hermes/ (hermes-agent) into ~/.edgecrab/.

Terminal window
edgecrab migrate # Live migration
edgecrab migrate --dry-run # Preview without writing any files
edgecrab migrate --source /path/to/.hermes

What is imported:

Source (~/.hermes/) Destination (~/.edgecrab/)
------------------------------------------------------------
config.yaml --> config.yaml
memories/ --> memories/
skills/ --> skills/
.env --> .env

Safe to re-run — existing files are skipped or merged, never silently overwritten.


Print build info and supported providers.

Terminal window
edgecrab version
# EdgeCrab v<current-version>
# Rust 1.86.0
# ...providers listed as above...
edgecrab --version
# edgecrab <current-version>

High-level runtime status: active profile, model, gateway, and session count.

Terminal window
edgecrab status

Print a support-friendly runtime snapshot: version, active profile, key paths, provider model, gateway state, and optional local inventory counts.

Terminal window
edgecrab dump
edgecrab dump --all

Inspect log files under ~/.edgecrab/logs/.

Inside the TUI, /log opens a split-pane browser for the same directory. It live-follows by default, F toggles follow mode, Enter opens the selected file in the inspector, and 1-5 persist the default log level.

Terminal window
edgecrab logs list
edgecrab logs path
edgecrab logs path gateway
edgecrab logs show gateway --lines 200
edgecrab logs tail gateway

Manage gateway pairing approvals and the approved-user list.

Terminal window
edgecrab pairing list
edgecrab pairing list --pending
edgecrab pairing approve <platform> <code>
edgecrab pairing revoke <platform> <user-id>
edgecrab pairing clear-pending --platform telegram

Inspect or edit persistent memory files stored under ~/.edgecrab/memories/.

Terminal window
edgecrab memory show
edgecrab memory show user
edgecrab memory edit memory
edgecrab memory path

Hermes-compatible Honcho control plane for EdgeCrab’s local user-model store. EdgeCrab keeps the local JSON store as the source of truth and can optionally enable cloud-sync style behavior through config.

Terminal window
edgecrab honcho status
edgecrab honcho setup
edgecrab honcho setup --cloud-sync
edgecrab honcho mode
edgecrab honcho mode local
edgecrab honcho tokens --context 12 --write-frequency 4
edgecrab honcho list
edgecrab honcho search rust
edgecrab honcho add preference "prefers terse code review findings"
edgecrab honcho remove <id-prefix>
edgecrab honcho identity ./SOUL.md
edgecrab honcho path

Hermes-compatible OpenClaw migration entrypoint. This imports the EdgeCrab-native subset of an OpenClaw home directory and archives the unsupported remainder for manual review under ~/.edgecrab/migration/openclaw/.

Terminal window
edgecrab claw migrate
edgecrab claw migrate --dry-run
edgecrab claw migrate --preset user-data
edgecrab claw migrate --migrate-secrets
edgecrab claw migrate --overwrite
edgecrab claw migrate --source /path/to/.openclaw
edgecrab claw migrate --workspace-target /absolute/workspace
edgecrab claw migrate --skill-conflict rename

Key flags:

FlagDescription
--source <path>Override the detected OpenClaw directory (~/.openclaw, ~/.clawdbot, ~/.moldbot)
--dry-runPreview only
--preset {user-data,full}user-data excludes secrets; full includes allowlisted secrets
--overwriteReplace conflicting target files instead of skipping
--migrate-secretsImport allowlisted secrets even when not using --preset full
--workspace-target <abs-path>Copy OpenClaw AGENTS.md into a workspace
--skill-conflict {skip,overwrite,rename}Control how skill name conflicts are handled

Imported directly:

  • SOUL.md
  • MEMORY.md / USER.md
  • workspace and shared skills into ~/.edgecrab/skills/openclaw-imports/
  • command_allowlist.json
  • messaging .env keys such as Telegram / Discord / Slack / Signal allowlists
  • allowlisted provider secrets
  • model.default, tts.*, mcp_servers, terminal.timeout, timezone, reasoning_effort

Archived for manual review:

  • gateway/session/browser/approval/skills-registry/ui/logging config that does not map 1:1 to EdgeCrab
  • supplemental workspace docs such as IDENTITY.md, TOOLS.md, HEARTBEAT.md, BOOTSTRAP.md

Read historical analytics from the session database.

Terminal window
edgecrab insights
edgecrab insights --days 7

Pair and configure the WhatsApp bridge interactively.

Terminal window
edgecrab whatsapp

Run the ACP stdio server for editor integration, or generate workspace-local VS Code onboarding files.

Terminal window
edgecrab acp
edgecrab acp init
edgecrab acp init --workspace /path/to/repo
edgecrab acp init --force

edgecrab acp init creates .edgecrab/acp_registry/agent.json and .vscode/settings.json in the target workspace. This removes the manual registryDir setup that Hermes still requires.


Generate shell tab-completion scripts. Output the script and source it in your shell’s init file.

Terminal window
edgecrab completion bash >> ~/.bashrc
edgecrab completion zsh >> ~/.zshrc

Manage named profiles. Each profile gets its own isolated home directory under ~/.edgecrab/profiles/<name>/ with its own config, SOUL, memory, skills, plugins, hooks, MCP tokens, and SQLite session store. EdgeCrab seeds bundled starter profiles (work, research, homelab) automatically on normal startup and profile commands.

Terminal window
edgecrab profile list # List all profiles
edgecrab profile create <name> # Create a new profile
edgecrab profile create <name> --clone # Clone current profile (config, .env, SOUL.md)
edgecrab profile create <name> --clone-all # Clone everything including memories/sessions
edgecrab profile create <name> --clone-from other # Clone from a specific profile
edgecrab profile use <name> # Switch sticky default profile
edgecrab profile show [name] # Show a named profile, or print the active profile + home if omitted
edgecrab profile alias <name> # Generate a shell wrapper alias
edgecrab profile alias <name> --name myalias # Alias with a custom name
edgecrab profile alias <name> --remove # Remove the shell alias
edgecrab profile rename <old> <new> # Rename a profile
edgecrab profile export <name> # Export profile as tar.gz archive
edgecrab profile export <name> -o ./backup.tar.gz # Export to a specific path
edgecrab profile import ./backup.tar.gz # Import a profile archive
edgecrab profile delete <name> # Delete a profile (requires confirm or -y)

Running edgecrab -p <name> "prompt" overrides the sticky profile for a single invocation without changing the default.


Manage conversation history stored in the SQLite state database.

Terminal window
edgecrab sessions list # List recent sessions (newest first)
edgecrab sessions browse # Browse sessions interactively
edgecrab sessions browse --query <term> # Full-text search via FTS5
edgecrab sessions delete <id> # Delete a session
edgecrab sessions rename <id> <new-title> # Rename a session
edgecrab sessions export <id> [--format jsonl] # Export: markdown (default) or jsonl
edgecrab sessions prune --older-than 30 # Delete sessions older than N days
edgecrab sessions stats # Show session statistics (counts, DB size)

Inspect and modify ~/.edgecrab/config.yaml without opening a text editor.

Terminal window
edgecrab config show # Print active config as YAML
edgecrab config edit # Open in $EDITOR
edgecrab config set <key> <value> # Set a config key (dotted path)
edgecrab config path # Print path to config.yaml
edgecrab config env-path # Print path to .env

Key path examples: model.default_model, tools.enabled_toolsets, memory.auto_flush, display.show_cost.


Inspect registered tools and toolset composition. Useful for debugging toolset configuration.

Terminal window
edgecrab tools list # List all registered tools and toolsets
edgecrab tools enable <toolset> # Enable a toolset in config.yaml
edgecrab tools disable <toolset> # Disable a toolset in config.yaml

Manage external MCP (Model Context Protocol) servers. Includes a curated preset catalogue for one-command server setup.

Terminal window
edgecrab mcp list # List configured MCP servers
edgecrab mcp search # Browse the curated MCP preset catalogue
edgecrab mcp search github # Search presets matching "github"
edgecrab mcp view <preset> # Show details for a curated preset
edgecrab mcp install <preset> # Install a preset into config.yaml
edgecrab mcp install filesystem --path /tmp # Install with path override
edgecrab mcp test # Probe all configured servers (connectivity + tool count)
edgecrab mcp test <name> # Probe a specific server
edgecrab mcp doctor # Static checks + live probe for all configured servers
edgecrab mcp doctor <name> # Diagnose one configured server
edgecrab mcp add <name> <cmd> [args...] # Add a custom MCP server by command
edgecrab mcp remove <name> # Remove a configured MCP server

HTTP MCP servers can authenticate with bearer tokens from:

  • bearer_token in config.yaml
  • /mcp-token set <server> <token>
  • env-expanded config values such as bearer_token: "${MY_API_TOKEN}"

Manage the authentication state EdgeCrab actually owns today:

  • GitHub Copilot token import and local cache
  • env-backed provider API keys stored in ~/.edgecrab/.env
  • structured provider state stored in ~/.edgecrab/auth.json
  • MCP bearer-token and OAuth token cache state

This is not Hermes’ general multi-provider credential-pool subsystem. EdgeCrab does not yet ship pooled provider rotation, per-provider cooldown reset, or provider-wide OAuth/API-key inventory management.

Terminal window
edgecrab auth list # List Copilot, provider, and MCP auth targets
edgecrab auth status # Same as list, concise overview
edgecrab auth status copilot # Detailed Copilot cache state
edgecrab auth status provider/openai # Show provider token state in ~/.edgecrab/.env and ~/.edgecrab/auth.json
edgecrab auth status mcp/github # Detailed MCP auth path for one server
edgecrab auth add copilot --token <gh-token> # Save a GitHub token for Copilot
edgecrab auth add provider/openai --token <tok> # Save one provider token to ~/.edgecrab/.env and record provider metadata in ~/.edgecrab/auth.json
edgecrab auth add mcp/github --token <tok> # Save a bearer token for one MCP server
edgecrab auth login copilot # Import VS Code Copilot token and warm cache
edgecrab auth login mcp/github # Run interactive OAuth login for one MCP server
edgecrab auth remove provider/openai # Remove one provider token from ~/.edgecrab/.env and clear its auth.json entry
edgecrab auth remove copilot # Clear EdgeCrab's local Copilot token cache
edgecrab auth remove mcp/github # Remove one cached MCP token
edgecrab auth reset # Clear all EdgeCrab-managed local auth caches

Target syntax:

  • copilot
  • provider/<name> for env-backed providers such as openai, anthropic, gemini, openrouter, xai, deepseek, mistral, groq, cohere, perplexity, huggingface, and zai
  • mcp/<server>
  • <server> for a configured MCP server name

Hermes-style shortcuts over edgecrab auth.

Terminal window
edgecrab login copilot # Equivalent to: edgecrab auth login copilot
edgecrab login provider/openai # Provider targets are env-backed and instruct you to use auth add
edgecrab login mcp/github # Equivalent to: edgecrab auth login mcp/github
edgecrab logout # Clear all local Copilot + provider + MCP auth caches
edgecrab logout copilot # Clear only Copilot cache
edgecrab logout provider/openai # Clear one provider token from ~/.edgecrab/.env and its auth.json entry
edgecrab logout mcp/github # Clear one cached MCP token

Manage dynamic gateway webhook subscriptions stored in ~/.edgecrab/webhook_subscriptions.json.

Terminal window
edgecrab webhook list
edgecrab webhook subscribe github --events push,pull_request --prompt "Summarise the repo event"
edgecrab webhook subscribe github --skill code-review --deliver github_comment --deliver-extra repo=org/repo --deliver-extra pr_number=42
edgecrab webhook subscribe alerts --deliver telegram --deliver-extra chat_id=12345 --deliver-extra thread_id=17
edgecrab webhook subscribe github --secret _INSECURE_NO_AUTH --rate-limit 60 --max-body-bytes 2097152
edgecrab webhook remove github
edgecrab webhook test github
edgecrab webhook path

Behavior:

  • The gateway exposes POST /webhooks/<name> for saved subscriptions.
  • Requests are authenticated with X-Hub-Signature-256: sha256=..., a raw 64-char hex HMAC, or X-Webhook-Secret.
  • --secret _INSECURE_NO_AUTH disables secret checking for a route. This is compatibility-focused and should only be used on trusted internal networks.
  • Event filters use X-Event-Type, X-GitHub-Event, or payload.event_type.
  • Duplicate deliveries are rejected when a stable delivery ID is present.
  • Per-route rate limits and maximum body sizes are enforced at ingress.
  • Prompt templates support dot-path placeholders and {__raw__} for the full JSON payload.
  • --skill preloads named skills into the webhook session before the turn runs.
  • --deliver supports Hermes-style final-response routing such as log, origin, telegram, discord, slack, signal, and github_comment.
  • --deliver-extra key=value is template-rendered against the JSON payload before delivery, so values like repo={repository.full_name} and pr_number={pull_request.number} work the same way Hermes operators expect.
  • Matching requests are converted into agent messages and queued into the running gateway, with delivery metadata attached for the final response path.

Manage installed plugins.

Terminal window
edgecrab plugins list # List discovered plugins
edgecrab plugins info <name> # Show one plugin in detail
edgecrab plugins status # Show plugin runtime state
edgecrab plugins install <source> # Install from GitHub, hub:, https://zip, or a local directory
edgecrab plugins enable <name> # Enable without reinstalling
edgecrab plugins disable <name> # Disable without uninstalling
edgecrab plugins toggle [<name>] # Flip enabled/disabled state or print TUI guidance
edgecrab plugins audit --lines 20 # Show recent install/remove audit entries
edgecrab plugins search <query> # Search remote plugin registries
edgecrab plugins search --source hermes <query> # Search Hermes-oriented registries only
edgecrab plugins browse # List plugin search sources and examples
edgecrab plugins refresh # Clear cached plugin hub indices
edgecrab plugins update [name] # Update one plugin or all git-backed plugins
edgecrab plugins remove <name> # Remove an installed plugin

Supported kinds:

  • skill plugins inject SKILL.md into the system prompt
  • tool-server plugins expose subprocess tools over JSON-RPC
  • script plugins expose Rhai-powered local tools

Manage agent skills stored in ~/.edgecrab/skills/.

Terminal window
edgecrab skills list # List all installed skills
edgecrab skills view <name> # Print a skill's SKILL.md
edgecrab skills search <query> # Search local + remote skill sources
edgecrab skills install <path> # Install from a local path
edgecrab skills install edgecrab:<category/path> # Install from a curated remote source
edgecrab skills install owner/repo/path # Install from GitHub
edgecrab skills update [name] # Refresh one or all remote-installed skills
edgecrab skills install official/<cat>/<skill> # Install from the official catalogue
edgecrab skills remove <name> # Remove an installed skill

Manage scheduled prompts.

Terminal window
edgecrab cron list # List scheduled jobs
edgecrab cron status # Show scheduler status
edgecrab cron create "0 9 * * *" "daily brief" # Create a cron job (cron expr + prompt)
edgecrab cron create --name daily "0 9 * * *" "brief" --skill reporter
edgecrab cron edit <id> --schedule "0 8 * * *" # Edit a scheduled job
edgecrab cron run <id> # Run a job immediately
edgecrab cron pause <id> # Pause a job
edgecrab cron resume <id> # Resume a paused job
edgecrab cron remove <id> # Delete a scheduled job
edgecrab cron tick # Fire all due jobs once and exit

Manage the messaging gateway daemon that connects EdgeCrab to external messaging platforms.

Terminal window
edgecrab gateway start # Start gateway daemon (background)
edgecrab gateway start --foreground # Start gateway in foreground (logs to stdout)
edgecrab gateway stop # Stop gateway daemon
edgecrab gateway restart # Stop then start
edgecrab gateway status # Show daemon + per-platform status
edgecrab gateway configure # Interactive platform setup wizard
edgecrab gateway configure telegram # Configure a specific platform

Platforms are enabled and configured via environment variables or config.yaml gateway section — not via gateway start flags. See User Guide → Messaging for per-platform setup.


Remove EdgeCrab-managed local artifacts safely.

Terminal window
edgecrab uninstall --dry-run
edgecrab uninstall --purge-data --yes
edgecrab uninstall --purge-data --purge-auth-cache --remove-binary --yes

Safe defaults:

  • stops the local background gateway if it is running
  • removes profile wrapper scripts created in ~/.local/bin/
  • only removes ~/.edgecrab/ when --purge-data is passed
  • only removes the local Copilot cache when --purge-auth-cache is passed
  • only removes the current edgecrab binary when --remove-binary is passed

Unlike Hermes, EdgeCrab does not blindly delete a source checkout or guess at shell PATH edits during uninstall.


CodeMeaning
0Success
1General error (configuration, provider error)
2Usage error (bad arguments)
130Interrupted by Ctrl-C

  • edgecrab -q "prompt" | your-tool: The --quiet flag suppresses the TUI and prints only the final response. Combine with pipes for scripting and CI.
  • edgecrab --debug 2>&1 | grep edgecrab_core: Filter debug logs to the agent loop only, cutting out the noise from other crates.
  • edgecrab sessions browse --query "my query": FTS5 full-text search across all conversation history — faster than scrolling session lists.
  • edgecrab config set key value avoids opening the YAML editor for single-value changes.
  • edgecrab completion zsh >> ~/.zshrc adds tab-completion for all subcommands and flags.
  • Worktrees for risky refactors: edgecrab -w "refactor auth module" creates a repo-local .worktrees/... checkout so changes don’t land on the current branch until you’re ready. Set worktree: true or EDGECRAB_WORKTREE=1 to make that the default for future launches.

What’s the difference between --quiet and piping the output? --quiet disables the TUI entirely and streams the final text response to stdout. Without it, the TUI overrides terminal control and can’t be piped reliably.

Can I resume a specific session from the command line? Yes: edgecrab --session <id> opens a specific session. Use edgecrab sessions list to find session IDs, or edgecrab --continue to resume the most recent.

How do I run the agent in a cron job? Use --quiet mode so there’s no TUI, and redirect stderr to a log file:

Terminal window
edgecrab -q "summarise new emails and append to daily-report.md" >> /var/log/edgecrab-cron.log 2>&1

Does edgecrab doctor fix problems it finds? No — it diagnoses and reports. To fix, follow the suggested remediation steps it prints.

What does --no-banner do? Suppresses the ASCII art banner on startup. Useful in narrow terminals or environments where the banner garbles output.