--auto-approve. This page explains how both modes work and how to control a running session.
Session modes
Cynative offers three session modes that share the same underlying engine: Interactive session — barecynative with no arguments opens a full REPL with line editing and command history (arrow keys). Type tasks, see tool calls, approve or deny them, and follow up with new questions.
-p / --print flag runs a single task non-interactively and exits. Use this for scripts, CI pipelines, and pipes. The exit code carries the verdict.
Approval flow
Before every tool call, Cynative presents the tool name and its full arguments for your review and waits for a single keystroke:
The approval prompt appears regardless of whether you started Cynative with a bare command, a seeded task, or
-p. The only way to skip it is --auto-approve (see below).
Always provide the least-privileged credentials needed for your task. The action gate enforces a read-only policy before credentials are attached, but it is not a substitute for appropriately scoped credentials.
Stopping a task
While a task is running you can stop it gracefully at any time: Press Esc or Ctrl-C once — Cynative sends a graceful-stop signal. The agent finishes any already-running tool call, then stops and prints⏸ Stopped. Pressing again with a task still running forces an immediate exit with code 130.
Automatic halt — when the agent hits repeated tool errors or repeated denials, it stops automatically, summarizes what it is blocked on, and asks for the missing information. You can provide it and continue, or end the session.
Both paths are safe: Cynative never leaves a dangling credential or an open API connection when it stops.
Auto-approve
When there is no controlling terminal — in CI, cron jobs, Docker containers, or any non-interactive script — there is no one to pressy. Use --auto-approve to skip the approval prompt:
--auto-approve composes freely with all other flags:
--auto-approve, every tool call runs immediately without prompting. Code execution scripts are still shown on stdout before they run (use -v to also stream each inner call result to stderr), but no keystroke is required.
Bash completion
Cynative ships completion scripts for Bash, Zsh, Fish, and PowerShell. Each subcommand’s--help has full install instructions:

