Skip to main content

Cyvia Client SDK

Lean Python client for sending agent traces to the Cyvia platform.

Environment

  • CYVIA_API_KEY (required): Bearer token for the tenant API key.
  • CYVIA_BASE_URL (optional): API base URL.

Usage (Claude Agent SDK)

import cyvia

with cyvia.CyviaClient(api_key, base_url=base_url) as http:
    trace = cyvia.Trace(
        http,
        adapter=cyvia.CLAUDE_AGENT_SDK,
        runtime=cyvia.CLAUDE_AGENT_SDK,
        agent_display_name="Weather agent",
        agent_description="Looks up weather via tools and summarizes the answer.",
    )
    cyvia.observe(claude_client, trace)
    await claude_client.query("...")
    async for msg in claude_client.receive_response():
        ...

Usage (LangChain)

import cyvia

with cyvia.CyviaClient(api_key, base_url=base_url) as http:
    trace = cyvia.Trace(
        http,
        adapter=cyvia.LANGCHAIN,
        runtime=cyvia.LANGCHAIN,
        agent_display_name="My agent",
    )
    handler = cyvia.LangChainCallbackHandler(trace)
    try:
        model.invoke("Hello", config={"callbacks": [handler]})
    finally:
        trace.close()

Metadata

Release files for cyvia 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 cyvia 0.1.0
File Size Uploaded Provenance Actions
cyvia-0.1.0.tar.gz 8.7 kB Without provenance Details for cyvia-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 20.6 kB

Release files / cyvia-0.1.0.tar.gz

Download URL cyvia-0.1.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3edf8916495dca3e8c08b8dbb655607e84fac9cd51580756b191adad246d6da2
BLAKE2b-256 checksum
How to use checksums
e8f0cd2f045de2b6839871b62a41e4de24728ef5e5002b30745db54b4921f014
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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 / cyvia-0.1.0-py3-none-any.whl

Download URL cyvia-0.1.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5882ce9448225e385ac7fec0c51ed84ac904c72db11942a4e4eb5ccaddb30d9
BLAKE2b-256 checksum
How to use checksums
262f772bc9dad14bb94db6b3b1e13a0f555b226ea3eb989f6035fb22d66934c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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 cyvia 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