AGPL-3.0-or-later · forever.
Nika · Open-source workflow engine

Say it once. Keep it as a file.

Checked before it runs. Run with the model you choose. Proven afterwards.

Nika turns the AI work you repeat into a readable workflow that stays yours. One Rust binary with a terminal UI and a CLI, plus a TypeScript SDK. Open source, no Nika account. See a recorded run →

curl -LsSf https://nika.sh/install.sh | sh

v0.124.3 · current open-source release · maintained

  1. Say ita .nika file you keep
  2. Check itbefore any model is called
  3. Run itwith the model you choose
  4. Prove itnika trace verify
Terminal UI · CLI · SDK

One engine. Three ways in.

The terminal UI, the command line and the TypeScript SDK drive the same engine: the same file, the same check, the same record.

Terminal UInikaDescribe the job in plain words. Nika proposes a checked .nika file and saves it only when you say yes.
Command linenika check · nika run · nika trace verifyCheck a file before any model is called, run it with the model you choose, verify its record.
TypeScript SDKnpm install @supernovae-st/nika@0.124.3Run a workflow from your app, get a typed result and verify its receipt.
From workflow to result

One file. A run you can inspect.

Two order records become a Markdown report. No API key, mock, or model needed for this first run. Input → summarize → write → inspect.

Observed result
# Order report
Orders: 2
Total: 30

The run writes report.md and a trace in .nika/traces. The recorded trace has 11 events and an intact chain. It is unsigned, not sealed.

Read the order-report.nika file
order-report.nika
# SPDX-License-Identifier: Apache-2.0# Copyright 2026 SuperNovae Studionika: order-reportpermits:  tools: ["nika:jq", "nika:write"]  fs:    write: ["./report.md"]const:  orders:    - {id: a, amount: 10}    - {id: b, amount: 20}tasks:  summarize:    invoke:      tool: nika:jq      args:        input: ${{ const.orders }}        expression: '{count: length, total: (map(.amount) | add)}'  save:    with:      summary: ${{ tasks.summarize.output }}    invoke:      tool: nika:write      args:        path: ./report.md        content: |          # Order report          Orders: ${{ with.summary.count }}          Total: ${{ with.summary.total }}outputs:  summary: ${{ tasks.summarize.output }}  report: ${{ tasks.save.output }}
Recorded stdout · 0.124.3 (7cc1384b5)
nika check order-report.nikanika run order-report.nika --output json{"report":"./report.md","summary":{"count":2,"total":30}}

Checked and run on 0.124.3 (7cc1384b5). Stdout shown verbatim; progress on stderr is omitted. Download the workflow, save it in an empty directory, then run the commands above.

Problem

Keep the procedure, not only the prompt.

A useful workflow names its inputs, steps, permissions, and outputs. Put that contract beside your code, where you can review and version it.

Explore with your assistant.

Codex or Claude Code can help you design and write a workflow. Keep the resulting procedure in your repository so the next run has an explicit starting point.

Run with an explicit contract.

The steps live in a .nika file. Check names what the file may touch. The engine runs it. The journal says what happened. Checking the journal is not the same as calling the model again.

How permits work
Demonstration

See Nika run.

Watch a real run turn notes into actions, then see a missing permission stop another run. Captured on CLI 0.124.3 and shortened for readability.

· Download GIF · Poster

Notes become action items. nika run meeting-actions.nika --max-cost-usd 0.01
A real run turns notes into named actions under a spending cap.
TranscriptCaptured on CLI 0.124.3 with openai/gpt-6-luna, the model named in the file. Synthetic notes only. Observed $0.000043 · 79 tokens in, 70 out · 2.7s. Condensed measured output, not a real-time recording, not a benchmark. Input: Maya ship the changelog Friday. Leo ping legal about the DPA. Sam book the staging window. The file asks for "due unspecified" when a note gives no day. Result: Maya - ship the changelog (Friday). Leo - ping legal about the DPA (due unspecified). Sam - book the staging window (due unspecified). Output is a string, not a schema object. The trace verifies: 6 events, chain intact, sealed.

· Download GIF · Poster

A missing permission stops the run. nika check denied.nika
Check refuses nika:read with NIKA-SEC-004: permits.tools does not list it. Nothing ran.
TranscriptCaptured on CLI 0.124.3. Condensed measured output. Input: tool nika:read, file ./hello.nika, permits {} (no tools). Result: PERMITS NIKA-SEC-004 (tools), exit 2. Fix: add "nika:read" to permits.tools. Nothing ran.
Four building blocks

Small primitives. Useful workflows.

Connect tasks with dependencies. Keep the model calls, processes, tools, and delegated work visible in the same file.

ThinkinferSend a prompt to the model configured for the workflow.
RunexecRun an explicitly permitted process and use its output.
UseinvokeCall a built-in tool or a configured MCP server.
DelegateagentGive a model a task and an explicit set of tools for its loop.
Check

Check the contract before you run.

Static checks catch invalid structure and declared permission problems. Run checks the execution environment again. The recorded example below was refused, then repaired before execution.

nika checkpr-review.broken.nika
Recorded findings
  1. NIKA-DAG-002 · CONFORM

    unknown dependency: task `judge` depends on `dif`, which does not exist — did you mean `diff`? · → nika explain NIKA-DAG-002

  2. NIKA-SEC-004 · PERMITS

    invoke tool `nika:wrte` is outside permits.tools (task `save`)

  3. NIKA-BUILTIN-001 · TOOLS

    `nika:wrte` names no canonical builtin (task `save`) — did you mean `nika:write`?

Nothing ran

3 findings · refused before execution

refused before executionRecorded on nika 0.124.3
Own

Own your workflows.

Version plain-text files with Git. Run the engine on your infrastructure, configure a supported model, and keep the artifacts and execution records.

Your infrastructureone local binarylocal execution · no Nika account required
Your models18 providersnamed in the spec · 5 local · 12 cloud · mock for rehearsals with no model call · your keys, your seats
Your proofappend-only tracehash-chained record · AGPL engine · Apache-2.0 spec
Open source

Read it. Run it. Help improve it.

The Rust engine is AGPL-3.0-or-later; the language specification is Apache-2.0. 0.124 is the current release line. Work stays focused on maintenance, security and the media capabilities workflows need; native video is planned for 0.125. The current release is v0.124.3, and each companion has its own release and compatibility status.

EngineSource on GitHubThe terminal UI and the CLI in one Rust binary
SpecificationLanguage contractVersioned grammar and conformance fixtures
TypeScriptSDK 0.124.3Run workflows from your app with the bundled engine, or against your own nika serve.
EditorExtension sourceThe editor extension, frozen at 0.120 and not qualified with 0.124: use nika lsp and the JSON Schema.
RegistryTemplates and metadataCheck each template with your engine version before use
Questions

Questions, answered straight.

The real objections, and honest answers. No overclaiming, no dunking on the tools you already use.

How does Nika fit with Codex or Claude Code?

An assistant can help write and review a .nika workflow. Nika checks and executes that file, records the run, and keeps the procedure reusable. It does not promise to turn every request into a working automation.

What is in a workflow?

Inputs, dependencies, outputs, and explicit permissions. The 4 building blocks are infer, exec, invoke, and agent. A plain-text .nika file can be reviewed and versioned with your project.

Does it include every integration?

No. Nika provides built-in tools and can invoke configured MCP servers. You supply the services, credentials, and permissions your workflow needs. It does not provide a managed connector catalog or OAuth platform.

What does checking guarantee?

Check examines the workflow structure and declared effects before execution. Run also checks its environment and enforces supported runtime boundaries. A clean check does not prove that a model answer is correct or that a permitted external program is safe. Review the security documentation for the exact boundary.

Do I need a Nika account?

No account is required to run the local engine. Configure your own supported model or provider when the workflow uses AI. Remote providers receive the data sent to them; external tools and processes have their own behavior.

Which release do these examples describe?

This site describes Nika v0.124.3: its reference catalogs, the first-minute transcript, the keyless order report and the demo reel were captured on that release. Older recordings, such as a blog post written for an earlier release, name the version they were made with. Release notes and binaries are on GitHub Releases. The engine is AGPL-3.0-or-later; the spec is Apache-2.0.

Is Nika ready to use?

Nika v0.124.3 is usable today. 0.124 is the current release line. Work stays focused on maintenance, security and the media capabilities workflows need; native video is planned for 0.125. When a request cannot be expressed, Nika says what stopped it and writes nothing. A clean check describes a file’s structure and boundary, not whether a model answer is right. The known limits of this release are listed in the documentation.