CLI commands
ak diagnostics
Export redacted support diagnostics
ak diagnostics
Export redacted support diagnostics
Synopsis
What it does: Collect support-safe diagnostic data for AgentKit troubleshooting. Subcommands redact known secrets, email addresses, and local path prefixes before output.
Who it's for: Closed beta pilots and maintainers preparing issue attachments.
When to use it: Use when filing install, update, adapter, or runtime feedback that needs local health evidence.
Examples: ak diagnostics export --json > agentkit-diagnostics.json ak diagnostics export --offline --json
What changes on disk: Parent command is read-only. Export writes only to stdout unless the shell redirects output.
Output modes: pretty default on TTY (colors, ASCII markers) plain auto when stdout piped or --no-interactive json --json (single-object envelope, NDJSON-safe)
Exit codes: 0 success 1 runtime error 2 invalid flags 3 user-cancel (SIGINT, prompt-cancel)
Options
-h, --help help for diagnosticsSEE ALSO
- ak - AgentKit CLI
- ak diagnostics export - Export a redacted diagnostics bundle