The current CLI surface is runtime-first. maple manages diagnostics, PALM lifecycle, worldlines, commitments, provenance, governance, and the local agent demo. palm manages specs, deployments, instances, health, events, and playground backends.
These are the command groups currently exposed by maple --help:
versionvalidateualdoctordaemonagentworldlinecommitprovenancefinancialgovkernelpalm
validatecurrently behaves as a developer stub, not as a finished manifest-validation UX.palmforwards directly to the PALM CLI.- Product-style package, model, and fleet commands such as
maple build,maple model, andmaple upare not currently exposed here.
# Diagnose local setup
cargo run -p maple-cli -- doctor --model llama3.2:3b
# Start or inspect the daemon
cargo run -p maple-cli -- daemon start --foreground
cargo run -p maple-cli -- daemon status
# Exercise the local agent demo
cargo run -p maple-cli -- agent demo --prompt "log current runtime status"
cargo run -p maple-cli -- agent demo --dangerous --with-commitment --amount 500
# Work with worldlines and provenance
cargo run -p maple-cli -- worldline create --profile agent --label demo-agent
cargo run -p maple-cli -- worldline list
cargo run -p maple-cli -- provenance worldline-history <worldline-id>
# Inspect the runtime
cargo run -p maple-cli -- kernel status
cargo run -p maple-cli -- kernel metricsThese are the command groups currently exposed by palm --help:
specdeploymentinstancestatehealtheventsplaygroundconfigstatus
# Check daemon connectivity
cargo run -p palm -- status
# Inspect playground backends and set the active one
cargo run -p palm -- playground backends
cargo run -p palm -- playground set-backend \
--kind local_llama \
--model llama3.2:3b \
--endpoint http://127.0.0.1:11434
cargo run -p palm -- playground infer "Summarize current runtime health"
# Inspect rollout state
cargo run -p palm -- spec list
cargo run -p palm -- deployment listThese variables are part of the current surfaced toolchain:
| Variable | Used by | Purpose |
|---|---|---|
PALM_ENDPOINT |
maple, palm |
Default API endpoint for CLI requests |
OLLAMA_HOST |
maple doctor |
Local Ollama endpoint for connectivity checks |
PALM_CONFIG |
palm, palmd |
Config file path |
PALM_PLATFORM |
palm, palmd |
Active platform profile |
PALM_LISTEN_ADDR |
palmd |
Daemon listen address |
PALM_LOG_LEVEL |
palmd |
Daemon log level |
PALM_LOG_JSON |
palmd |
Enable JSON logs |
PALM_STORAGE_TYPE |
maple daemon, maple doctor |
Storage mode override |
PALM_STORAGE_URL |
maple doctor and PALM storage config |
PostgreSQL connection URL |
PALM CLI reads:
~/.config/palm/config.toml
The current fields are:
endpoint = "http://127.0.0.1:8080"
default_platform = "development"
default_namespace = "mapleai"
timeout_seconds = 30Use explicit flags for one-off overrides and the PALM config file for stable operator defaults.