Skip to main content

CLI Commands

The eve CLI is the single entry point to the Eve Horizon platform. Every operation -- from bootstrapping a local cluster to deploying production services, creating AI jobs, and managing secrets -- runs through it. The CLI is designed to work identically for humans and AI agents.

This page is an overview and quick-reference card. For full usage details, flags, and examples on every subcommand, see the CLI Appendix.

Global Flags

These flags apply to every command:

FlagDescription
--helpShow help for the current command or subcommand
--jsonOutput machine-readable JSON instead of formatted text
--profile <name>Use a named repo profile (stored in .eve/profile.yaml)
--api-url <url>Override the Eve API URL for this invocation
--org <id>Override the default organization ID
--project <id>Override the default project ID

Profiles store persistent defaults so you do not need to repeat --org, --project, or --api-url on every call. See eve profile for setup.

Command Categories

Getting Started

CommandDescription
eve initInitialize a new project from a starter template

Project Management

CommandDescription
eve orgManage organizations -- list, create, update, delete, members
eve projectManage projects -- ensure, sync manifest, status, members
eve manifestValidate manifests for schema correctness and required secrets
eve profileManage repo-local CLI profiles (API URL, org, project defaults)

Development

CommandDescription
eve localManage a local k3d Kubernetes cluster running the Eve platform
eve dbInspect and query environment databases -- schema, RLS, SQL, migrations
eve apiExplore project API sources, view specs, call endpoints with Eve auth

Jobs & Execution

CommandDescription
eve jobCreate, list, update, claim, follow, and review jobs
eve superviseLong-poll for child job events (lead agent coordination)
eve harnessInspect available harnesses, variants, and auth status

Deployment

CommandDescription
eve envManage environments -- create, deploy, rollback, reset, diagnose, logs
eve buildManage builds -- create specs, trigger runs, view logs and artifacts
eve releaseResolve and inspect releases by tag
eve pipelineRun and inspect manifest-defined pipelines
eve workflowInspect and invoke manifest-defined workflows

Events & Webhooks

CommandDescription
eve eventEmit and inspect events for app integration and pipeline triggers
eve webhooksManage outbound webhook subscriptions, delivery logs, and replays

Agents & Chat

CommandDescription
eve agentsInspect agent policy config, sync agents/teams/chat config
eve packsManage AgentPack lockfile and resolution
eve skillsInstall skills from a URL, GitHub repo, or skills.txt manifest
eve chatSimulate chat messages for gateway testing
eve threadManage org-scoped coordination threads for agent teams
eve integrationsManage chat integrations (Slack)

Auth & Secrets

CommandDescription
eve authAuthenticate via SSH challenge, manage tokens, sync AI credentials
eve accessCheck permissions, manage roles and bindings, sync policy-as-code
eve secretsManage secrets at system, org, user, or project scope
eve adminAdministrative operations -- invite users, manage ingress aliases

Knowledge

CommandDescription
eve docsManage versioned org documents -- write, read, search, review lifecycle
eve memoryManage canonical agent memory namespaces backed by org docs
eve kvAgent key-value state with optional TTL
eve searchUnified org search across memory, docs, threads, attachments, events
eve fsManage org filesystem sync links, events, and diagnostics
eve resourcesResolve resource URIs into content snapshots

Observability

CommandDescription
eve analyticsOrg analytics -- job counts, pipeline success rates, environment health
eve systemSystem health, status, logs, pods, events, orchestrator settings (admin)

Inference

CommandDescription
eve ollamaManage inference targets, model installs, aliases, and route policies

Migration

CommandDescription
eve migrateMigration helpers for upgrading config formats (e.g., skills-to-packs)

Common Workflows

First-time setup

# Initialize a new project
eve init my-project
cd my-project

# Configure a CLI profile with your org and project
eve profile set --org org_xxx --project proj_xxx

# Authenticate
eve auth login --email you@example.com

Create and follow a job

# Create a job (defaults to 'ready' phase, immediately schedulable)
eve job create --description "Fix the login bug in auth.ts"

# Stream execution logs in real time
eve job follow MyProj-abc123

# Wait for completion with exit code
eve job wait MyProj-abc123 --timeout 300

Deploy to an environment

# Sync your manifest to the API
eve project sync

# Deploy via the environment's pipeline
eve env deploy staging --ref main --repo-dir .

# Check deployment status
eve project status --env staging

Manage secrets

# Set a project-level secret
eve secrets set GITHUB_TOKEN ghp_xxx --project proj_xxx --type github_token

# Validate manifest-required secrets
eve secrets validate --project proj_xxx

# Sync local AI tool credentials
eve auth sync --project proj_xxx

Environment Variables

The CLI reads these environment variables when present:

VariablePurpose
EVE_API_URLDefault API URL (overridden by --api-url or profile)
EVE_JOB_IDCurrent job ID (set automatically inside job runners)
EVE_AGENT_IDAgent identifier (set automatically inside job runners)
EVE_ATTEMPT_IDCurrent attempt UUID (set automatically inside job runners)
EVE_PARENT_JOB_IDParent job ID for coordination (set for child jobs)
EVE_PROJECT_IDCurrent project ID (set automatically in deployed services)
EVE_ORG_IDCurrent org ID (set automatically in deployed services)

Next Steps

  • CLI Appendix -- full usage, flags, and examples for every subcommand
  • Manifest Schema -- the .eve/manifest.yaml field reference
  • Job API -- job lifecycle, creation parameters, and control signals