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.3.tar.gz (20.7 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.3-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t3nets_sdk-0.1.3.tar.gz
  • Upload date:
  • Size: 20.7 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.3.tar.gz
Algorithm Hash digest
SHA256 51e6e2e46a478c0c17b23ec0463724bb83b6dc0f4fc9e3b030d148176eaea97d
MD5 63fc5d9122cb3c60fbef3e25b85f4383
BLAKE2b-256 7e7307681f8886dc804939d0f93fc012fd639079e2c1dbb62a5e038c3081dac7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: t3nets_sdk-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f522c670d51cfe226d92a8834ad22b05604568444137acbf71256801661f230
MD5 b0e20dc523eaafe578dc544b2ab13e4d
BLAKE2b-256 ccd4f2c45d9c7a0e26e80327a1c1306a638a7872385bae7fd298837091755afe

See more details on using hashes here.

Provenance

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