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.0.tar.gz (20.1 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.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t3nets_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 20.1 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.0.tar.gz
Algorithm Hash digest
SHA256 a1eed3413e601e2c009c7f04aa95f99d39205d82d70aef349034abffc6e6bc5e
MD5 b63c980b85b3718cdf68c7159ef21c99
BLAKE2b-256 b7e6952f6ccaf16bd7c64b8e0864abff2a069378044fe2c9893bcd3b77ec76cb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: t3nets_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c80976f8242bbc3f73fac13ccfa5c6117284af5f140a57c858090e1e7667467
MD5 6c90d24cdf864c4e03bc8a881973fe37
BLAKE2b-256 804ecdc7ac70f30d2c1ecaad017864829e16cd91a8bfe129f3dedacf03bf9a1d

See more details on using hashes here.

Provenance

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