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 init
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 init # 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.1.17
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.1.17.tar.gz | 45.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| relia_sdk-0.1.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.3 kB
Release files / relia_sdk-0.1.17.tar.gz
| Download URL | relia_sdk-0.1.17.tar.gz |
|---|---|
| Size | 45.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27962082f1cb6d8f7134d25b7ee555a49f1904a4fa3dbecb4f0a5c5cc2a67696
|
|
BLAKE2b-256 checksum How to use checksums |
27d0ee6d868d6d8052ff002f27e69759957900622a68b61a6e97c8f9a408a8d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / relia_sdk-0.1.17-py3-none-any.whl
| Download URL | relia_sdk-0.1.17-py3-none-any.whl |
|---|---|
| Size | 54.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ea01d02c3cbbb0c9e6808a7becf5c3531d711e5d01b5e3549d601f09a3ca47f
|
|
BLAKE2b-256 checksum How to use checksums |
c26fcd4df567fe3abe53ccfebb2746e74bb04cbe05c5008df95cec6e8eaec663
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|