Framework Name
AutoGen (AG2)
Framework Version
autogen-agentchat>=0.4 (the actively maintained AG2 fork; will confirm package naming with maintainers since both pyautogen and autogen-agentchat exist)
Proposed Instrumentation Approach
AutoGen agents (AssistantAgent, etc.) accept tools as plain Python
callables/FunctionTool objects registered at construction time. Following
the pattern used in the CrewAI and generic adapters, tools passed to the
agent factory will be wrapped with the existing @Instrument decorator from
harness/adapters/generic.py before being registered, so each tool call is
captured by the TraceCollector via contextvars — no monkeypatching of
AutoGen internals required.
AutoGen's run loop is async-native (run_stream / Console), so unlike
CrewAI's sync Crew.kickoff(), no thread-pool wrapping should be needed.
A toy AssistantAgent with AASTF-instrumented tools will be used for
integration tests, following examples/test_mock_agent.py as a template.
Commitment
Framework Name
AutoGen (AG2)
Framework Version
autogen-agentchat>=0.4 (the actively maintained AG2 fork; will confirm package naming with maintainers since both pyautogen and autogen-agentchat exist)
Proposed Instrumentation Approach
AutoGen agents (AssistantAgent, etc.) accept tools as plain Python
callables/FunctionTool objects registered at construction time. Following
the pattern used in the CrewAI and generic adapters, tools passed to the
agent factory will be wrapped with the existing @Instrument decorator from
harness/adapters/generic.py before being registered, so each tool call is
captured by the TraceCollector via contextvars — no monkeypatching of
AutoGen internals required.
AutoGen's run loop is async-native (run_stream / Console), so unlike
CrewAI's sync Crew.kickoff(), no thread-pool wrapping should be needed.
A toy AssistantAgent with AASTF-instrumented tools will be used for
integration tests, following examples/test_mock_agent.py as a template.
Commitment