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

CLI Tour

Audience: new CLI users who want a map of the pulse command tree.

pulse --help lists the command groups and pulse <group> --help a group’s leaves. The generated Command & flag reference has every leaf, flag and default. This page groups the commands by task and links each group to its chapter. Your First Analysis is a full import, predict, process and export run.

LLM agents using MCP: agents drive Pulse through MCP tools, not the CLI. Start at the session-bootstrap skill.

Commands by task

TaskCommandsRead
Bring data inimport <format> (csv, tsv, ndjson, jsonarray, parquet, arrow, excel, spss), import schema-template, import predict, import transferYour First Cohort, import spss, Transfer Compression
Managed import poolimport auto SOURCE (TTL sidecar, --ttl 7d by default, pin to keep), import list, import drop HANDLE, all under PULSE_IMPORTS_DIROptions
Take data outexport <format> (the same formats, plus transfer), export predict, convert SOURCE TARGETexport spss, --labels
Find the datacohorts (every .pulse file under the data directory, with its fields), examples data --out DIR (writes the example cohorts the examples and the Analysis Guide read)Get the data
Look at a cohortcohort inspect (header only, never reads records), api sample, api facetcohort inspect, api sample, api facet
Run requestsapi process, api compose, api process-chain, api lookupapi process, api compose, api lookup
Validate without runningapi predict, api predict-compose, api predict-facet, api predict-chainapi predict
Write a derived cohortcohort filter, api materialize, rake, dedupFilter to File, Materialize, Raking, Parent Groups
Change a cohort in placecohort zone, widen, shard create / add / remove / list / extract / verify / compact, index build / list / verify / dropTime Zones, Managing Shard Archives, Point Lookup
Generate synthetic datasynth from-schema, synth from-profile, profile createsynth from-schema, synth from-profile, profile create
Pick and read an analysisrecommend --intent ID --cohort PATH (draft requests for a question kind), explain (a request or a saved response in plain words)Analysis Guide
Discover what Pulse offerspulse --json (the manifest), schema, skills list / show, examples search / show, errors lookup / list, docs exportmanifest, schema, Examples Library
Restrict an instancefeatures init / check / diff / showFeature Profiles
Serve agentsmcppulse mcp, MCP Integration
Housekeepingversion, completioncompletion

A .pulse path may be a single file or a shard archive (a Zip64 of shards plus a _schema.pulse entry). Every command reads a shard archive as the union of its shards; archive.pulse#shard.pulse opens one shard.

Pipeline order

Inside one request, operators run in a fixed order:

Load -> Features -> Filter -> Attributes -> Group -> Aggregate -> Windows -> Sort -> Output

Each stage’s operators are in the catalog: Features (derived columns), Filter, Attributes (per-row values such as a date part), Group, Aggregate and Windows (row-to-row figures such as a lag or running total). Features run before filterers, so a derived column can be a filter, group, attribute or window input. Windows run after aggregation, on the aggregated rows. A name exists only downstream of the operator that makes it.

Shared flags

  • Global: --json (the manifest), --slim, --intent, --log-level, --limit, --memory-limit, worker counts.
  • --json on a leaf prints the envelope (--json envelope).
  • --echo-request (the api leaves) puts the normalized request on the envelope’s request.
  • --no-defaults (api process, api compose, api process-chain) turns off smart defaults.

Semantics: CLI concepts & shared flags. The one required environment variable is PULSE_DATA_DIR (Installation).