Skip to main content

Observability and reliability tooling for AI systems

Project description

reliai

Python SDK for Reliai — trace AI requests, detect regressions, and debug failures at the span level.

Install

pip install reliai

Quickstart

import reliai

reliai.init()

@reliai.trace
def retrieve_docs(query: str) -> list[str]:
    return [f"Document about {query}"]

with reliai.span("llm_call") as span:
    response = call_your_llm(prompt)
    span.set_trace_fields(
        model="gpt-4.1",
        provider="openai",
        input_text=prompt,
        output_text=response,
        latency_ms=elapsed_ms,
    )

Auto-instrumentation

reliai.init()
reliai.auto_instrument()  # instruments FastAPI, OpenAI, Anthropic, LangChain

Or via CLI (no code changes):

reliai-run uvicorn app:app

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reliai-0.1.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reliai-0.1.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file reliai-0.1.0.tar.gz.

File metadata

  • Download URL: reliai-0.1.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reliai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c3555b1fdecbe7a7adca43b12eb9846d3b2243ecc1f69363b8145638fe3d80e
MD5 486e245de55876168fd053bbb57ad642
BLAKE2b-256 266e47bacdd65bdadfb9ff65927d4480f3add3bf0cdea212a05e941cd68e599d

See more details on using hashes here.

Provenance

The following attestation bundles were made for reliai-0.1.0.tar.gz:

Publisher: publish_pypi.yml on Reliailabs/reliai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reliai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: reliai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reliai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 233b9138dab28edb57c0d0d36685efbe74437f6d5c90eabbf76fda2b677db3d1
MD5 ef088f83f8b52c9d0a0f1308194f03f7
BLAKE2b-256 7a075e8d2553d5ba1714b63553c6fa6e3f16523b8548e20e69777ec74518c9fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for reliai-0.1.0-py3-none-any.whl:

Publisher: publish_pypi.yml on Reliailabs/reliai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page