# Euxis CLI Reference Complete reference for the Euxis command-line interface. ## Quick Reference ```bash euxis check . # Verify a repo (standard mode) euxis triage . # Fast bounded triage (flash mode) euxis review . # Deep verification (standard mode) euxis review . --forensic # Forensic-depth verification euxis certify-readiness . --framework soc2 # Certification readiness euxis compare . # Compare triage vs deep verification euxis stats --last 5 # Recent validation metrics euxis doctor # Environment diagnostics euxis policy show # Inspect active policy ``` ## Table of Contents ### Core Commands - [euxis check](#euxis-check) - Verify a repository or target - [euxis triage](#euxis-triage) - Fast bounded triage scan - [euxis review](#euxis-review) - Deep verification (standard/forensic) - [euxis certify-readiness](#euxis-certify-readiness) - Certification readiness assessment - [euxis compare](#euxis-compare) - Compare triage vs deep verification - [euxis stats](#euxis-stats) - Validation metrics and drift history - [euxis policy](#euxis-policy) - Policy inspection and enforcement ### Lifecycle - [euxis install](#euxis-install) - Bootstrap local installation - [euxis update](#euxis-update) - Refresh metadata and registry - [euxis upgrade](#euxis-upgrade) - Upgrade binary (pull + rebuild) - [euxis uninstall](#euxis-uninstall) - Remove Euxis from this machine - [euxis self](#euxis-self) - Installation introspection ### System - [euxis doctor](#euxis-doctor) - Environment diagnostics - [euxis health](#euxis-health) - Fleet integrity check - [euxis verify](#euxis-verify) - Verify agent prompt integrity - [euxis lint](#euxis-lint) - Lint agent prompts and configs ### Fleet (Advanced) - [euxis playbook](#euxis-playbook) - Execute a playbook manifest - [euxis agent](#euxis-agent) - Manage agents (list/register/unregister) - [euxis combo](#euxis-combo) - Run agent combo (sequential pipeline) - [euxis squad](#euxis-squad) - Squad orchestration - [euxis dispatch](#euxis-dispatch) - Dispatch agents from manifest - [euxis council](#euxis-council) - Multi-agent council deliberation - [euxis loop](#euxis-loop) - Agent feedback loop - [euxis synthesize](#euxis-synthesize) - Synthesize agent outputs - [euxis ci](#euxis-ci) - CI-ready repo verdict ### Knowledge - [euxis cortex](#euxis-cortex) - Semantic memory (remember/recall/forget) - [euxis graph](#euxis-graph) - Knowledge graph operations - [euxis codex](#euxis-codex) - Template codex (list/render/validate) ### Aliases | Alias | Resolves to | |-------|-------------| | `quick` | `triage` | | `deep` | `review` | | `diag` | `doctor` | | `metrics` | `stats` | | `pb` | `playbook` | --- ## Core Commands ### euxis check **Synopsis:** `euxis check [target] [options]` **Description:** Primary repository verification command. Runs the verdict engine in standard mode by default. **Arguments:** - `target` - Path, URL, or named target. Defaults to current directory. **Options:** - `--triage` - Run fast triage instead of standard verification - `--standard` - Force standard mode (default) - `--forensic` - Run the most exhaustive verification - `--policy [path]` - Apply policy evaluation - `--ci` - Emit CI-safe output (JSON to stdout, TUI to stderr) - `--json` - Emit artifact JSON to stdout **Examples:** ```bash euxis check . euxis check /srv/project --ci euxis check https://github.com/org/repo --policy euxis check . --forensic --json ``` **See Also:** [euxis triage](#euxis-triage), [euxis review](#euxis-review), [euxis playbook](#euxis-playbook) --- ### euxis triage **Synopsis:** `euxis triage [target] [options]` **Description:** Fast bounded triage scan using flash mode. Runs 2 agents (librarian + reviewer) with a 75-second budget. Ideal for quick screening before deeper analysis. **Arguments:** - `target` - Path, URL, or named target. Defaults to current directory. **Options:** - `--policy [path]` - Apply policy evaluation - `--ci` - Emit CI-safe output - `--json` - Emit artifact JSON to stdout **Examples:** ```bash euxis triage . euxis triage https://github.com/org/repo --ci euxis triage /repo --json ``` **Aliases:** `quick` resolves to `triage` **See Also:** [euxis check](#euxis-check), [euxis compare](#euxis-compare) --- ### euxis review **Synopsis:** `euxis review [target] [options]` **Description:** Deep verification using standard mode (5 agents) or forensic mode (all 11 agents). Standard mode runs with a 3-5 minute budget; forensic with a 10-15 minute budget. **Arguments:** - `target` - Path, URL, or named target. Defaults to current directory. **Options:** - `--forensic` - Run forensic verification (all agents, 10-15 minute budget) - `--policy [path]` - Apply policy evaluation - `--ci` - Emit CI-safe output - `--json` - Emit artifact JSON to stdout **Examples:** ```bash euxis review . euxis review . --forensic euxis review /repo --policy strict.json --ci ``` **Aliases:** `deep` resolves to `review` **See Also:** [euxis check](#euxis-check), [euxis triage](#euxis-triage) --- ### euxis certify-readiness **Synopsis:** `euxis certify-readiness [target] [options]` **Description:** Certification readiness assessment across 18 domains with framework-aware overlays. Runs 5 hard gates (commit signing, unit tests, build integrity, documentation, security) and evaluates domain coverage with evidence collection. **Arguments:** - `target` - Path to repository. Defaults to current directory. **Subcommands:** - `controls` - Print the 18-domain control model and critical gates - `report ` - Pretty-print an existing certification artifact **Options:** - `--framework ` - Framework overlay (default: general) - `--strict` - Make soft gates blocking - `--ci` - CI-safe output (TUI to stderr, JSON to stdout) - `--json` - Emit artifact JSON to stdout - `--no-build` - Skip build integrity gate - `--no-tests` - Skip unit test health gate - `--no-security` - Skip security critical gate - `--commit-window ` - Number of recent commits to check for signing (default: 20) - `--since-ref ` - Check commits since this git ref - `--output ` - Custom artifact output path **Examples:** ```bash euxis certify-readiness . euxis certify-readiness . --framework soc2 euxis certify-readiness . --strict --json euxis certify-readiness controls euxis certify-readiness report ~/.euxis/data/runtime/sessions/latest_certification.json ``` **Exit Codes:** - `0` - READY or READY WITH GAPS - `1` - BLOCKED or INCONCLUSIVE - `2` - Usage error or invalid framework **Artifact:** Written to `$EUXIS_HOME/data/runtime/sessions/latest_certification.json`. **See Also:** [euxis check](#euxis-check), [euxis audit](#euxis-audit-run) --- ### euxis compare **Synopsis:** `euxis compare [options]` **Description:** Runs both triage (flash) and standard verification on the same target, then produces an A/B comparison including verdict drift classification (SEMANTIC, MECHANICAL, or MIXED). **Arguments:** - `target` - **Required.** Path, URL, or named target. **Options:** - `--json` - Emit artifact JSON to stdout - `--policy [path]` - Apply policy evaluation **Examples:** ```bash euxis compare . euxis compare /path/to/repo euxis compare https://github.com/org/repo ``` **See Also:** [euxis stats](#euxis-stats) --- ### euxis stats **Synopsis:** `euxis stats [options]` **Description:** Displays validation metrics, drift history, and baseline compliance from the verdict history. Reads targets from `data/config/targets.json`. **Options:** - `--since ` - Filter history by date - `--last ` - Show only last N runs - `--check-baseline` - Exit non-zero if targets are not met (CI mode) - `--json` - Emit JSON output **Examples:** ```bash euxis stats euxis stats --since 2026-03-14 euxis stats --last 10 euxis stats --check-baseline # exit 1 if targets violated ``` **Aliases:** `metrics` resolves to `stats` **See Also:** [euxis compare](#euxis-compare) --- ### euxis policy **Synopsis:** `euxis policy [options]` **Description:** Policy inspection and enforcement. Manage and evaluate policy rules against verdict artifacts. **Subcommands:** - `show` - Display the active policy file - `validate [path]` - Validate policy JSON syntax and check for unknown fields - `check [target]` - Evaluate policy against the latest verdict artifact. If a target is provided, runs a fresh verification with policy applied. **Examples:** ```bash euxis policy show euxis policy validate data/config/policy.json euxis policy check # check latest artifact euxis policy check . --ci # run fresh verification under policy ``` **See Also:** [euxis check](#euxis-check) --- ## Aliases | Shorthand | Resolves to | Description | |-----------|-------------|-------------| | `quick` | `triage` | Fast screening alias | | `deep` | `review` | Deep verification alias | | `diag` | `doctor` | Diagnostics alias | | `metrics` | `stats` | Metrics alias | | `pb` | `playbook` | Playbook shorthand | --- ## Lifecycle Commands ### euxis install **Synopsis:** `euxis install` **Description:** Bootstrap a local Euxis installation. Sets up data directories, agent registry, and configuration. --- ### euxis update **Synopsis:** `euxis update` **Description:** Refresh metadata and agent registry from upstream sources. --- ### euxis upgrade **Synopsis:** `euxis upgrade` **Description:** Pull latest changes and rebuild the binary (`git pull && make cpp-build`). --- ### euxis uninstall **Synopsis:** `euxis uninstall` **Description:** Remove Euxis from this machine. Cleans up symlinks, configuration, and data directories. --- ### euxis self **Synopsis:** `euxis self` **Description:** Installation introspection. Shows installation path, version, build info, and configuration status. --- ## System Commands ### euxis **Synopsis:** `euxis [command] [options]` **Description:** Main entry point for the Euxis system. Provides unified access to all Euxis functionality. **Options:** - Standard CLI patterns supported **Examples:** ```bash euxis --version euxis help ``` **See Also:** All other euxis-* commands --- ### euxis-daemon **Synopsis:** `euxis-daemon [interval_seconds]` **Description:** Runs `euxis-kaizen` on a timer with smart change detection. Default interval is 1800 seconds (30 minutes). **Options:** - `interval_seconds` - Override the default interval (seconds) - `-h, --help` - Show help **Examples:** ```bash euxis daemon euxis daemon 900 ``` **See Also:** [euxis-kaizen](#euxis-kaizen) ### euxis-gateway **Synopsis:** `euxis-gateway [options]` **Description:** Runs and manages the Gateway control plane for channels, sessions, and WebSocket clients. **Commands:** - `run` - Start the Gateway - `status` - Show Gateway status - `config` - Print resolved Gateway configuration - `sessions` - List active sessions **Options:** - `--bind ` - Bind address (default: `127.0.0.1`) - `--port ` - Bind port (default: `18789`) - `--config ` - Path to gateway config (default: `~/.euxis/euxis-policy/gateway.json`) - `--auth-mode ` - Override auth mode **Examples:** ```bash euxis gateway run euxis gateway run --bind 0.0.0.0 --port 18789 euxis gateway status euxis gateway config ``` **See Also:** [Gateway Protocol](gateway.md), [Gateway Config](gateway-config.md) --- ### euxis health **Synopsis:** `euxis health [--json]` **Description:** Fleet integrity check: agent registry, provider connectivity, build status, and test health. **Options:** - `--json` - JSON output - `-h, --help` - Show help **Examples:** ```bash euxis health euxis health --json ``` **See Also:** [euxis certify-readiness](#euxis-certify-readiness) ### euxis verify **Synopsis:** `euxis verify --key= [--artifact=]` **Description:** Checks a signed evidence bundle (`*.sigstore.json`, as `euxis attest` writes it) against the signer's Ed25519 public key. The key embedded in a bundle is never trusted: `--key` is required. The transparency log is not checked. **Options:** - `--key=` - Trusted public key of the signer (required) - `--artifact=` - Also check that this file's SHA-256 matches a subject of the statement **Exit codes:** 0 the signature verifies; 1 `--key` missing or a malformed bundle or key; 4 signature, payload type, keyid or digest mismatch. **Examples:** ```bash euxis verify euxis-evidence.tar.gz.sigstore.json --key=signer.pub euxis verify euxis-evidence.tar.gz.sigstore.json --key=signer.pub --artifact=euxis-evidence.tar.gz ``` **See Also:** [euxis verify-all](#euxis-verify-all) ### euxis verify-all **Synopsis:** `euxis verify-all "" [--dry-run] [--from-gate N]` **Description:** Canonical sequential verification pipeline. Uses the playbook engine when available and falls back to direct delegation. **Options:** - `--dry-run` - Preview without executing - `--from-gate N` - Start from gate N - `-h, --help` - Show help **Examples:** ```bash euxis verify-all "Release readiness for v0.0.20" euxis verify-all "Docs audit" --from-gate 2 ``` **See Also:** [euxis-verify](#euxis-verify) ## Memory & Knowledge ### euxis cortex **Synopsis:** `euxis cortex [args]` **Description:** Cross-platform semantic memory system using vector and graph hybrid storage. Manages episodic, semantic, and procedural knowledge. **Commands:** - `remember 'fact' [source] [--type TYPE]` - Store a memory - `recall 'query' [n] [--type TYPE] [--hybrid]` - Retrieve memories - `relate 'query' --relation ` - Create relationships - `stats` - Show memory statistics - `forget 'text'` - Remove specific memory **Memory Types:** - `episodic` - Specific events, outcomes, timestamps (default) - `semantic` - General facts, rules, relationships - `procedural` - Reusable workflows, patterns, contraindications **Graph Relations:** - `related_to`, `produced_by`, `depends_on`, `contradicts`, `references`, `part_of` **Options:** - `--hybrid` - Combine vector similarity with graph proximity for recall **Examples:** ```bash euxis cortex remember 'Deployed v0.0.20 to staging, all tests passed' 'gatekeeper' --type episodic euxis cortex recall 'auth token' 5 --hybrid euxis cortex relate 'JWT implementation' auth-module --relation part_of ``` **See Also:** [euxis-graph](#euxis-graph), [euxis-codex](#euxis-codex) --- ### euxis graph **Synopsis:** `euxis graph [args]` **Description:** Query entities, add edges, and traverse the knowledge graph for semantic connections between agents, concepts, and code. **Commands:** - `query ` - Look up an entity and its relationships - `add-edge ` - Create a relationship between entities **Examples:** ```bash euxis graph query "auth-module" euxis graph add-edge source target relationship ``` **See Also:** [euxis-cortex](#euxis-cortex) --- ### euxis codex **Synopsis:** `euxis codex [args]` **Description:** Prompt template library: list, render, and validate battle-tested templates for structured agent output. **Commands:** - `list` - List available templates - `render