Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.caitlyn.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.13.0b7

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

Source distribution (sdist)

Source distribution for caitlyn 0.13.0b7
File Size Uploaded Provenance Actions
caitlyn-0.13.0b7.tar.gz 200.1 kB With provenance Details for caitlyn-0.13.0b7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for caitlyn 0.13.0b7
File Interpreter ABI Platform Actions
caitlyn-0.13.0b7-py3-none-any.whl Python 3 none any Details for caitlyn-0.13.0b7-py3-none-any.whl

Total release size: 405.4 kB

Release files / caitlyn-0.13.0b7.tar.gz

Download URL caitlyn-0.13.0b7.tar.gz
Size 200.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ebc54e6d2fea0660fc7e82ca8f626a72232f507753cfa81f48f889180d515b62
BLAKE2b-256 checksum
How to use checksums
784ec8b5644b677aef2099f9c79dbe96ebbf2f1049b5785a09b8bafba11ff45f
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 Dec 4, 2026.

Transparency log

Release files / caitlyn-0.13.0b7-py3-none-any.whl

Download URL caitlyn-0.13.0b7-py3-none-any.whl
Size 205.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3452a527c06800cfe70c78ab110d9a4b77c5cafe7fcd3e5830b2e70e7cbefc6
BLAKE2b-256 checksum
How to use checksums
0d18d217018ca7338a3753f51371b1f1cfa3c475310bb3fcc6b1e6972da72fbc
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 Dec 4, 2026.

Transparency log

Security for caitlyn 0.13.0b7

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.

Select from 2 files

Attestation for caitlyn-0.13.0b7.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 Dec 4, 2026.

Transparency log

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.

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