agentops
agentops copied to clipboard
Integrate map-agent telemetry support
📥 Pull Request
📘 Description
Adds integration support for the mcp-agent framework. This is achieved by:
- Registering
mcp_agentas a new agentic library inagentops/instrumentation/__init__.py. - Creating a new integration package
agentops/instrumentation/agentic/mcp_agentcontaining an instrumentor. - The instrumentor patches
mcp_agent.tracing.telemetry.get_tracerto ensure that spans generated bymcp-agentare routed through the AgentOps global tracer provider, enabling AgentOps to capture these traces. - Requires
mcp-agent >= 0.1.13.
🧪 Testing
Verified by running mcp-agent examples and confirming that traces were successfully captured and reported by AgentOps.
Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents