-
Notifications
You must be signed in to change notification settings - Fork 252
Description
Area(s)
area:gen-ai
What's missing?
Current gen_ai.agent attributes only include the below set of fields:
- id: gen_ai.agent.id # alternatives: assistant (openai)
stability: development
type: string
brief: The unique identifier of the GenAI agent.
examples: ['asst_5j66UpCpwteGg4YSxUnt7lPY']
- id: gen_ai.agent.name
stability: development
type: string
brief: Human-readable name of the GenAI agent provided by the application.
examples: ["Math Tutor", "Fiction Writer"]
- id: gen_ai.agent.description
stability: development
type: string
brief: Free-form description of the GenAI agent provided by the application.
examples: ["Helps with math problems", "Generates fiction stories"]
The current agentic application framework - OpenAI, langchain, langraph, autogen, llamaindex, crew.ai, most recent Google ADK include llm name and tools list as part of agent configuration parameters set. Agent's performance solely depends on which llm it has employed, what set of tools it is configured to use. Hence expressing them as a key attributes applied to agents observability data - metrics, logs, traces important for drawing higher lever of diagnostics such as if error count is found higher then is that due to certain specific llm used for agent's task execution or due to a specific set of tools employed in the agentic workflow ?
This issue proposes the addition of llm name and tools list part of gen_ai.agent.[] semantic conventions / attributes.
Below is the proposal:
- id: gen_ai.agent.llm
stability: development
type: string
brief: model name as per huggingface naming conventions.
examples: ["ibm-granite/granite-3.2-2b-instruct"]
- id: gen_ai.agent.tools
stability: development
type: string[]
brief: list of tools name with which agent is configured.
examples: ["fun1_name", "func2_name"]
Describe the solution you'd like
No response
Metadata
Metadata
Assignees
Type
Projects
Status