RELIA Python SDK
Unified observability and AI agent monitoring for Python. One SDK for APM tracing, LLM cost tracking, and agent workflow monitoring — with zero-config auto-instrumentation.
Install
pip install relia-sdk
Setup
python -m relia
The interactive wizard detects your framework, creates a project, and generates all config files automatically.
Features
- Zero-code LLM interception — patches
httpxandrequeststo capture all API calls automatically - Smart conversation tracking — groups multi-turn and tool-calling chains into single runs
- Cost estimation — built-in pricing for 24+ models (GPT-4o, Claude, Gemini, DeepSeek, etc.)
- Sensitive data redaction — auto-redacts passwords, tokens, API keys, credit cards before export
- Non-blocking reporting — background thread pool, never slows your app
- SSE streaming support — captures tool calls and usage from streaming completions
- Cloudflare/Vercel geo enrichment — extracts client IP, country, city from proxy headers
CLI Commands
python -m relia # Interactive project setup
python -m relia whoami # Show current user
python -m relia logout # Remove credentials
Environment Variables
| Variable | Description |
|---|---|
RELIA_PROJECT_ID |
Your RELIA project ID |
RELIA_SERVICE_NAME |
Service name for APM (default: backend) |
RELIA_OTLP_ENDPOINT |
Custom OTLP collector URL |
RELIA_AGENT_ENDPOINT |
Agent run ingestion URL |
RELIA_ENV |
Environment label (default: production) |
The SDK also reads from .env / .env.local files automatically.
Links
Support
- Email: tryrelia1@gmail.com
License
MIT
Metadata
Release files for relia-sdk 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| relia_sdk-0.3.1.tar.gz | 152.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| relia_sdk-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 216.4 kB
Release files / relia_sdk-0.3.1.tar.gz
| Download URL | relia_sdk-0.3.1.tar.gz |
|---|---|
| Size | 152.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76fafd91cceadeec279a2561ef29937067b0803b4bf39d04b95e8ac628f73c92
|
|
BLAKE2b-256 checksum How to use checksums |
8c04a0e29d3ad44d6b074c67c7fe7a35e90a4a40c60496339c2cdae7dade4a51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / relia_sdk-0.3.1-py3-none-any.whl
| Download URL | relia_sdk-0.3.1-py3-none-any.whl |
|---|---|
| Size | 64.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79b6df5446c0067b3c598c2f787ac798ebfd8dddaf65a8f338f25f3788258ef0
|
|
BLAKE2b-256 checksum How to use checksums |
e7423be087509501fe4f06a694a4e47cb286cc2a7e157c7508371ef14da998e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|