Documentation Index
Fetch the complete documentation index at: https://docs.coval.dev/llms.txt
Use this file to discover all available pages before exploring further.
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
| Use ordinary mode when | Use agent mode when |
|---|---|
| A human is exploring at a terminal | A coding agent, script, or wrapper invokes the CLI |
| You want spinners, prompts, and color | You need a stable contract for parsing |
| You want a pager or table view | You want structured errors and next-action hints |
Quick start
The envelope
Every agent-mode response — success or failure — returns the same top-level envelope.Success
Error
Field reference
| Field | Description |
|---|---|
aci | Open ACI version this envelope conforms to |
ok | true on success, false on error |
resource / operation | The command namespace and verb |
summary | One-line human-facing summary; safe to surface in chat UIs |
data | Operation result. List operations return arrays; one operations return objects |
warnings | Non-fatal advisories the agent should consider before chaining |
next_actions | Suggested follow-up commands with full argv ready to execute |
error | Present only when ok is false |
--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.

