Skip to content

Crate reference

Every crate in the apomesh workspace, grouped by the layer it belongs to. Each role line is the crate’s own one-sentence self-description (its //! module doc). A crate with a full reference page is linked; the rest are named here and documented as the coverage backlog is worked down.

The layering runs bottom-up: the wire protocol is the leaf nothing depends backward on, the substrate core and its implementation planes sit above it, the orchestrator and worker drive sessions, and the transports, verticals, and UI compose the whole. See Control & execution planes for the narrative.

CrateRole
apomesh-protocolThe wire protocol — prost-generated protobuf types only.
CrateRole
apomesh-substrate-typesThe substrate type vocabulary and port traits — the stable, most-depended-on foundation.
apomesh-substrateThe substrate domain library — functions take domain types and return domain types.
CrateRole
apomesh-substrate-catalogThe agent-definition plane — the Fleet-definition machinery (agent catalog, prompt-composition seam, skill registry).
apomesh-substrate-llmThe LLM and embedding provider implementation plane — the concrete provider impls behind the ports.
apomesh-substrate-mcpThe MCP tool-transport plane — external MCP servers projected behind the substrate Tool port.
apomesh-substrate-netThe shared HTTP egress primitive — the webpki-roots reqwest client the impl planes compose.
apomesh-substrate-sandboxThe tool-sandbox implementation plane — the per-platform adapters and runner-subprocess machinery.
apomesh-substrate-stateThe state implementation plane — the in-memory and SQLite StateStore adapters.
apomesh-substrate-toolsThe leaf-capability tool plane — web, file-ops, git, and shell tools plus the predicate evaluator.
CrateRole
apomesh-orchestratorThe control-plane gRPC daemon library.
apomesh-orchestrator-binThe orchestrator daemon binary — wires the registry with the concrete strategies.
CrateRole
apomesh-workerThe worker — the execution endpoint binary and its library surface.
apomesh-tool-runnerThe sandboxed tool-dispatch entry point, spawned inside the OS sandbox to run one tool invocation.
CrateRole
apomesh-state-store-postgresThe production StateStore adapter — Postgres durable persistence, event log, snapshots, and episodic memory.
apomesh-state-store-redisThe Redis cache primitive for the production StateStore stack.
apomesh-state-store-smartchat-postgresThe Postgres adapter for SmartChat’s SmartChatStore.
CrateRole
apomesh-rest-apiThe REST/JSON external API surface — the human-facing parallel to the gRPC wire.
apomesh-smartchatSmartChat — an operator-facing chat layer built on substrate primitives.
CrateRole
apomesh-auth-providersConfigurable SessionAuth and WorkerAuth backends — OAuth 2.0 / OIDC, pre-shared API keys, and mTLS.
apomesh-configThe apomesh daemon configuration surface.
CrateRole
apomesh-bumpThe workspace version-bump tool.
apomesh-resealThe operator entrypoint for a sealing-key rotation.
cassette-refreshThe cassette format and drift-detection engine for recorded LLM provider interactions.
CrateRole
apomesh-vertical-coding-assistantThe Coding-Assistant use-case — LSP, tree-sitter, and coding-typed tools plugged into the substrate.
apomesh-vertical-deep-researchThe Deep-Research use-case — a SessionStrategy specializing the loop for verified-citation reports.
apomesh-vertical-deep-research-projectionDeep-research’s dependency-light tier-4 open-vocabulary consumer surfaces — the coverage-audit ExtensionHandler and the sandboxed coverage-schema verification unit.
CrateRole
apomesh-control-planeThe desktop operator app — submit, observe, and cancel sessions against an orchestrator’s gRPC service.
CrateRole
apomesh-sample-tail-consumer-prometheusA reference tail-consumer sample — the substrate event bus projected to Prometheus.