Documentation
ReferenceCLIAI agents

AI agents

How the CLI fits an AI coding agent, and what to put in AGENTS.md or CLAUDE.md.

Agents can't click through a browser or answer prompts, and they need output they can parse. The CLI covers each of those:

  • Docs in context. nulvless docs <path> gives the agent the real API instead of a guess.
  • JSON everywhere. --json prints results as JSON on stdout, and errors as one JSON line on stderr.
  • No prompts. Outside a terminal nothing waits for input. Missing values fail with the flag to pass, and commands that change something require --yes.
  • Errors with a next step. Every error carries a hint, such as Run `nulvless login` to sign in.

Instructions for the agent

Add this to your AGENTS.md, CLAUDE.md or editor rules:

Agent instructions

Use the Nulvless CLI (`npx @nulvless/cli`) to work with Nulvless.
Read the docs with `npx @nulvless/cli docs` and `npx @nulvless/cli docs <path>` before
writing integration code. Always pass `--json`, plus `--org` and `--project`.

Docs in the terminal

nulvless docs                 # index of every page
nulvless docs quickstart      # one page as Markdown
nulvless docs sdk/auth > auth.md

docs prints these pages as Markdown, the same content as /llms.txt and the per-page Markdown links on this site.

For prompts per feature, see Vibe coding.

On this page