Metadata-Version: 2.5
Name: spec-agents-statistics
Version: 0.2.1
Summary: Statistics domain pack for agent-fabric: summary, linear_model, anova, time_series, pca, clustering
Project-URL: Homepage, https://github.com/marcionicolau/spec-agents
Project-URL: Repository, https://github.com/marcionicolau/spec-agents
Project-URL: Issues, https://github.com/marcionicolau/spec-agents/issues
Project-URL: Changelog, https://github.com/marcionicolau/spec-agents/blob/main/packages/statistics/CHANGELOG.md
Project-URL: Documentation, https://github.com/marcionicolau/spec-agents/tree/main/docs
Author: Marcio Nicolau
License-Expression: MIT
License-File: LICENSE
Keywords: agents,pandas,statistics
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: pandas>=2.1
Requires-Dist: scikit-learn>=1.4
Requires-Dist: scipy>=1.12
Requires-Dist: spec-agents-core<1,>=0.0.1
Requires-Dist: statsmodels>=0.14.2
Description-Content-Type: text/markdown

# spec-agents-statistics (`stat_fabric`)

Statistics domain pack for [agent-fabric](../agent-fabric/README.md): deterministic components `summary`, `linear_model`, `anova`,
`time_series`, `pca`, `clustering` and the pipelines `exploratory_analysis`, `experiment_analysis`, `full_study`. Formulas are built from
validated column names; no model-written code is executed. Also provides `StatsRulePlanner` (planner backend `stats_rules`, no LLM).

> **Status:** pre-release. Until the first PyPI release, install a wheel from the
> [GitHub Releases](https://github.com/marcionicolau/spec-agents/releases) or use `uv sync --all-packages` in a checkout;
> the `pip install` lines below are the PyPI names.

## Names

| | |
| --- | --- |
| PyPI distribution | `spec-agents-statistics` |
| Import name | `stat_fabric` |
| Directory in the monorepo | `packages/statistics` |
| Release tag / PR scope | `statistics-vX.Y.Z` / `statistics` |

The distribution is named `spec-agents-statistics` because the shorter names are taken on PyPI; the import name and the entry point do not change.

## Install
```bash
pip install spec-agents-statistics   # pulls spec-agents-core, pandas, scipy, statsmodels, scikit-learn
```
The pack registers as the `statistics` domain via the `agent_fabric.domains` entry point:
```python
from agent_fabric import build_registry

registry = build_registry(discover=True)  # or build_registry([stat_fabric.domain.register])
```
Each component's contract and guidance is a `SKILL.md` under `stat_fabric/skills/`.
