Krizaka
Documentation
Démarrage

CLI

Pour les développeurs

One tool for the whole platform: npx orazaka install, start, dev and you are running — then test, build these docs, install packs, seed the demo. Every command, subcommand and option, generated from the CLI's code.

🤖 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).

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

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

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.

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

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 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, Admin, 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 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 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 <installationId>Run an installed Studio
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 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, Admin, Mobile)

Argument / optionDescription
--only <services>Launch only these services (comma-separated: edge,router,identity,automation,knowledge,job,billing,studio,notifications,web,admin,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-adminSkip Admin console
--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 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 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 <installationId>

Run an installed Studio

Argument / optionDescription
<installationId>The installation to run
-i, --inputs <pairs>Inputs as key=value,key2=a|b|c (pipes make a list)

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
-o, --output <path>Specific file path to save the video

Présentation du produit →

Sur cette page