ATI Integration for AutoGPT
This package provides OpenTelemetry instrumentation for AutoGPT-style agents using IOcane ATI.
Installation
pip install ati-integrations-autogpt opentelemetry-sdk opentelemetry-exporter-otlp
Configuration
Set the standard OpenTelemetry environment variables:
export OTEL_EXPORTER_OTLP_ENDPOINT="https://api.iocane.ai"
export OTEL_EXPORTER_OTLP_HEADERS="x-iocane-key=YOUR_KEY,x-ati-env=YOUR_ENV_ID"
export OTEL_SERVICE_NAME="my-autogpt-agent"
Usage
import os
from ati_autogpt import AutoGPTInstrumentor
from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
# 1. Configure OpenTelemetry
provider = TracerProvider()
exporter = OTLPSpanExporter()
provider.add_span_processor(BatchSpanProcessor(exporter))
trace.set_tracer_provider(provider)
# 2. Instrument AutoGPT
instrumentor = AutoGPTInstrumentor()
instrumentor.instrument() # auto-detects Agent class
# 3. Run your Agent
# ...
# 4. Flush traces
provider.shutdown()
Configuration
Configure the instrumentation via environment variables:
| Variable | Description | Default |
|---|---|---|
ATI_CAPTURE_PAYLOADS |
Capture step inputs | false |
Features
- Captures Agent steps (
ati.span.type=step) - Identifies Loop Iterations
Metadata
Release files for ati-integrations-autogpt 0.1.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 | |
|---|---|---|---|
| ati_integrations_autogpt-0.1.1.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ati_integrations_autogpt-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / ati_integrations_autogpt-0.1.1.tar.gz
| Download URL | ati_integrations_autogpt-0.1.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
450c1ccccf70a2ad7ccb4e4f237a1c151a1f364e702310c75fcbc9da05b61495
|
|
BLAKE2b-256 checksum How to use checksums |
1ef311faffdaf8fe18afa266165493ee63d05cce52de434be73e45da75459d16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Release files / ati_integrations_autogpt-0.1.1-py3-none-any.whl
| Download URL | ati_integrations_autogpt-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc4a4a3ed5982b45201cb88bb881498c5b3a6009395e82909a6672a010fdf6ea
|
|
BLAKE2b-256 checksum How to use checksums |
6296d684df2cf35e25793e551da1b462080d6f01bfc23f3fa3961fa5dd8caf78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|