Skip to main content

contextcompany

The Context Company AI Agent Observability SDK for Python.

For setup instructions, see our documentation.

Claude Agent SDK

The claude extra supports Claude Agent SDK >=0.2.153,<0.3 (Python 3.10+).

pip install 'contextcompany[claude]'

Use contextcompany.claude.instrument_claude_agent() for query() or wrap an existing ClaudeSDKClient with contextcompany.claude.instrument_claude_client(client). Both collect messages automatically. The stateful client records one run per response and converts cumulative SDK costs to per-turn costs.

See the Python example for setup, metadata, streaming, and shutdown handling.

Metadata

Release files for contextcompany 2.0.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 contextcompany 2.0.0
File Size Uploaded Provenance Actions
contextcompany-2.0.0.tar.gz 25.5 kB With provenance Details for contextcompany-2.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 57.1 kB

Release files / contextcompany-2.0.0.tar.gz

Download URL contextcompany-2.0.0.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b8ec8cc1fdf7bc40171eeed74425d1916ed3a0111ecc8ab46016d22d8095df1a
BLAKE2b-256 checksum
How to use checksums
6d4c67852967e7efea17d464bf5e0832e0eaf59916dfbdc11c9d874a774867ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 16, 2026.

Transparency log

Release files / contextcompany-2.0.0-py3-none-any.whl

Download URL contextcompany-2.0.0-py3-none-any.whl
Size 31.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eec643e344297a5102cf418e0b8f815cd30ac82f79c6ce73d12febe9e91820b0
BLAKE2b-256 checksum
How to use checksums
9b20853d9a3ca88d51873ba69d0737ba45715c4774b04c829e0e90fb688460f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 16, 2026.

Transparency log

Security for contextcompany 2.0.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for contextcompany-2.0.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 Sep 16, 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