Skip to main content

ATI CrewAI integration: agent/task lifecycle hooks -> ATI spans

Project description

ATI Integration for CrewAI

This package provides OpenTelemetry instrumentation for CrewAI agents using IOcane ATI.

Installation

pip install ati-integrations-crewai

Usage

from ati_crewai import CrewAIInstrumentor
from crewai import Agent, Task, Crew

# 1. Enable Instrumentation
# This monkeyspatches Crew.kickoff and Agent.execute_task
instrumentor = CrewAIInstrumentor()
instrumentor.instrument()

# 2. Run your Crew as normal
# ... define agents and tasks ...
crew = Crew(agents=[...], tasks=[...])
crew.kickoff()

# 3. (Optional) Disable instrumentation
instrumentor.uninstrument()

Configuration

Configure the instrumentation via environment variables:

Variable Description Default
ATI_CAPTURE_PAYLOADS Capture task descriptions and results false

Features

  • Captures Crew execution (Orchestrator)
  • Captures Agent task execution (Worker)
  • Automatic context propagation

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

ati_integrations_crewai-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

ati_integrations_crewai-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ati_integrations_crewai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 19e9b6e4933c46cd104a0ab2f0a7f297fd26ecb4c0869c23c76e7b1b7fd5fbef
MD5 7ead64285742107d39d03ab7ad4a1418
BLAKE2b-256 b89717e4af2307be5e942d5e302b83c13fd62c6dec4c4a8ebce0f0e593355857

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ati_integrations_crewai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11640d635f43d34fc4864f6d382f278454b21abf11097c073454451508592b22
MD5 44e92230eeebae8cacdb34da609643cc
BLAKE2b-256 eee58a2214a97edc857ef945a5c9b6fd6c67d38cb8c60b398afc32784d3add59

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