Tide runtime policy, approvals, and earned-use ledger for AI agent tools.
Project description
Tide Runtime SDK
Python SDK for wrapping production agent tools with Tide policy, approvals, and earned-use logging.
pip install tide-runtime
tide init --pack support-refunds --environment prod
tide init --dry-run --pack <name> prints the policy before writing it.
Built-in packs: baseline, support-refunds, sql-analyst, mcp-baseline.
from tide import configure, controlled_tool, record_outcome
configure(agent_id="crm-agent", workflow_id="lead-sync", environment="prod")
@controlled_tool(name="crm.update_lead", risk_class="internal_write", capture=["lead_id"])
def update_lead(lead_id, status):
return {"lead_id": lead_id, "status": status}
try:
update_lead("L-1", "qualified")
record_outcome("success")
except Exception:
record_outcome("failure")
raise
Default files live in .tide/ledger/. Override with TIDE_LEDGER_DIR or
configure(project="...").
tide approvals
tide approve <id>
tide deny <id> --reason "not in scope"
tide report
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tide_runtime-0.2.6.tar.gz.
File metadata
- Download URL: tide_runtime-0.2.6.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c89b927c7364903d6fe0ee6d0c24986fbe757d971b22737555952d098c46cd5
|
|
| MD5 |
d6d8a724220b4d73b732933b50454b56
|
|
| BLAKE2b-256 |
9e12f37d72b61c236fe80c691833bc955b756f18bdc50a161c4312148aca687f
|
Provenance
The following attestation bundles were made for tide_runtime-0.2.6.tar.gz:
Publisher:
publish-python.yml on rippletideco/rippletide-package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tide_runtime-0.2.6.tar.gz -
Subject digest:
9c89b927c7364903d6fe0ee6d0c24986fbe757d971b22737555952d098c46cd5 - Sigstore transparency entry: 2115418867
- Sigstore integration time:
-
Permalink:
rippletideco/rippletide-package@2630a33889b06731b06bc25e9baea7b4371971a3 -
Branch / Tag:
refs/tags/tide-runtime-v0.2.6 - Owner: https://github.com/rippletideco
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@2630a33889b06731b06bc25e9baea7b4371971a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tide_runtime-0.2.6-py3-none-any.whl.
File metadata
- Download URL: tide_runtime-0.2.6-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec66b23fd56f88a00780e286bf7d7c2bb9af62722c665e735e3661f6028fcf6
|
|
| MD5 |
66aba8b779cb6b3b8bdd6f881efca2d3
|
|
| BLAKE2b-256 |
cb0cc485898fc443df7b3a05b7ac241c83617b6c2568831fec510fbe2236678d
|
Provenance
The following attestation bundles were made for tide_runtime-0.2.6-py3-none-any.whl:
Publisher:
publish-python.yml on rippletideco/rippletide-package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tide_runtime-0.2.6-py3-none-any.whl -
Subject digest:
2ec66b23fd56f88a00780e286bf7d7c2bb9af62722c665e735e3661f6028fcf6 - Sigstore transparency entry: 2115418968
- Sigstore integration time:
-
Permalink:
rippletideco/rippletide-package@2630a33889b06731b06bc25e9baea7b4371971a3 -
Branch / Tag:
refs/tags/tide-runtime-v0.2.6 - Owner: https://github.com/rippletideco
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@2630a33889b06731b06bc25e9baea7b4371971a3 -
Trigger Event:
push
-
Statement type: