Coval’s agent mode implements Open ACI, an open draft specification (v0.1) for agent-native command-line interfaces. The Coval CLI is its reference implementation.
--agent. It turns every command into a non-interactive call that returns a stable JSON envelope, suppresses prompts and progress UI, and emits suggested next actions for an orchestrating agent to chain on.
When to use it
Quick start
The envelope
Every agent-mode response — success or failure — returns the same top-level envelope.Success
Error
Field reference
Agent mode takes precedence over
--format json and disables interactive prompts, progress bars, audio downloads, and not-found hints that would otherwise write to stderr.
Discovery
Two commands let an agent introspect the CLI without prior knowledge of its surface.agent doctor
Reports whether the CLI is installed, authenticated, and able to reach the API. Run this first when bootstrapping.
agent manifest
Returns the full set of resources, operations, supported profiles (structured input, next actions, skills), and help_argv pointers. Agents should call this once per session and rely on --help for exhaustive flag detail rather than caching command shapes.
Resource context
Every resource exposes acontext subcommand that describes its operations, required fields, and primary next actions — without making a network call or requiring auth.
context to plan a chain of calls before executing any of them.
Structured input with --input-json
Body-bearing commands (create, update, launch, submit) accept structured input via --input-json. Explicit CLI flags overlay the JSON, so agents can pass a base payload and override individual fields.
invalid_input error rather than a free-text parse message.
Agent skills
agent skills lets an agent enumerate and install local skill bundles. By design there is no embedded catalog and no hardcoded remote source — agents must clone or pin a skills repo locally and point at it explicitly.
COVAL_SKILLS_SOURCE, COVAL_SKILLS_DEST.
Remote sources (URLs) are rejected with a structured error directing the agent to clone and pin the skill repository locally. Skill IDs containing path traversal are rejected before any filesystem access.
Safety model
next_actionscarry asafeboolean and arequires_confirmationflag. Mutating actions (skill installs, runs launch, etc.) are marked accordingly so an orchestrator can gate them.- Agent mode never prompts. A command that would prompt in human mode returns an error envelope in agent mode.
- Stdout is the envelope only. Diagnostic chatter that humans see (progress, hints, audio paths) is suppressed.