Orazaka
Pages of the documentation

CLI reference

One tool for the whole platform: every command, subcommand and option of the orazaka CLI.

🤖 Generated from code by scripts/generate-docs.mjs — do not hand-edit. Run orazaka docs build to refresh.

The orazaka CLI is the single orchestrator of the platform: it clones and configures the workspace, starts the infrastructure, runs the whole stack, tests it, builds these docs and installs packs. No shell script to remember — one command per intent.

Quick start

Requirements: git, JDK 21, Node.js >=22, Docker (Python 3.11+ for the media worker).

bash
npx orazaka install   # no workspace here? clones the platform into ./orazaka, then configures it
cd orazaka && ./mvnw install && (cd orazaka-apps/ui && npm install)
npx orazaka start     # Docker infrastructure (PostgreSQL + pgvector, Redis, RabbitMQ)
npx orazaka dev       # the whole stack: services, web, admin, mobile
bashTerminal
npx orazaka install --yes
npx orazaka start
npx orazaka dev

orazaka on npm is the short name of the canonical package @krizaka/orazaka-cli — both run the same CLI:

bash
npx @krizaka/orazaka-cli install      # the same as npx orazaka install
npm install -g @krizaka/orazaka-cli   # then: orazaka <command>

install --check-only only reports what is missing. start, dev, test and docs run inside a workspace and say how to get one when there is none.

What happens

What each command of the quick start does, in order — the phases it announces, the processes it launches:

Sequence — text version
  1. 1

    orazaka install — Setup wizard — verify tools, install dependencies, and configure deployment topology

    • Tool Verification
    • Install Missing Tools via Homebrew
    • Workspace (no Orazaka workspace here)
    • Media Worker Python Environment
    • Deployment Topology Configuration
  2. 2

    orazaka start — Start Orazaka infrastructure — dev mode (Docker middleware + AI engines) or full mode (also Router + UI)

    • Docker Services (Postgres, Redis, RabbitMQ)
    • AI Engine (Ollama)
    • Image Generation (LocalAI)
    • Image Generation (stable-diffusion.cpp)
    • Media Generation Worker
    • Starting Router (Spring Boot) (--mode full)
    • Starting Next.js UI (--mode full)
  3. 3

    orazaka dev — Launch the full Orazaka application stack in parallel (9 services + Web, Mobile)

    • EDGE :8088
    • ROUTER :8080
    • IDENTITY :8083
    • AUTOMATION :8082
    • KNOWLEDGE :8084
    • JOB :8090
    • BILLING :8095
    • STUDIO :8096
    • NOTIFICATIONS :8097
    • WEB-CLIENT :3000
    • MOBILE :8081
    • worker.yaml

Local dev workflow

The dev loop has two layers — start them in order:

  1. Infrastructure — orazaka start --mode dev brings up the Docker middleware (PostgreSQL+pgvector, Redis, RabbitMQ) and the native AI engines (Ollama, LocalAI, video worker). Inference runs natively on macOS Metal — never in Docker.
  2. Applications — orazaka dev spawns the services (edge, conversation router, identity, automation, knowledge, job, billing, studio, notifications), the Web client, the Web admin and the Expo mobile server in parallel. Prefer to debug the conversation router in your IDE? Run ConversationServiceApplication there and start the rest with orazaka dev --skip-router.

orazaka start --mode full additionally runs the router and the UI for a hands-off boot. Tear everything down with orazaka stop. On a local stack, orazaka demo seed creates the demo persona with its plan, packs and Studios.

ℹ️ start manages infrastructure; dev manages application processes. They are complementary, not alternatives.

Commands

33 commands, 39 subcommands — every one in the table below.

CommandDescription
orazaka agentManage Orazaka local executing agent
orazaka agent listenStart CLI agent listener and reverse tunnel
orazaka chat [prompt...]Execute interactive REPL or single-shot chat
orazaka cinemaA cinematic short (30–60 s) from a brief: script, keyframes, shots, cut, sound — each an ordinary Studio run
orazaka cinema new <dir>Start a production from a brief
orazaka cinema estimate <dir>What the rest of the production will cost and take, before it runs
orazaka cinema run <dir>Run (or resume) the production: script, references, keyframes, shots, cut, voice, sound
orazaka cinema fetch <dir>Download the references, keyframes, shots and the film into the production's folder
orazaka cinema reshoot <dir> <shots>Make shots again (a new seed): their video, then the cut and the sound
orazaka cinema status <dir>Where the production is
orazaka cinema plan <dir>Start a production from a treatment (a directed shot list): no language model, every shot as written
orazaka cinema sheet <dir>Make the reference sheet of each character that has a reference render (kept as drawn, never redrawn)
orazaka cinema jobs <dir>The pending shots as jobs for a GPU host that runs the worker's own generator
orazaka cinema take <dir> <shot> <file>Record a take a GPU host made for a shot
orazaka cinema review <dir> <shot> <file>A take's review sheet: a frame every 8 under the cast's reference sheet
orazaka cinema treat <dir>Write the story of a brief (arc, intentions, purposeful shots, directed lines, music cues, sound list) and judge it
orazaka cinema critique <treatment>Judge a treatment against the rubric (arc, purpose, alive, on-topic, continuity, voice, music, sound)
orazaka cinema timeline <treatment>Place every line, music cue and sound of a treatment on the cut, and say which lines do not fit their shots
orazaka cinema stage <treatment>Check a v3 treatment's staging, camera and cut, and write the questions every keyframe and take must answer
orazaka configInteractive configuration wizard — review and update .env variables
orazaka dbDatabase maintenance operations
orazaka db reseedDrop & re-apply infra/initdb/*.sql (schema + seed). Destroys all local dev data.
orazaka demoDemonstration persona on the local stack (never on a deployed one)
orazaka demo seedCreate or refresh Eric, the demo persona: account, onboarding, plan, packs and Studios (replayable)
orazaka devLaunch the full Orazaka application stack in parallel (9 services + Web, Mobile)
orazaka docsCode-driven documentation: build (generate) | sync (to the site)
orazaka docs buildRegenerate docs/_generated/ from the code
orazaka docs syncCopy docs/ (+ generated) into the Krizaka site content tree
orazaka doctorAdvanced system health check with automatic recovery suggestions
orazaka forgot [email]Request a password reset token via email
orazaka generate (alias gen, scaffold)Generate features, interceptors, connectors, and configurations
orazaka graphDisplay Operation Graph capability matrix
orazaka initInitialize workspace — detects existing projects, validates config, and fixes gaps
orazaka installSetup wizard — verify tools, install dependencies, and configure deployment topology
orazaka login [email] [password]Authenticate and cache JWT token
orazaka logsStream and browse service logs
orazaka mcpManage your private dynamic MCP server connections
orazaka mcp listList your registered private MCP servers
orazaka mcp registerRegister a new private MCP server
orazaka mcp delete <id>Delete a private MCP server by ID
orazaka modelsScan the host hardware and report which catalog models it can run
orazaka models imageLocal image models (stable-diffusion.cpp, Metal): list, download, choose the one served
orazaka models listList the installable image models, their licence, size and whether they are installed
orazaka models pull <id>Download an image model into ~/models/stable-diffusion and verify its checksums
orazaka models use <id>Make an installed image model the catalogue's default — the one orazaka start serves
orazaka onboardFull clone-and-run onboarding: verify prerequisites, compile, smoke-test M2M handshake, and probe local AI runtimes
orazaka packValidate, install and publish pack bundles
orazaka pack validate <directory>Check a bundle's manifest, and whether this platform can run it
orazaka pack install <directory>Install a bundle: capabilities, billing and catalogue, or none of them
orazaka pack publish <directory>Put an installed bundle's pack and Studios on the shelf
orazaka pack list [directory]List the bundles this deployment's pack sources offer
orazaka profileDisplay authenticated user profile information
orazaka recoverDiagnose and recover from common issues
orazaka register [username] [email]Register a new user account
orazaka releaseRelease bundles — check a release manifest and an offline bundle before installing it
orazaka release verify <manifest>Check a release manifest, and with --dir the artefacts of an offline bundle against it
orazaka reset [token]Reset account password using a valid reset token
orazaka settingsManage user settings and preferences
orazaka settings getGet all settings and preferences
orazaka settings set <key> <value>Set a user preference key-value pair
orazaka startStart Orazaka infrastructure — dev mode (Docker middleware + AI engines) or full mode (also Router + UI)
orazaka statusShow live status of all Orazaka services
orazaka stopTeardown the Orazaka infrastructure — containers, workers, and state
orazaka studioBrowse, install and run installable business workflows
orazaka studio listBrowse the Studio catalogue
orazaka studio installedList the Studios you have installed
orazaka studio install <studioKey>Install a Studio into your workspace
orazaka studio run <target>Run an installed Studio — or, with --studio, a toolkit Studio by its key
orazaka studio logs <runId>Show a run's per-step state and results
orazaka test [mode]Run the test pyramid: unit | it (Testcontainers) | e2e (hermetic)
orazaka verify [token]Verify account registration token
orazaka video <prompt>Generate video from a text prompt

Arguments and options

orazaka chat [prompt...]

Execute interactive REPL or single-shot chat

Argument / optionDescription
[prompt...]Optional prompt words for single-shot chat
-t, --textForce text chat mode
-i, --image <path>Analyze a poster image
-a, --audio <path>Analyze an audio clip
-g, --gen-imageGenerate an image
-s, --speechConvert text to speech
-m, --model <model>Specify AI model name
-v, --voice <voice>Specify voice name
-o, --save <path>Specific file path to save output media

orazaka cinema new <dir>

Start a production from a brief

Argument / optionDescription
<dir>The production's folder
-a, --aspect <aspect>9:16 or 16:9 (default: 9:16)
-d, --duration <seconds>30 to 60 (default: 45)
-n, --shots <count>8 to 12 (default: 10)
-l, --language <lang>en or fr (default: en)
--seed <seed>The production's seed (every shot's seed derives from it)
--voice <voice>A voice of the speech catalogue for the voice-over
--voice-model <model>The speech model of the voice-over (e.g. kokoro-82m while a cinema GPU host runs)
--script-model <model>The language model that writes the script (default: the catalogue's)

orazaka cinema estimate <dir>

What the rest of the production will cost and take, before it runs

Argument / optionDescription
<dir>The production's folder

orazaka cinema run <dir>

Run (or resume) the production: script, references, keyframes, shots, cut, voice, sound

Argument / optionDescription
<dir>The production's folder
-y, --yesDo not ask before spending
--max-runs <n>Stop after this many runs (review in between)
--model <name>The video model of the shots (default: wan2.2-i2v-a14b)

orazaka cinema fetch <dir>

Download the references, keyframes, shots and the film into the production's folder

Argument / optionDescription
<dir>The production's folder

orazaka cinema reshoot <dir> <shots>

Make shots again (a new seed): their video, then the cut and the sound

Argument / optionDescription
<dir>The production's folder
<shots>Shot numbers, comma-separated
--new-keyframeMake the keyframe again too

orazaka cinema status <dir>

Where the production is

Argument / optionDescription
<dir>The production's folder

orazaka cinema plan <dir>

Start a production from a treatment (a directed shot list): no language model, every shot as written

Argument / optionDescription
<dir>The production's folder
-r, --references <dir>Where the characters' reference renders are (<name>-alpha.png)
-l, --language <lang>en or fr (the captions) (default: en)
--seed <seed>Overrides the treatment's seedBase
--updateThe treatment changed: keep every shot already made, add the new ones

orazaka cinema sheet <dir>

Make the reference sheet of each character that has a reference render (kept as drawn, never redrawn)

Argument / optionDescription
<dir>The production's folder

orazaka cinema jobs <dir>

The pending shots as jobs for a GPU host that runs the worker's own generator

Argument / optionDescription
<dir>The production's folder
-o, --out <file>Write them to a file instead of printing them

orazaka cinema take <dir> <shot> <file>

Record a take a GPU host made for a shot

Argument / optionDescription
<dir>The production's folder
<shot>The shot's number
<file>The take (mp4)
--seconds <s>How long the host took to make it

orazaka cinema review <dir> <shot> <file>

A take's review sheet: a frame every 8 under the cast's reference sheet

Argument / optionDescription
<dir>The production's folder
<shot>The shot's number
<file>The take (mp4)

orazaka cinema treat <dir>

Write the story of a brief (arc, intentions, purposeful shots, directed lines, music cues, sound list) and judge it

Argument / optionDescription
<dir>Where the treatment and its critique are written
-l, --language <lang>en or fr (default: en)
-d, --duration <s>Seconds of film (default: 60)
-a, --aspect <aspect>16:9 or 9:16 (default: 16:9)
--revisions <n>How many times a rejected draft goes back to the writer (default: 2)
--no-judgeThe rubric alone decides (no language-model judge)
--model <name>The chat model of the writer and the judge

orazaka cinema critique <treatment>

Judge a treatment against the rubric (arc, purpose, alive, on-topic, continuity, voice, music, sound)

Argument / optionDescription
<treatment>The treatment (JSON)
-l, --language <lang>en or fr (default: en)
--judgeAlso ask the language-model judge (a cinematic-critique run)
--model <name>The judge's chat model
-o, --out <file>Write the critique (JSON) there

orazaka cinema timeline <treatment>

Place every line, music cue and sound of a treatment on the cut, and say which lines do not fit their shots

Argument / optionDescription
<treatment>The treatment (JSON)
-l, --language <lang>en or fr (default: en)
--voice <report>The voice step's report: [{id, seconds}] measured per line
--spans <file>The cut's own shot spans ([[start, end], …], e.g. the worker's cut.timeline) instead of back to back

orazaka cinema stage <treatment>

Check a v3 treatment's staging, camera and cut, and write the questions every keyframe and take must answer

Argument / optionDescription
<treatment>The treatment (JSON, with score.bpm, beats, camera, angle, light and staging per shot)
-o, --out <file>Write the frame questions (JSON: per shot, then the take questions) there

orazaka config

Interactive configuration wizard — review and update .env variables

Argument / optionDescription
-l, --listList all current configuration values
-c, --category <name>Jump directly to a specific category

orazaka db reseed

Drop & re-apply infra/initdb/*.sql (schema + seed). Destroys all local dev data.

Argument / optionDescription
-y, --yesSkip the destructive-action confirmation prompt

orazaka demo seed

Create or refresh Eric, the demo persona: account, onboarding, plan, packs and Studios (replayable)

Argument / optionDescription
--freshDelete Eric's conversations first, for a demo that starts from a clean history
--runsAlso run Eric's demo work on this stack: a product photo, a voice-over, a prospect dossier, a lease check, an invoice check
--with-videoWith --runs, also generate a few seconds of video (loads a video model: one heavy job, never by default)

orazaka dev

Launch the full Orazaka application stack in parallel (9 services + Web, Mobile)

Argument / optionDescription
--only <services>Launch only these services (comma-separated: edge,router,identity,automation,knowledge,job,billing,studio,notifications,web,mobile)
--skip-edgeSkip the Edge gateway (strangler facade on :8088)
--skip-identitySkip the Identity service (:8083)
--skip-routerSkip the Router (Spring Boot) backend — run RouterApplication from your IDE instead
--skip-coreDeprecated alias for --skip-router
--skip-automationSkip the Automation service (AMQP on :8082)
--skip-knowledgeSkip the Knowledge service (:8084)
--skip-jobSkip the Job Orchestration service (:8090)
--skip-billingSkip the Billing service (:8095)
--skip-studioSkip the Studio service (:8096)
--skip-notificationsSkip the Notification service (:8097)
--skip-adminDeprecated no-op: the operator console is served by the web client
--skip-mobileSkip Expo mobile server
--skip-webSkip Web client
--skip-workersSkip the Python workers declared by worker.yaml

orazaka docs build

Regenerate docs/_generated/ from the code

Argument / optionDescription
--checkFail if any generated doc is stale (build gate), without writing

orazaka doctor

Advanced system health check with automatic recovery suggestions

Argument / optionDescription
-q, --quietOnly show issues, suppress passing checks
--fixAttempt to auto-fix detected issues
-v, --verboseShow detailed diagnostic output

orazaka forgot [email]

Request a password reset token via email

Argument / optionDescription
[email]Account email address

orazaka init

Initialize workspace — detects existing projects, validates config, and fixes gaps

Argument / optionDescription
-f, --forceOverwrite existing configuration
-y, --yesNon-interactive mode with defaults
--skip-validationSkip diagnostic checks
--dir <path>Target directory (default: current directory)

orazaka install

Setup wizard — verify tools, install dependencies, and configure deployment topology

Argument / optionDescription
--check-onlyRead-only: verify tool availability & versions, then exit (no .env / compose changes)
-y, --yesNon-interactive mode — accept every default (clone, tools, local dev topology, bundled infra)
--dir <path>Where to clone the platform when no workspace is found (default: orazaka)
--depth <n>git clone depth for the platform repositories (0 = full history) (default: 1)

orazaka login [email] [password]

Authenticate and cache JWT token

Argument / optionDescription
[email]Account email address
[password]Account password

orazaka logs

Stream and browse service logs

Argument / optionDescription
--service <name>Tail a specific service (router, ollama, media-worker, image-worker, ui)
--listList all available log files with sizes
--since <duration>Show logs from last N hours (e.g., 1h, 30m) (default: 24h)
--tail <lines>Number of lines to show from end of file (default: 50)

orazaka mcp register

Register a new private MCP server

Argument / optionDescription
--auth-token <token>Optional authorization token/header

orazaka models pull <id>

Download an image model into ~/models/stable-diffusion and verify its checksums

Argument / optionDescription
<id>Model id (see orazaka models image list)

orazaka models use <id>

Make an installed image model the catalogue's default — the one orazaka start serves

Argument / optionDescription
<id>Model id (see orazaka models image list)

orazaka pack validate <directory>

Check a bundle's manifest, and whether this platform can run it

Argument / optionDescription
<directory>The bundle directory holding pack.yaml
--offlineCheck the manifest's shape only, without asking the platform

orazaka pack install <directory>

Install a bundle: capabilities, billing and catalogue, or none of them

Argument / optionDescription
<directory>The bundle directory holding pack.yaml, or a directory of bundles with --all
--allInstall every bundle in the directory — what a fresh database needs

orazaka pack publish <directory>

Put an installed bundle's pack and Studios on the shelf

Argument / optionDescription
<directory>The bundle directory holding pack.yaml

orazaka pack list [directory]

List the bundles this deployment's pack sources offer

Argument / optionDescription
[directory]Look in this directory instead of the configured sources

orazaka register [username] [email]

Register a new user account

Argument / optionDescription
[username]Desired username
[email]Account email address
-l, --language <lang>BCP 47 language tag (e.g. en, ja)

orazaka release verify <manifest>

Check a release manifest, and with --dir the artefacts of an offline bundle against it

Argument / optionDescription
<manifest>Path to the release manifest (orazaka-release.json)
--dir <path>Offline bundle directory whose artefacts are checked (size and SHA-256)
--target <target>Only the artefacts of one target: mac-arm64, linux-amd64 or linux-arm64
--jsonPrint the result as JSON

orazaka reset [token]

Reset account password using a valid reset token

Argument / optionDescription
[token]Password reset token

orazaka settings set <key> <value>

Set a user preference key-value pair

Argument / optionDescription
<key>Preference key to set
<value>Preference value to set

orazaka start

Start Orazaka infrastructure — dev mode (Docker middleware + AI engines) or full mode (also Router + UI)

Argument / optionDescription
--mode <mode>Startup mode: dev (default, infra + AI engines) or full (also Router + Next.js UI) (default: dev)
--only <service>Start only a specific service (postgres, redis, rabbitmq, ollama, localai, image-gen, media-worker)
--skip-healthSkip final health verification
--wait-timeout <ms>Timeout for service startup (default: 60000ms) (default: 60000)
--allow-partialAllow partial startup (some services may fail)
--verboseShow detailed startup logs
--logsTail log files after startup

orazaka status

Show live status of all Orazaka services

Argument / optionDescription
--jsonOutput status as JSON
--watchRefresh every 5 seconds

orazaka stop

Teardown the Orazaka infrastructure — containers, workers, and state

Argument / optionDescription
--purgeAlso purge database data and upload directories
-y, --yesSkip confirmation prompts

orazaka studio list

Browse the Studio catalogue

Argument / optionDescription
-p, --profession <trade>Filter by trade

orazaka studio install <studioKey>

Install a Studio into your workspace

Argument / optionDescription
<studioKey>The Studio to install
-c, --config <pairs>Configuration as key=value,key2=value2

orazaka studio run <target>

Run an installed Studio — or, with --studio, a toolkit Studio by its key

Argument / optionDescription
<target>The installation to run (or the Studio key with --studio)
-i, --inputs <pairs>Inputs as key=value,key2=a|b|c (pipes make a list)
-f, --inputs-file <file>Inputs as one JSON object (for prose with commas); --inputs pairs apply on top
-s, --studioThe target is a Studio key: a toolkit Studio (media, art direction) has no installation

orazaka studio logs <runId>

Show a run's per-step state and results

Argument / optionDescription
<runId>The run to inspect

orazaka verify [token]

Verify account registration token

Argument / optionDescription
[token]Email verification token

orazaka video <prompt>

Generate video from a text prompt

Argument / optionDescription
<prompt>Text prompt describing the desired video
-d, --duration <seconds>Duration of the video in seconds (default: 4)
-m, --model <model>Specify AI model name
-a, --aspect <ratio>Frame: 9:16 (default of the Studio), 16:9 or 1:1 — the model must make it
-s, --seed <number>The same prompt, model and seed make the same shot again
-o, --output <path>Specific file path to save the video

View the source on GitHub