Module entity

Module entity 

Source
Expand description

Entity command module — CLI subcommands built from the entity registry.

Uses clap’s builder API (runtime) to construct entity commands from ENTITY_REGISTRY metadata, while infra commands (setup, init, start, etc.) use clap’s derive API (compile-time).

Modules§

agent
cellstate agent — Manage AI agents.
api_key
cellstate api-key — Manage API keys for programmatic access.
artifact
cellstate artifact — Manage artifacts (structured data produced or consumed by agents).
batch
cellstate batch — Perform batch operations on trajectories, artifacts, and notes.
client
Async API client for entity commands.
config
cellstate config — Manage configuration.
context
cellstate context — High-level context commit and recall.
delegation
cellstate delegation — Manage task delegations between agents.
deployment
cellstate deployment — Manage deployments.
edge
cellstate edge — Manage edges (graph relationships between entities).
event_dag
cellstate event-dag — Query the event DAG (causal event graph).
gates
cellstate gates — Query policy gate information.
handoff
cellstate handoff — Manage handoffs (agent-to-agent work transfers).
lock
cellstate lock — Manage distributed locks for resource coordination.
message
cellstate message — Manage inter-agent messages.
models
cellstate models — Query available models and providers.
note
cellstate note — Manage notes (free-form text memory entries).
output
Output formatting for entity commands.
scope
cellstate scope — Manage scopes (bounded contexts within a trajectory).
search
cellstate search — Search entities across the memory graph.
summarization_policy
cellstate summarization-policy — Manage summarization policies.
summarization_request
cellstate summarization-request — Manage summarization requests.
team
cellstate team — Manage teams (group-based access control).
tenant
cellstate tenant — Manage tenants.
trajectory
cellstate trajectory — Manage trajectories (threads of agent computation).
turn
cellstate turn — Manage turns (individual messages within a scope).
working_set
cellstate working-set — Manage agent working-set entries.

Functions§

build_entity_commands
Build all entity subcommands.
dispatch
Dispatch an entity subcommand by name.
require_arg
Like resolve_arg but returns a helpful error if nothing is set.
resolve_arg
Resolve an optional CLI arg with session fallback.