Skip to main content

sergent-py

sergent-py is the batteries-included application API of the Sergent Python reference implementation: the one package an application imports to configure and run a Sergent Instance.

How developers use it

Import this package and nothing else. The three packages beneath it are deliberately wiring-free: sergent-py-core holds the specification values and interfaces, sergent-py-runtime is the engine, and sergent-py-providers is model transport. None of them chooses a default model client, and none re-exports another. This package performs that assembly once and presents a single curated surface, so an application never reaches into a framework package directly.

An application brings two things of its own: the deterministic Scene Actions over its domain data, and the Recipe that makes agentic decisions followed by concrete actions on the app's behalf. The convenience constructor here binds those two into a configured Sergent Instance. It builds the real model client by default, so an application that wants ordinary transport supplies nothing extra. A test supplies its own test-only model client instead, and nothing else about the assembled instance changes.

This package chooses no default model. It carries no default model catalog, no default model name, and no session-wide model tuning. The application names the provider and the model on every Run, and the sizing (i.e., output token size and thinking effort) for that call travels with it. Selection belongs to the Run because one application may reasonably spend a strong model on one kind of work and a cheaper one on another.

Watching a Run and keeping its evidence are separate opt-in choices. Observers follow a Run without controlling it, and the Run Record harness writes Run Record files only when the application registers it. Those files are sensitive: the application owns the directory, the retention, the redaction, and the access.

docs/KNOWLEDGE.md is the knowledge file for this public API package. It explains the pattern an application follows to build and drive a Sergent Instance, names the exact public symbol that materializes each specification concept, and states what this package deliberately leaves out.

The Sergent Specification teaches the concepts themselves. Start with its overview when the vocabulary above is new, then return here for the Python shape of it.

Metadata

Release files for sergent-py 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sergent-py 0.1.0
File Size Uploaded Provenance Actions
sergent_py-0.1.0.tar.gz 10.2 kB Without provenance Details for sergent_py-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sergent-py 0.1.0
File Interpreter ABI Platform Actions
sergent_py-0.1.0-py3-none-any.whl Python 3 none any Details for sergent_py-0.1.0-py3-none-any.whl

Total release size: 20.5 kB

Release files / sergent_py-0.1.0.tar.gz

Download URL sergent_py-0.1.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0418aa9f3f6014a567fd355857fbe330c75454dc62f2e998d2c7dd5c361952d5
BLAKE2b-256 checksum
How to use checksums
9931efc10d483147415344e42aa6ff95427e55651df30c682023ea7156c3cc9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / sergent_py-0.1.0-py3-none-any.whl

Download URL sergent_py-0.1.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80165f19e16db75f460d4f5efc330d5bc91b7f4490f182aa4249b5e751f090e7
BLAKE2b-256 checksum
How to use checksums
961f3c32a082d07b0807abfd930f093a18d0d9095acaa184ab69f35ccbfeb40c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for sergent-py 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page