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.1.tar.gz (20.4 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.1-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t3nets_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 20.4 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.1.tar.gz
Algorithm Hash digest
SHA256 d185fbb0f43b46dab2e51851082ea346c5ccb0725fbf6e5ec79cdc3248a43e97
MD5 42842974cfc0e2162e5199934edfd653
BLAKE2b-256 0fccbf75b9e7f466c95cc9207043e2673123289911637ff6fdd5cbbae3d6d6b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for t3nets_sdk-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: t3nets_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75d6456e6efdca373365f66e6a6225f7559d6d9bed25dccc6063a60817b6403c
MD5 043392403d4b85e72cb180fa8963ac54
BLAKE2b-256 e0696b595ec25fd1de134e42bcbad3bba182aee850d2500c319e8edf0f1a212c

See more details on using hashes here.

Provenance

The following attestation bundles were made for t3nets_sdk-0.1.1-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