Installation¶
threvo-actions supports Python 3.11, 3.12, and 3.13.
Release availability
These commands install the immutable 0.6.3 release after the signed tag
has completed the TestPyPI and PyPI release workflow. Never install a
moving branch for a financial-action runtime.
Install uv, then run inside your project:
The core package depends only on Pydantic and the Python standard library.
Optional integrations¶
The async SDK adapter is optional. See the Stripe guide and runnable sandbox app.
Before the signed release completes, maintainers can install the reviewed source candidate with:
After the signed release completes, install the immutable package with:
The extra installs the AES-GCM dependency, not an AWS SDK. Adapt the host's existing async KMS client and durable wrapped-key store to the small typed ports in the AWS KMS guide.
Use this when the host already keeps a versioned 256-bit KEK in its secret infrastructure. The library owns envelope encryption and the host owns KEK retrieval plus durable wrapped-key storage. See the local KEK guide.
Use the official MySQL 8 adapter for production-oriented multi-worker evaluation. See the MySQL guide.
The host-framework recipe uses SQLAlchemy for application business data, the qualified asyncpg action stores, and Alembic as deployment orchestration. See SQLAlchemy and Alembic.
The integration pins the Pydantic AI version it is tested against but does not install a model-provider SDK. Add the provider extra your application uses.
SQLite support uses the Python standard library, so the base installation already includes it:
It is supported for local development, evaluation, tests, and bounded single-writer deployments. See the SQLite guide.
Verify the installation¶
uv run python - <<'PY'
from decimal import Decimal
from threvo_actions import Money
amount = Money(amount=Decimal("19.95"), currency="EUR")
print(amount.model_dump(mode="json"))
PY
Output:
The model is strict and immutable. It rejects a floating-point amount, a lowercase currency, unexpected fields, or later mutation.
Give your coding agent the library skill¶
The distribution includes an Agent Skills-compatible guide with the current authoring API, safety boundaries, Pydantic AI wiring, and test matrix. Locate the exact copy bundled with the installed package:
Install that directory with a compatible skill manager:
THREVO_ACTIONS_SKILL_DIR=$(threvo-actions skill path) || exit 1
npx skills add "$THREVO_ACTIONS_SKILL_DIR" \
--skill threvo-actions --agent '*' --yes
This uses the skill that shipped with the Python version your application installed. See Coding agents for source, project-local, and global installation options and the upgrade procedure.