Skip to main content

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


Download files

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

Source Distribution

adeptiv_ai_observability-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

adeptiv_ai_observability-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adeptiv_ai_observability-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for adeptiv_ai_observability-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a42fa6f211b8d8359fd6ca25449c81563923d99fea419f0735b4946063f9d5f
MD5 50e4e634c030be006642e7c6add73422
BLAKE2b-256 55b93b23575d582e5c6d8e701b4752ce43f4b9471c297bf40de061a1c10d33b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adeptiv_ai_observability-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b432cf0c7d4c68cb788c570599b2cb46756104ff6c65663c1bad617e474b73b
MD5 3060341151f8f6b0746a43ab5975b450
BLAKE2b-256 846cf8f26a169b37d3613ce0c5cb3f95b3ce15cd5d01d6442e47a5c47ff9256f

See more details on using hashes here.

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