Agents can click. That is not the whole answer.
The API, CLI and tool server have different jobs
Products already show the pattern
What I want from an agent-ready CLI
- Discoverability: clear help and examples, including how to select the right account or environment.
- Structured output: stable fields and identifiers that a caller can parse instead of scraping a presentation table.
- Complete reads: pagination and explicit completeness signals so a partial result does not look like the whole dataset.
- Clear errors: distinguish permission failures, missing objects, invalid input and transient service failures.
- Safe writes: previews where appropriate, predictable retry behavior and a way to avoid duplicate creation after an uncertain response.
- Read-back: retrieve the exact target after a write, rather than treating an exit-zero command as proof of the intended change.