NOTE
Installing Jiku is completely optional. Koma works as a standalone Wayland tiling compositor without jikud or jiku installed.
Installing jikud & jiku
Install via komawm/packaging (cdn.komawm.org APT jiku package, nFPM .deb/.rpm/.apk, Arch PKGBUILD.jiku.in), download a v0.0.1 release archive from komawm/jiku, or build from source with Rust 1.100.0 (Edition 2024):
git clone https://github.com/komawm/jiku.git
cd jiku
cargo +1.100.0 build --release --locked -p jikud -p jiku
./target/release/jikud --headless-check
API Keys & Environment Variables
jikud reads API keys solely from environment variables named in config.toml (api_key_env)—never store raw keys inside config.toml:
| Env Variable | Default Provider | Role |
|---|---|---|
OPENCODE_GO_API_KEY |
opencode_go (deepseek-v4.1-flash) |
Primary [roles.planner] and automatic EmulatedStructuredTextModel fallback |
GEMINI_API_KEY |
gemini (gemini-decision-1) |
Optional single-prefill DecisionsDriver (0 output tokens) & optional LiveSessionDriver |
KOMA_CAPABILITY_TOKEN |
Koma IPC (koma-agent.sock) |
Scoped lease token minted via komactl token mint jiku |
TIP
No Dedicated Decision Model Key? If GEMINI_API_KEY is unset (or you assign a general OpenAI/Anthropic/vLLM/Ollama provider to [roles.decision_router]), DecisionBackend automatically runs EmulatedStructuredTextModel via your primary [roles.planner] model without error.
First Run Checklist
- Validate config & Lua policy offline:
jiku validate-config - Mint a scoped Koma capability token (while
komais running):export KOMA_CAPABILITY_TOKEN="$(komactl token mint jiku | jq -r '.token')" - Start
jikudand check status:jikud --daemon & jiku status --json - Run a dry-run or live task:
jiku run --dry-run "Open a terminal and check uname -a"
Using Jiku from External Coding Agents (Claude Code, Codex, OpenCode, Cursor)
Register jiku mcp as a stdio MCP server in your coding agent, or point it at jiku/skills/SKILL.md so it calls jiku run, jiku decide, jiku box classify, and jiku memory search safely over Koma's Epoch-fenced IPC.