agentops icon indicating copy to clipboard operation
agentops copied to clipboard

Updated AutoGen Provider for V4

Open fenilfaldu opened this issue 9 months ago • 3 comments

📥 Pull Request

This pull request closes the https://github.com/AgentOps-AI/agentops/issues/682 issue.

📘 Description ->Added AutogenInstrumentor class that extends OpenTelemetry's BaseInstrumentor to capture Autogen-specific telemetry ->Implemented instrumentation for key Autogen functions including ConversableAgent.initiate_chat and ConversableAgent.run ->Added support for capturing agent interactions, message content, and metrics with configurable parameters ->Integrated the instrumentor into the available instrumentors list for automatic activation ->Added proper version checking and dependency management for Autogen (>= 0.3.2) ->Implemented clean uninstrumentation to properly remove hooks when needed.

fenilfaldu avatar Apr 06 '25 14:04 fenilfaldu

Hi @fenilfaldu Kindly attach screenshots of the spans you were able to generate using your implementation, I was unable to create Autogen dedicated spans, instead it creates openai chat completion span which is a default behavior when I ran examples/autogen_examples/AgentChat.ipynb

Dwij1704 avatar Apr 09 '25 17:04 Dwij1704

image Hi @Dwij1704 @areibman, we are expecting the autogen spans to be automatically generated in this format, correct? Or is there something I'm missing?

fenilfaldu avatar Apr 14 '25 21:04 fenilfaldu

This pull request has been automatically marked as stale because it has not had any activity in the last 14 days.

If no updates are made within 7 days, this PR will be automatically closed.

github-actions[bot] avatar May 02 '25 00:05 github-actions[bot]

This pull request has been automatically closed because it has been stale for 7 days with no activity.

Feel free to reopen this PR if you'd like to continue working on it.

github-actions[bot] avatar May 10 '25 00:05 github-actions[bot]