Skip to content

Crate guide

Every workspace member, grouped by role; a crate not listed here does not exist. The architecture orientation shows how they fit, in dependency layers; each crate’s AGENTS.md (with a CLAUDE.md symlink beside it) has its commands and detail. The same index, for agents, is crates/AGENTS.md.

Crate Package What it is Spec
crates/merod merod The node binary: init, run, config, local, inspect, kms disk-key, attest. Turns NodeArgs into the node’s Config. merod CLI reference, Configuration
crates/meroctl meroctl The command line for nodes, over the attested, sealed client. meroctl CLI reference
Crate Package What it is Spec
crates/node calimero-node The node: system group, app groups, executor glue, routing, the HTTP API and Ops API, packages, follow-ups, blobs, sealed files, compute and pipeline runs, the job node, the consent page, presence, search, app frontends, backups and the recovery disk, the storage key. Protocol overview, Architecture
crates/log calimero-log Multi-group Raft (openraft) over one sealed RocksDB per node; snapshots; the log.redb migration. Replication, Storage
crates/sealed calimero-sealed The sealed HTTP transport (wire format v2), server middleware and client; byte-compatible with mero-js. The sealed channel, Encryption in transit
crates/identity calimero-identity WebAuthn passkeys, session tokens, API keys, confirm challenges; testing: a software authenticator. Accounts, passkeys & sessions, Sessions and authority
crates/client calimero-client The Rust client: attestation check (shared with peers), sealed requests, sign-in, and a route layer generated from the node’s OpenAPI document (client.<group>().<method>()). What the verifier checks, Networking & sealed channels
crates/kms-client calimero-kms-client The mero-kms client: release-policy check, key release, kms disk-key. What a node trusts its KMS on, The storage key and the cluster key
crates/outbound calimero-outbound The gated outbound HTTPS client and secrets a run may use. Outbound HTTPS, Secrets, Call an external service
crates/search calimero-search Per-app full-text search (tantivy), built in memory from apps’ search exports. Search your app’s data
Crate Package What it is Spec
crates/tee-attestation calimero-tee-attestation TDX quote generation (Linux, configfs-tsm) and DCAP verification; mock-attestation for tests; the calimero-tee-verify binary behind cli. TEE attestation
crates/tee-release calimero-tee-release Fetches and Sigstore-verifies signed mero-tee release assets (published-mrtds.json, KMS policies). What a node trusts its KMS on, What the verifier checks
Crate Package What it is Spec
crates/bundle calimero-bundle The .mpk manifest, JCS canonicalization and Ed25519 signatures; shared with meroctl-sign. What a release carries, Packaging & signing
crates/pipeline calimero-pipeline The pipeline YAML language: compile, canonical JSON, apply-time checks, worst-case fuel, prices and estimates. Pipeline runs, Sealed files and pipelines
crates/app-downloader calimero-app-downloader Fetching signed releases from a package registry (HttpRegistry). Installing a release

Apps are calimero:app components on wasmtime. Check with their owner before changing these.

Crate Package What it is Spec
crates/app-wit calimero-app-wit The calimero:app WIT world and its import allow-list. App execution, The env API
crates/app-host calimero-app-host The engine-neutral host core of calimero:app: state, policy, time and randomness. App execution, The env API
crates/app-engine-wasmtime calimero-app-engine-wasmtime The wasmtime engine for components: fuel, epochs, limits and a checked cache. One run, Limits
crates/sdk (+ sdk-macros) calimero-sdk, calimero-sdk-macros The Rust app SDK for calimero:app: app attributes, encoding, tables, collections, env and the embedded ABI. Build Calimero apps, SDK macros, Tables & collections
crates/app-sdk calimero-app-sdk The SDK’s old name: re-exports calimero-sdk, kept until no app depends on it. Build Calimero apps
crates/app-build calimero-app-build Builds Rust guests into calimero:app components; behind meroctl app build, meroctl app codegen and meroctl app abi diff. Packaging & signing
crates/app-abi calimero-app-abi An app’s ABI for clients: the OpenAPI document the node serves, typed TS/Python clients, breaking-change checks. App interface (ABI), Typed clients
Crate Package What it is Spec
crates/primitives calimero-primitives Ids, hashes, and the outbound and search wire types. Glossary
crates/cbor calimero-cbor The one CBOR codec: deterministic encoding of stored values, written by the SDK in every app and read by the host and the search index. Collections
Crate Package What it is Spec
crates/build-utils calimero-build-utils build.rs helpers: release version, git and rustc metadata. Development workflow
crates/git-hooks calimero-git-hooks Installs .githooks/pre-commit (cargo fmt --check) on any build. Development workflow
crates/utils/fs calimero-utils-fs Writing a secret file only its owner can read, on Unix and Windows; used by merod, meroctl and meroctl-sign. Hardening & security
Directory Package What it is Spec
crates/meroctl/sign meroctl-sign The signing library behind meroctl app signer|sign|pack; no binary. Packaging & signing, The signer key is the update authority
crates/meroctl/compute meroctl-compute Runs one compute method of a compute component alone, with a job node’s engine and caps: the library behind meroctl local compute run; no binary. Compute actions, The job node
crates/client/gen calimero-client-gen Generate calimero-client’s route layer from docs/public/openapi.json; its test fails while the checked-in code is stale. Node API reference (OpenAPI)
crates/search/bench calimero-search-bench calimero-search’s engine over the node’s in-memory directory: index size, query latency, memory, the search-gas fit (benchmarks.yml uploads its report). Search your app’s data