Skip to main content

Public SDK for building t3nets practices — contracts, models, interfaces, test doubles.

Project description

t3nets-sdk

Public SDK for building t3nets practices.

A practice is a bundle of skills, pages, and prompts that customizes a t3nets deployment for a specific domain (engineering, therapy, ops, etc.). Practices typically live in their own repos — this SDK is the only t3nets dependency they need.

What's in here

  • Models (t3nets_sdk.models) — RequestContext, Tenant, TenantUser, TenantSettings, InboundMessage, OutboundMessage, channel types.
  • Interfaces (t3nets_sdk.interfaces) — BlobStore, SecretsProvider, EventBus, ConversationStore. Abstract ports a skill worker may receive at runtime.
  • Contracts (t3nets_sdk.contracts) — typed SkillContext / SkillResult worker contract. Workers receive a SkillContext and return a SkillResult carrying either text (verbatim) or render_prompt (router AI formatter).
  • Manifest validators (t3nets_sdk.manifest) — pydantic validators for practice.yaml / skill.yaml.
  • Test doubles (t3nets_sdk.testing) — in-memory Mock* implementations of every interface, for offline skill tests.
  • CLI (t3nets) — practice init, practice validate, practice package, practice run-local.

Design rules

  • Zero cloud SDKs. No boto3, no anthropic, no starlette. The SDK must stay light enough to drop into any practice repo.
  • Stable surface. SemVer strict. Practices pin a major.
  • Stdlib dataclasses on the hot path. Pydantic only for manifest parsing — keeps Lambda cold starts lean.

Installation

pip install t3nets-sdk

For local development against the t3nets monorepo:

pip install -e ./sdk

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

t3nets_sdk-0.1.2.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

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

t3nets_sdk-0.1.2-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file t3nets_sdk-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for t3nets_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e57f863fdf429ff7868729a9ab8d357d896b6b8cd291284a6a08c5d8cfcefca3
MD5 399bde2928d1ca656a1b40c651f24468
BLAKE2b-256 7506ed89de9376e475baa5a9dbc3b256b3faeef04518107cb6b76d6a370e563e

See more details on using hashes here.

Provenance

The following attestation bundles were made for t3nets_sdk-0.1.2.tar.gz:

Publisher: publish-sdk.yml on WildEllie/t3nets

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

File details

Details for the file t3nets_sdk-0.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for t3nets_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 086ef1b0726158cf363821a4db0189ca973040e7d3a852c96cc45ae36f0f4f61
MD5 e8db588bce2663052c836b3090eb5a12
BLAKE2b-256 6618b4943580445142a575d8e2a650396d172aeb8136671c2c717aac7d065174

See more details on using hashes here.

Provenance

The following attestation bundles were made for t3nets_sdk-0.1.2-py3-none-any.whl:

Publisher: publish-sdk.yml on WildEllie/t3nets

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