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
| Flag | Description |
|---|---|
-w, --workspace <dir> | Target workspace directory (defaults to $KANO_WORKSPACE or nearest ancestor folder containing kano.config.yaml) |
--json | Emit structured JSON output for scripts and automation |
Workspace & artifact commands
| Command | Usage & 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 types | List all 38 product artifact types, ID prefixes, and valid statuses |
kano id next <type> | Print the next sequential ID for a given type |
kano context | Output 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=approvedValidation, sync & maintenance
| Command | Usage & notes |
|---|---|
kano validate | Validate frontmatter schemas, IDs, and links (--errors-only, --fix, --dry-run) |
kano migrate | Upgrade files cleanly to the latest schema version (--dry-run) |
kano reindex | Rebuild the workspace search and link index (--embeddings updates semantic vectors) |
kano sync | Run one commit, pull, merge, and push cycle against your Git remote |
Feedback & integrations
| Command | Usage & 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 list | Show 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
| Command | Usage & notes |
|---|---|
kano agent list | List 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 list | List 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
| Command | Usage & notes |
|---|---|
kano serve | Start the local web server (-p, --port, default 3000) |
kano worker | Run the background scheduler for agents, connectors, Git sync, and build nudges |
kano mcp | Start the local stdio MCP server for AI clients |
kano secrets rotate-key | Re-encrypt stored secrets with a new encryption key (--new-key <base64>) |
kano licence status | Check current licence tier and active entitlements |
kano licence install [text] | Install a KANO1.… licence key (--file <path> or standard input) |
kano licence refresh | Refresh renewals or seat updates from Kano Services |
kano licence remove | Remove the stored licence key without touching workspace files |