Skip to main content

ATI SDK

The Core SDK for IOcane ATI (Agent Traffic Intelligence) integrations. This package provides shared utilities for implementing OpenTelemetry instrumentation across various agent frameworks.

Installation

pip install ati-sdk

Features

  • AtiTracer: A wrapper around opentelemetry.trace.Tracer that enforces ATI semantic conventions.
  • AtiConfig: validation and merging of configuration from environment variables and code.
  • Semantic Conventions: Constants for standard ATI attributes (ati.span.type, etc.).

Configuration

The SDK reads the following environment variables:

Variable Description
ATI_CAPTURE_PAYLOADS Enable capturing of input/output payloads (default: false)
ATI_REDACTION_ENABLED Enable redaction of sensitive data (default: true)
ATI_DEBUG Enable internal debug logging

Usage for Integrators

from ati_sdk import AtiConfig, AtiTracer, AtiSpanType
from opentelemetry.trace import Status, StatusCode

# 1. Initialize Config
config = AtiConfig.from_env()

# 2. Create Tracer
tracer = AtiTracer(framework="mynetwork", tracer_name="ati.myframework", config=config)

# 3. Start Spans
span = tracer.start_span(
    "agent.step",
    AtiSpanType.STEP,
    attributes={"custom.attr": "value"}
)
try:
    # ... execution ...
    pass
except Exception as e:
    span.record_exception(e)
    span.set_status(Status(StatusCode.ERROR))
finally:
    span.end()

Metadata

Release files for ati-sdk 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ati-sdk 0.1.1
File Size Uploaded
ati_sdk-0.1.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ati-sdk 0.1.1
File Interpreter ABI Platform
ati_sdk-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / ati_sdk-0.1.1.tar.gz

Download URL ati_sdk-0.1.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0a2c744734a2f7f2a757a3e918d1b02a47793c19e1b28a4ee218c695e7b69282
BLAKE2b-256 checksum
How to use checksums
651f54476105d4a14081d860755c92a026e2d430d719c9ca822268b9425e5ec7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / ati_sdk-0.1.1-py3-none-any.whl

Download URL ati_sdk-0.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d91ffab93c03b3a0c47ea01ba7a210c729a43bf6723ccfc1f7ae908804ad02f
BLAKE2b-256 checksum
How to use checksums
4bb9d53c6c3230a71ea05c50f40498aa655855e97e83174568cb55de79b7bc86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page