Skip to main content

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 ledger init
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="...").

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

tide_runtime-0.2.5.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tide_runtime-0.2.5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file tide_runtime-0.2.5.tar.gz.

File metadata

  • Download URL: tide_runtime-0.2.5.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tide_runtime-0.2.5.tar.gz
Algorithm Hash digest
SHA256 6519b31dc80d92213e29790ad7b986ffc7a44cc903c9eff3721237d9c95eb439
MD5 05f9be750b30cdfacec736b57e286bfa
BLAKE2b-256 bd761138b7e8e72ae16b0657d5223ec2fa2ed63e7071d1a9433db924d18f2d17

See more details on using hashes here.

Provenance

The following attestation bundles were made for tide_runtime-0.2.5.tar.gz:

Publisher: publish-python.yml on rippletideco/rippletide-package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tide_runtime-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: tide_runtime-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tide_runtime-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 61ab3ac5d0c18f9aa6df2ba87d747e0d51b2f657eca9d24b60b5e3791a7dfa82
MD5 5236d2fc4255a1789f0e76be270c68f5
BLAKE2b-256 bb1220ffe456feb436adece57feb7dbeb5e8236504b6cf9a7defc380898c2c2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tide_runtime-0.2.5-py3-none-any.whl:

Publisher: publish-python.yml on rippletideco/rippletide-package

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page