Syl Pulse

v0.1.0
io.sylai/pulse Checked 3 days ago Published 1 month ago

Causal analytics: ask a business question, get a deterministic causal answer and charts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pulse_analyze

Estimate a causal effect from a dataset and answer a business question. Provide exactly one of ``csv`` (CSV text) or ``data`` (list of row objects). Returns the full long-form Pulse report (the same answer an email reply contains) as the primary text content and as ``report`` in the structured result, followed by chart PNGs as image content blocks (unless ``include_charts`` is false). Structured fields: the adjusted effect size (``ate``/``effect_size``) with its confidence interval (``ci_low``, ``ci_high``, ``ci_range``), per-channel effects (``channels``, keyed by outcome), confidence, and c…

ParameterTypeDescription
question *stringThe business question in plain English. Also used to infer cause and effect when omitted, and to decide on optional sections (test design, subgroups, robustness checks).
causeTreatment column. Inferred from the question if omitted. Must exist.
configPer-step engine config with keys cleaning, discovery, estimator, summary, each `rule` (deterministic, no LLM call) or `llm`. Defaults: cleaning=llm, discovery=llm, estimator=rule, summary=llm. Unknown…
confoundersColumns always adjusted for, in addition to those discovered automatically. On Pulse this is `confounders`, not Guardian's `known_confounders`.
csvDataset as CSV text with a header row.
dataDataset as row objects (alternative to `csv`).
effectOutcome column. If omitted, the first of `outcomes` is used, otherwise inferred from the question. Must exist.
estimatorOne of rule, llm, ols_adjusted, aipw, ipw, psm, dml_forest. `null` follows `config.estimator` (default `rule`). `llm` lets the model pick from the supported set (falls back to the rule choice without…
include_chartsbooleanAttach PNG charts (DAG, effect, trend) as image blocks. `false` omits them and keeps the report from referring to charts.
include_guardian_verdictbooleanAlso return `guardian_verdict` {verdict: pass|caution|hold, reason}. Computed locally with Guardian's rule; uses no Guardian quota. `verdict` is null if the estimate is unavailable.
include_test_design`true`/`false` forces the spend-cut test design section on or off. `null` includes it only when the question asks about sample size, power or test duration.
outcomesSeveral outcome columns scored with the same causal graph and adjustment set. Results are returned per outcome in `channels`.
time_colDate or period column, used for row order and test-design cadence. Must exist.