Skip to Content
KanoDocs
Connect & Automate

CLI Reference

Command-line reference for managing local or containerized Kano workspaces, artifacts, search, integrations, agents, and licences.

The kano CLI lets power users, scripts, and terminal-based coding tools interact with any Kano workspace directly from the command line.

Global options

FlagDescription
-w, --workspace <dir>Target workspace directory (defaults to $KANO_WORKSPACE or nearest ancestor folder containing kano.config.yaml)
--jsonEmit structured JSON output for scripts and automation

Workspace & artifact commands

CommandUsage & notes
kano init [dir]Scaffold a fresh Kano workspace with default templates and AGENTS.md (--name <name>, --no-git)
kano new <type> -t <title>Create an artifact (-l, --link kind=ID, -s, --set field=value, --section Heading=text)
kano get <id>Print an artifact's metadata and body (--raw prints untouched Markdown)
kano list [type]Query artifacts (--where field=value, --fields a,b)
kano set <id> <pairs...>Update specific frontmatter fields (status=approved, null removes a field)
kano link <from> <kind> <to>Add a typed link between artifacts (for example kano link INI-007 goals G-002)
kano unlink <from> <kind> <to>Remove a typed link
kano search <query...>Search across all artifacts (--type, --semantic, --keyword)
kano graph <id>Export the traceability graph around an ID (--depth <n>, default 2)
kano history <id>Inspect Git commit history for an artifact
kano typesList all 38 product artifact types, ID prefixes, and valid statuses
kano id next <type>Print the next sequential ID for a given type
kano contextOutput a curated prompt context pack (--pack <name>, default default)
kano new initiative -t "Self-serve onboarding" -l goals=G-001 -s horizon=now
kano list initiative --where links.goals=G-002 --fields horizon,quarter
kano set INI-007 status=approved

Validation, sync & maintenance

CommandUsage & notes
kano validateValidate frontmatter schemas, IDs, and links (--errors-only, --fix, --dry-run)
kano migrateUpgrade files cleanly to the latest schema version (--dry-run)
kano reindexRebuild the workspace search and link index (--embeddings updates semantic vectors)
kano syncRun one commit, pull, merge, and push cycle against your Git remote

Feedback & integrations

CommandUsage & notes
kano feedback add <verbatim>Capture a feedback item (--account, --arr, --segment, --channel, --system, --external-id, --url)
kano feedback import <file>Import feedback from CSV (--map field=Column,..., --system, --channel, --dry-run)
kano integrations listShow connector status, schedules, missing secrets, and last sync summary
kano integrations test <id>Test credentials and connectivity for a connector
kano integrations sync <id>Run a connector sync (--dry-run, --full)
kano integrations log <id>View recent sync history
kano integrations enable <id>Enable a connector (--schedule <cron>)
kano integrations disable <id>Disable a connector

Agents, reviews & operations

CommandUsage & notes
kano agent listList configured agents, active schedules, models, and recent runs
kano agent run <agent>Run an agent manually (-i, --input <text>, --dry-run, --provider <name>)
kano agent runs [agent]List recent runs (--limit <n>, default 20)
kano agent show <run>View run details, token spend, and logs
kano agent cancel <run>Cancel an active run
kano agent revert <run>Revert all commits merged by a completed run and drop open proposals
kano review listList pending agent proposal branches
kano review show <branch>View proposed diff
kano review approve <branch>Approve and merge proposals (--file <path> for per-file approval)
kano review reject <branch>Reject a proposal (--note <text> recorded in agent memory)
kano op [name] [input]List all supported operations or execute one with JSON input

Server, MCP, secrets & licensing

CommandUsage & notes
kano serveStart the local web server (-p, --port, default 3000)
kano workerRun the background scheduler for agents, connectors, Git sync, and build nudges
kano mcpStart the local stdio MCP server for AI clients
kano secrets rotate-keyRe-encrypt stored secrets with a new encryption key (--new-key <base64>)
kano licence statusCheck current licence tier and active entitlements
kano licence install [text]Install a KANO1.… licence key (--file <path> or standard input)
kano licence refreshRefresh renewals or seat updates from Kano Services
kano licence removeRemove the stored licence key without touching workspace files

On this page