Adeptiv GenAI tracing SDK for LLMs, agents, and AI workflows
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Adeptiv GenAI Tracing SDK
Adeptiv GenAI is a lightweight, vendor-neutral OpenTelemetry tracing SDK for LLMs, agents, and AI workflows.
It captures latency, execution flow, hashes, and metadata for all AI use cases.
Key Features
- Trace-only observability (no response normalization)
- Works with any LLM (OpenAI, Anthropic, Gemini, local models)
- Supports chat, summarization, agents, tools, RAG
- Sync & async compatible
- Enterprise-safe (hashing, redaction, previews)
- OpenTelemetry compatible
This ensures zero lock-in and maximum compatibility.
Installation
pip install adeptiv-evaluator-sdk
Quick Start
Configuration
from adeptiv_evaluator_sdk import config
# SDK configuration
config.api_key = "your-api-key-here" # Required: Your Adeptiv API key
Usage Examples
Tracing an LLM Call
from adeptiv_evaluator_sdk import trace_llm, config
# Configure SDK
config.api_key = "your-api-key-here"
@trace_llm(name="chat_completion", model="gpt-4o", operation="chat")
def chat(prompt):
# Your LLM call here (OpenAI, Anthropic, LiteLLM, etc.)
return llm.invoke(prompt)
result = chat("Hello world")
Tracing an Agent (Sync)
from adeptiv_evaluator_sdk import trace_agent, config
# Configure SDK
config.api_key = "your-api-key-here"
@trace_agent(agent_name="support_agent", model="gpt-4o")
def run_agent(query):
# Your agent logic here
return process_query(query)
result = run_agent("How can I help you?")
Tracing an Agent (Async)
from adeptiv_evaluator_sdk import trace_agent, config
# Configure SDK
config.api_key = "your-api-key-here"
@trace_agent(agent_name="support_agent", model="gpt-4o")
async def run_agent(query):
# Your async agent logic here
return await agent.run(query)
result = await run_agent("How can I help you?")
Multi-Agent Workflow
from adeptiv_evaluator_sdk import trace_agent, config
config.api_key = "your-api-key-here"
@trace_agent(agent_name="planner", model="gpt-4o-mini")
def planner_agent(question: str):
return f"Plan to answer: {question}"
@trace_agent(agent_name="researcher", model="gpt-4o-mini")
def researcher_agent(question: str):
return f"Research notes about: {question}"
@trace_agent(agent_name="writer", model="gpt-4o-mini")
def writer_agent(research_output: str):
return f"Final answer based on: {research_output}"
# Execute workflow
question = "What is an LLM?"
plan = planner_agent(question)
research = researcher_agent(question)
answer = writer_agent(research)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adeptiv_ai_observability-0.1.1.tar.gz.
File metadata
- Download URL: adeptiv_ai_observability-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c03170100d6d621f1478d2d4aaa50540703189ee924c5c329622570e31b202a
|
|
| MD5 |
f3ea006e3fd4a226ce9b7aee4a85e3bb
|
|
| BLAKE2b-256 |
ae49f9079929ed13af222f56e6232948c736d9a3689272be858087743c650157
|
File details
Details for the file adeptiv_ai_observability-0.1.1-py3-none-any.whl.
File metadata
- Download URL: adeptiv_ai_observability-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06a10d27360c7be34a6d90ce42b16acf1501fa6009828424f8bcb5bc1f12dd79
|
|
| MD5 |
7674b3234a856018b2388b77b453b283
|
|
| BLAKE2b-256 |
15080c29897ea52385bf31691e9c29290800950e4734c2ef4972975e9ee3780e
|