.nika.yaml file, you review it, the runtime enforces it, and it
runs again next week without re-prompting.
Two commands wire any agent:
nika init: teach the repo
nika init drops three files at the repo root (idempotent: existing files are
skipped, --force overwrites):
AGENTS.md, the agent operating guide: the four verbs, the authoring loop (nika new --from <template>→ fill →nika check→ repair from the error), and the rules that keep generated workflows valid. Read natively by Codex, Claude Code, Cursor, Jules and every AGENTS.md-aware tool..vscode/settings.json: maps*.nika.yamlto the canonical JSON schema, so completions and validation work in any YAML-aware editor..cursor/rules/nika.mdc, the Cursor rules file (globs*.nika.yaml): the syntax floor + the check loop, auto-attached whenever the agent touches a workflow file.
nika wire: give the agent the real oracle
nika wire patches your client’s MCP config to add Nika’s read-only
oracle: the agent can check and explain, never execute (nika run
stays in your hands):
| Client | Command | What it patches |
|---|---|---|
| Claude Code | nika wire claude | ~/.claude.json → mcpServers.nika |
| Cursor | nika wire cursor | ~/.cursor/mcp.json |
| Windsurf | nika wire windsurf | ~/.codeium/windsurf/mcp_config.json |
| VS Code | nika wire vscode | .vscode/mcp.json (project-local) |
| Everything | nika wire all | all of the above |
nika_check: the full static audit (plan · cost ceiling · secret flows · types · tool args · schema) as structured JSON. The agent fixes its own file before you ever see it.nika_explain: anyNIKA-XXXerror code, explained.
Codex has no
wire target yet. It doesn’t need one to author well:
it reads AGENTS.md natively, and any MCP-capable client can add the
oracle manually (command: nika, args: ["mcp"], stdio).The loop
Editor surface
The VS Code / Cursor / Windsurf extension adds check-as-you-type, cost inlay hints, DAG visualization and trace replay on top. See Editors.Read next
Agent authoring protocol
The deterministic path: template → fill → check → repair.
Templates
Six valid skeletons
nika new --from instantiates.