Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Feature Flags

Ijima is additive-feature-gated: compose the build with the surface you need. The daemon crate’s matrix:

FeatureEnables
stdstd prelude integration
httpThe axum HTTP daemon
server-authSchubert auth (GrantTokens, policy, verifier)
backend-surrealSurrealDB store (embedded kv-mem / surrealkv) — the primary backend
backend-sqliteMigration-only SQLite readers for pi-mempalace / ZeroClaw imports
rate-limitSchubert intersection-number token buckets
cliThe ijima binary (clap + reqwest + ijima-client)
embeddings-candleLocal embeddings (all-MiniLM-L6-v2 via candle/HF)
miningExtraction pipeline (ijima-miner + proserpina-agent HTTP LLM tier)
tlsaxum-server/rustls HTTPS (IJIMA_TLS_CERT/IJIMA_TLS_KEY)
federation/federation/* control-API scaffold + instance identity

Defaults: std,http,server-auth,backend-surreal — a production daemon without the CLI. (The published CLI binary ships cli plus the optional surfaces.)

Companion crates gate independently: ijima-client’s remote (reqwest transport) and std; ijima-core’s serde and federation.

Choosing

  • Server: default + cli + embeddings-candle (+ mining, tls, backend-sqlite during migration).
  • Embedded library use (tests, in-process): backend-surreal without http/server-auth — an unauthenticated in-process store.
  • Thin clients: ijima-client alone.

Notes

  • backend-sqlite exists to read legacy databases once; it is not a runtime store backend.
  • server-auth off means unauthenticated single-process mode — for tests and embedded use only, never a networked daemon.
  • The pi extension builds from ijima-pi to WASM — see integrations/pi.