Features

Generated from sdks/kya/features.json by pnpm sync:features. Do not edit by hand. Rows with status planned or flagged are not listed (not live).

Feature What it does Command or flag Status Docs
Print version Prints the installed kya version and exits. kya version, --version, -v, -V stable README
One-line start Shows a plan first (each file, created or merged, exact keys), asks once, then wires the local MCP gate into the coding hosts found on this machine and opens the live report in the background. It ends with a guard proof: three built-in demo calls go through the hook and are blocked, and they are not saved to the trail. kya start, --no-open, --force, --no-gate, --yes, --dry-run, KYA_YES=1 stable README
Undo kya start Reads the manifest of every write, removes only the keys KYA added, deletes files KYA created if unchanged, restores merged files byte for byte, and prints what it left alone. Hook launcher in ~/.kya/bin fails open; kya doctor flags a dead path. kya uninstall, --project, --dry-run, ~/.kya/manifest.json, ~/.kya/bin/kya-hook stable docs/uninstall.md
Stop report server Stops the background report server that kya start began. kya stop, --all stable README
Scaffold config Creates the .kya config folder with sample tools and an env example. kya init, --force stable README
Wire a coding host Writes the KYA MCP server into the config of one coding host (12 hosts). kya connect, --project, --force stable docs/hosts/claude.md
Wire PreToolUse hook Writes the PreToolUse hook for claude, grok or kimi. With –project, the claude hook goes into the project’s .claude/settings.json. kya connect, --hooks stable docs/hosts/claude.md
Point host at gateway Points a coding host at the local kya gateway. kya connect, --gate beta docs/mcp-servers.md
Self-update and version banner Updates kya to the latest npm version. kya start warns when a newer release exists. kya update, --no-update-check, KYA_UPDATE_CHECK stable docs/hosts/codex.md
Node 22 check and handoff Checks the Node version and hands off to a supported Node 22 or newer. none stable README
Homebrew install Installs kya with Homebrew from The-Pixel-Boys tap. brew install The-Pixel-Boys/tap/shield-kya stable README
Scoop install Installs kya on Windows with Scoop. scoop install shield-kya beta README
Team rollout: commit plugin pin Adds a tag-pinned plugin marketplace and an enabled plugin to the project settings for everyone who opens the repo. kya team init, --dry-run beta docs/team-rollout.md
Managed-settings JSON for admins Prints the managed-settings JSON an administrator deploys. kya team managed-settings beta docs/team-rollout.md
Team rollout: guard plugin for a repository Adds a tag-pinned plugin marketplace and the kya-guard plugin to the project settings, prints the exact diff and an agent-guarded README badge that links to the public scoreboard, and is reversed by kya uninstall –project. --guard beta docs/for-maintainers.md, docs/team-rollout.md
Repository policy file Optional .kya/policy.json committed with the repo. Adds deny and requireApprove tool ids for the local gate; it cannot relax a verdict, and an invalid file is ignored with a note. .kya/policy.json beta docs/team-rollout.md
Opt-in usage stats Anonymous usage stats, off by default. Status, on, off, show and reset. kya telemetry, --purge stable docs/telemetry.md
Global activity record Keeps a global activity log in the KYA home folder. Reports read the last 1 MB of it. KYA_HOME stable README
Activity report Writes the activity report as HTML, JSON or Markdown for the last few days or one session. The first panel is Blocked (the last five blocked calls, or a labelled demo before the first one); Certify has its own tab. kya receipt, --open, --days, --session, --q, --json, --out stable docs/report-design.md
Near-miss card Makes a 1200 by 630 image (SVG, and PNG when a renderer is on the machine) about the last call the guard denied: the rule, the host and the date, nothing private. Prints a two-line caption. A button next to each stopped call in the live report, and the command in a saved report. kya receipt, --card stable docs/guard-pack.md
Redacted share link Publishes a redacted summary of the report and prints a public link and a claim link. kya receipt, --share, --share-url, --share-retries, KYA_SHARE_URL beta docs/oss-vs-hosted.md
Share and claim The live report has a Share this report button that makes the redacted public link, with a copy control. The shared page has a claim form: confirm an email address to keep the report and get one summary email each week. A claim never connects a computer: kya login does. Unclaimed links are deleted after 7 days. kya start, kya receipt, --share, kya login, KYA_SHARE_URL beta docs/login.md, docs/activity-record.md, docs/oss-vs-hosted.md
Natural-language search in report Search box in the activity report. none beta README
Map of agent actions Graph and heat views of what KYA recorded for agent actions on this machine. Local only. Advisory. kya map, --days, --json, --html, --session beta docs/map.md
Agent-flow export Writes the local trail as an agent-flow JSONL event log. Classes only, no args. Local only. Advisory. kya export, --format, --days, --session, --out, --force beta docs/map.md
Redacted change previews Shows clipped, redacted change previews on the report. Set KYA_DIFF_PREVIEW=0 to turn them off. KYA_DIFF_PREVIEW stable README
Terminal desk Terminal view with free panes. Actions work on a TTY; –once prints one frame for CI. kya dash, --once, --pane stable README
IoC check Scans this machine for known supply-chain indicators. Read-only and offline. Runs once a day in the background from kya hook and shows in kya doctor, kya dash and kya receipt. kya doctor, kya doctor --iocs, --iocs, --json, KYA_IOC=0, ioc.enabled=false stable docs/ioc-scan.md
Developer posture report (opt-in) Off by default. kya posture on prints the exact report and asks; a send needs the local toggle, a hosted login and the workspace policy. Minimised fields only; the client refuses any report with an environment name or value, a path, a user or host name, or an IP address. Advisory. kya posture, status, on, off, send, --dry-run, --json, label, --yes beta docs/posture.md
Cost showback Observe-only cost showback inside the activity report. none stable docs/certify.md
Never-list block Blocks never-list tools in the PreToolUse hook. kya hook exits 2 on DENY. kya hook stable docs/hosted-hook.md, docs/never-list.md
Guard pack Second layer of local denies in the PreToolUse hook, local and hosted (–plane-config): destructive shell commands, credential reads, secret-shaped writes and secret exfiltration. Four rules ask the person instead of denying (Claude Code permissionDecision ask; other hosts deny). Config and guardAllow come from the user-level ~/.kya/config.json only. kya hook stable docs/guard-pack.md, docs/hosted-hook.md
Advisory hook record Records ALLOW and REQUIRE_APPROVE decisions in the hook. The call proceeds. kya hook stable README
Strict hook mode Strict mode denies advisory decisions in the hook. kya hook, --strict stable README
Local MCP gate server Serves the local MCP gate over HTTP, or over stdio for hosts. kya serve-mcp, --stdio, --port stable docs/mcp-servers.md
Local MCP gateway Governs and audits tool calls to any MCP server through a local gateway. kya gate, kya gate init, kya gate setup, kya gate run, kya gate stop, kya gate status, kya gate doctor beta docs/mcp-servers.md
Destructive names and ADMIN tier denied Gateway policy denies destructive tool names and the ADMIN tier. none beta docs/mcp-servers.md
Auto-import of host MCP servers kya start imports MCP servers found in host configs into the gateway. Turn off with –no-gate or KYA_GATE=off. kya start, --no-gate, KYA_GATE beta README
Evaluate and record a command Evaluates a command and records it in the trail. With –tool-id it never runs anything. With -- <cmd> it runs the command only when the verdict allows. kya wrap, --offline, --hold, --json, --work-item, --tool-id, --irreversible stable docs/host-recipe.md
Policy evaluate, exit codes Evaluates a tool call against policy and exits with a code per verdict. kya eval-tool, --offline, --tool-id, --irreversible, --args, --session-risk, --risk, --approval-status, --sandbox-id stable README
Read-only ORR board Builds a read-only ORR board from producers and writes a report. It is not a second policy point. kya orr run, --path, --producer, --out, --skip-optional-producers, --agentshield-json, --commit-sha, --name, --rubric, --disable-category, --usage, --scorecard, --quiet, --json-stdout, --fail-on, --format stable docs/owasp-mcp-governance.md
Trust baseline gap report Lists gaps in the Agent Trust Baseline from local evidence. kya certify, --window, --fail-on, --open, --json-stdout, --catalog, --out, --format, --quiet stable docs/certify.md
Local attestation Records a local attestation for one requirement ID. kya certify, --attest, --text stable docs/certify.md
Self-signed evidence bundle Writes a self-signed evidence bundle. It shows integrity and key continuity, not identity. kya certify, --sign beta docs/certify.md
EU AI Act mapping Maps certify evidence to EU AI Act articles. none beta docs/certify-eu-ai-act.md
Import foreign traces Imports traces from other tools into the local trail so the report and certify can read them. kya import, --from, --file stable docs/import-agt.md, docs/import-adr-sensor.md, docs/import-openshell.md
Detections and fix briefs Finds detections in the trail, groups them into incidents and writes fix briefs for coding agents. kya investigate, --json beta docs/import-agt.md
Endpoint discovery Scans this endpoint for AI agents, IDEs, runtimes and MCP servers. kya discover, --json, --diff, --push, --file beta docs/discovery.md
Opt-in Firecracker wrap Opt-in sandbox that runs a command inside a Firecracker VM. Not an MCP tool. kya sandbox, --sandbox, --sandbox-id, --cmd, --path, --offline, KYA_SANDBOX beta docs/sandbox.md
Alerts Sends decision alerts and incident alerts to webhooks set in the config file, and shows a desktop notification for each new incident alert. Incident alerts are off by default. kya start offers them once; an optional local triage model is part of the offer. kya alerts, kya alerts status, kya alerts test, kya alerts on, kya alerts off, --json, KYA_ALERTS=on, alerts.desktop, KYA_ALERTS_DESKTOP=off beta docs/alerts.md, docs/oss-vs-hosted.md
Local triage model for security alerts Optional offline model (ModernBERT-base, int8 ONNX, about 150 MB) that adds category, urgency, next step and a benign score to each incident alert. Offered once by kya start (Turn on security alerts? [Y/n]). One sha256-pinned download. Advisory: it never removes an alert and never changes the severity. KYA_ALERTS=on, KYA_ALERTS=off, KYA_TRIAGE_MODEL_PATH beta docs/alerts.md
OTLP export Exports metrics to an OpenTelemetry collector through the gateway OTLP receiver. otlpPort beta docs/otlp.md
OTLP map attributes Adds the target class and the hashed device id to decision spans. Opt-in in the user-level config only. Default off. otlpExport.mapAttrs beta docs/otlp.md
In-process SDK shims Adapters for in-process agent SDKs: Claude Agent SDK, LangGraph, Mastra, OpenAI Agents and Vercel AI. none stable docs/sdk-integrations.md
Python framework shim Python package shield-kya that gives agent frameworks the KYA checks. pip install shield-kya beta docs/sdk-integrations.md
Claude Code plugin Claude Code plugin for kya, installed from the shield-kya marketplace. /plugin install kya@shield-kya stable docs/hosts/claude-plugin.md
Codex plugin Codex plugin for kya. codex plugin add kya@shield-kya stable docs/hosts/codex.md
Copilot CLI plugin Copilot CLI plugin for kya. copilot plugin install kya@shield-kya beta docs/hosts/copilot.md
Gemini CLI extension Gemini CLI extension for kya. gemini extensions install stable docs/hosts/gemini.md
Cursor plugin Cursor plugin manifest for kya. none beta docs/hosts/cursor.md
VS Code extension VS Code extension for kya, published on the Visual Studio Marketplace. none beta docs/hosts/vscode.md
GitHub Action kya-certify GitHub Action that runs kya certify in a workflow. uses: The-Pixel-Boys/kya-action stable README
Org Hold Holds a call for an org approval path instead of observing it. KYA_HOLD, --hold stable docs/certify.md
Plane connection and keys Connects the CLI to the hosted plane with an API key, a base URL, a host and an agent ID. KYA_API_KEY, KYA_BASE_URL, KYA_HOST, --base-url, --api-key, --host, --agent-id stable README
Hosted login (device code) Links this machine to the hosted console with a device code. Saves a full-workspace key with mode 0600 in ~/.kya/hosted-credentials.json. kya login, --base-url beta docs/login.md
Sign out on this machine Deletes the saved hosted key file on this machine. The key stays active on the server until revoked. kya logout beta docs/login.md
Share calls to action One line, at most once a day, after kya certify (gaps), kya receipt, and kya start once the trail has 10 events. Every line asks for kya receipt –share. Silent in CI, non-TTY, KYA_QUIET, KYA_CTA=0 and config opt-out. KYA_QUIET, KYA_CTA beta docs/login.md