caitlyn
The Python SDK for the Caitlyn API (v3): typed clients, synchronous (Caitlyn) and asynchronous
(AsyncCaitlyn), with sign-in, retries, streamed answers and OpenTelemetry tracing.
pip install caitlyn
import os
from caitlyn import Caitlyn
from caitlyn.auth import Token
caitlyn = Caitlyn(workspace="your-company.getcaitlyn.ai", auth=Token(os.environ["CAITLYN_TOKEN"]))
# Add a file to a knowledge base: the SDK hashes and uploads it, creates the document, then waits until it is searchable
kb = caitlyn.knowledge_bases("KB4T7YQ2WL")
doc = kb.documents.create("leave-policy.pdf", folder="/hr/").wait()
print(doc.id, doc.status)
Python 3.12 and later. The documentation, with getting started and every operation, is at https://build.caitlyn.ai/. The source is at https://github.com/caitlyn-ai/sdk. Apache-2.0.
Metadata
Release files for caitlyn 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| caitlyn-0.11.0.tar.gz | 138.0 kB | With provenance | Details for caitlyn-0.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caitlyn-0.11.0-py3-none-any.whl | Python 3 | none | any | Details for caitlyn-0.11.0-py3-none-any.whl |
Total release size: 281.1 kB
Release files / caitlyn-0.11.0.tar.gz
| Download URL | caitlyn-0.11.0.tar.gz |
|---|---|
| Size | 138.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f56e6f0a67f2ec6c5e24edd3b7122bad62c968123cc7a80cea9d2d44007d1e2
|
|
BLAKE2b-256 checksum How to use checksums |
49e3786430d78c66fb00f58be89f14bb682719c42df2a4989396c4d85184b35c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / caitlyn-0.11.0-py3-none-any.whl
| Download URL | caitlyn-0.11.0-py3-none-any.whl |
|---|---|
| Size | 143.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
accee02eef186ecef39fe5991ce2045e9c9de9bd3df3079786f470b9421817d9
|
|
BLAKE2b-256 checksum How to use checksums |
05074717b4e5ccd97ac46efe7b2a61ff1e8ce9b1bb79113ca99f9015044be8e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for caitlyn 0.11.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for caitlyn-0.11.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.