traceAI-mcp-use 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- traceai_mcp_use/__init__.py +13 -0
- traceai_mcp_use/_callback.py +1113 -0
- traceai_mcp_use/_text.py +245 -0
- traceai_mcp_use/py.typed +0 -0
- traceai_mcp_use/version.py +1 -0
- traceai_mcp_use-0.1.0.dist-info/METADATA +399 -0
- traceai_mcp_use-0.1.0.dist-info/RECORD +8 -0
- traceai_mcp_use-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Trace mcp-use agents with Future AGI.
|
|
2
|
+
|
|
3
|
+
``FutureAGICallback`` is a LangChain callback handler. Pass it to the agent:
|
|
4
|
+
``MCPAgent(llm=..., client=..., callbacks=[FutureAGICallback(tracer_provider=...)])``.
|
|
5
|
+
It records one span per agent run, LLM call and tool call. It patches
|
|
6
|
+
nothing, imports neither ``langfuse`` nor ``traceai_mcp``, and sets no
|
|
7
|
+
environment variables.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from traceai_mcp_use._callback import AGENT_SPAN_NAME, FutureAGICallback
|
|
11
|
+
from traceai_mcp_use.version import __version__
|
|
12
|
+
|
|
13
|
+
__all__ = ["AGENT_SPAN_NAME", "FutureAGICallback", "__version__"]
|