Metadata-Version: 2.5
Name: spec-agents-text
Version: 0.2.1
Summary: Text domain pack for agent-fabric (text_stats, keywords, document_digest); proves the core is domain-agnostic
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/text-pack/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,nlp,text
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: spec-agents-core<1,>=0.0.1
Description-Content-Type: text/markdown

# spec-agents-text (`text_pack`)

Small text domain pack for [agent-fabric](../agent-fabric/README.md): components `text_stats` and `keywords`, pipeline `document_digest`.
It needs no pandas and no other pack, which makes it the proof that the core is domain-agnostic, and a minimal template for new packs.

> **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-text` |
| Import name | `text_pack` |
| Directory in the monorepo | `packages/text-pack` |
| Release tag / PR scope | `text-pack-vX.Y.Z` / `text-pack` |

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

## Install
```bash
pip install spec-agents-text
```
```python
from agent_fabric import build_registry
from text_pack import register

registry = build_registry([register])
```
Start a new pack from this one: a `register(registry)` function, `skills/<name>/SKILL.md` contracts and an `agent_fabric.domains` entry point.
