-
Notifications
You must be signed in to change notification settings - Fork 421
Open
Labels
Milestone
Description
Description
There is a customer and internal request to instrument @langchain/langgraph. This instrumentation must utilize the LlmEvents: LlmTool (currently only used in @langchain/core instrumentation) and the new LlmAgent event, introduced in this pending spec. The coordinating segments, Llm/tool/{vendor_name}/{function_name}/{tool_name} and Llm/agent/{vendor_name}/{function_name}/{agent_name} must be created.
Customer request:
Agent should instrument the framework methods according to the Agentic spec:
- It should be possible to measure agent’s latency, errors and tokens
- It should be able to monitor agent calls to LLM/Tool/Agent
- It should be able to detect there was an agent call within the span
- It should be possible to view agent to agent calls within entity map
Acceptance Criteria
-
LlmToolevent is created for tool calls -
LlmAgentevent is created for agent functions - Coordinating spans,
Llm/toolandLlm/agent, are created
Additional context
- Related spec is currently in PR review
- Jira link
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Reviewed