mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
* feat(lens): consume the independent Lens service and shared UI * fix(lens): keep embedded setup stable and vendor UI before builds * chore(lens): pin embedded UI provenance to published Lens source * fix(lens): complete embedded UI extraction across CI builds * docs(lens): record latest main and removal-boundary validation * fix(lens): wire external chart credentials and ingestion modes * test(lens): cover adapter failures and fix extraction CI * docs(lens): refresh bundled chart setup instructions * test(lens): restore gateway adapter test package marker * build(lens): pin clean-cut UI and supported storage chart * test(ui): await guardrail scope menu before checking options * perf(lens): omit unused trace-team lookup from product requests * docs(lens): record final-image adapter permission checks * test(lens): assert delegated investigation authorization * refactor(lens): remove copied trace runtime and preserve spend logging * test(lens): verify independent gateway image upgrades and outages * test(lens): pin the chart qualification database image * fix(lens): update embedded UI metadata filters * test: wait for Lens chart pod identity convergence * fix(e2e): select Lens chart pods by deployment ownership * fix(e2e): select Helm migration ownership for Lens upgrades * test(lens): retain migration Jobs through rollout assertions * docs(helm): require existing database for migration hooks * test(lens): qualify release boundaries with embedded navigation update * docs(lens): record browser qualification for embedded tabs * fix(lens): remove unrelated CI and guardrail test changes * test(lens): give qualification tenants unique key aliases * feat(lens): embed the latest canonical Lens interface * fix(lens): qualify split inference through the gateway * fix(lens): preserve scoped auth and isolate delegated credentials * chore(lens): remove unrelated documentation and lint changes * fix(lens): bound concurrent forwarding buffers through response delivery * fix(lens): preserve OAuth2 dispatch without inference policies * chore(lens): adopt current shared onboarding UI * fix(lens): refresh shared setup UI and review context * fix(lens): bound uploads before gateway authentication * docs(lens): remove extraction evidence from the gateway repo * docs(lens): refresh shared setup prompt for paired releases
894 lines
68 KiB
JSON
894 lines
68 KiB
JSON
{
|
|
"resourceSpans": [
|
|
{
|
|
"resource": {
|
|
"attributes": [
|
|
{
|
|
"key": "telemetry.sdk.language",
|
|
"value": {
|
|
"stringValue": "python"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.sdk.name",
|
|
"value": {
|
|
"stringValue": "opentelemetry"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.sdk.version",
|
|
"value": {
|
|
"stringValue": "1.45.0"
|
|
}
|
|
},
|
|
{
|
|
"key": "service.instance.id",
|
|
"value": {
|
|
"stringValue": "35a56437-47f3-4133-88ee-6e5077337625"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.auto.version",
|
|
"value": {
|
|
"stringValue": "0.66b0"
|
|
}
|
|
},
|
|
{
|
|
"key": "service.name",
|
|
"value": {
|
|
"stringValue": "unknown_service:python3"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scopeSpans": [
|
|
{
|
|
"scope": {
|
|
"name": "openinference.instrumentation.openai",
|
|
"version": "0.1.63"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "5ebe73a5fa48f7e33dee3010a7fb6b4a",
|
|
"spanId": "9f7a2256c055ecf5",
|
|
"parentSpanId": "128d8f58edc633e7",
|
|
"name": "ChatCompletion",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061351345544000",
|
|
"endTimeUnixNano": "1791061356040575000",
|
|
"attributes": [
|
|
{
|
|
"key": "llm.system",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"messages\": [{\"role\": \"system\", \"content\": \"You are research_agent. You coordinate a search specialist and a writer.\\nYour personal goal is: Plan how to answer questions and brief your team\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: Plan how to answer: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A short research plan\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nProvide your complete response:\"}], \"model\": \"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"id\":\"chatcmpl-EV1AFcGBFdvffD9hCzEZ4bfskR7ZM\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"message\":{\"content\":\"### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\",\"role\":\"assistant\",\"annotations\":[],\"provider_specific_fields\":{\"refusal\":null}},\"provider_specific_fields\":{}}],\"created\":1791061351,\"model\":\"openai/gpt-6-luna\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"usage\":{\"completion_tokens\":424,\"prompt_tokens\":89,\"total_tokens\":513,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":253,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cache_write_tokens\":0,\"cached_tokens\":0,\"cache_creation_tokens\":0}}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.invocation_parameters",
|
|
"value": {
|
|
"stringValue": "{\"model\": \"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "system"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "You are research_agent. You coordinate a search specialist and a writer.\nYour personal goal is: Plan how to answer questions and brief your team"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.1.message.role",
|
|
"value": {
|
|
"stringValue": "user"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.1.message.content",
|
|
"value": {
|
|
"stringValue": "\nCurrent Task: Plan how to answer: What is an agent trace?\n\nThis is the expected criteria for your final answer: A short research plan\nyou MUST return the actual complete content as the final answer, not a summary.\n\nProvide your complete response:"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.model_name",
|
|
"value": {
|
|
"stringValue": "openai/gpt-6-luna"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.total",
|
|
"value": {
|
|
"intValue": "513"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt",
|
|
"value": {
|
|
"intValue": "89"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion",
|
|
"value": {
|
|
"intValue": "424"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.cache_read",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.cache_write",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.reasoning",
|
|
"value": {
|
|
"intValue": "253"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "assistant"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "### Research plan\n\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked."
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.finish_reason",
|
|
"value": {
|
|
"stringValue": "stop"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "LLM"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"scope": {
|
|
"name": "openinference.instrumentation.crewai",
|
|
"version": "1.1.20"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "5ebe73a5fa48f7e33dee3010a7fb6b4a",
|
|
"spanId": "128d8f58edc633e7",
|
|
"parentSpanId": "17a5a74dcbf80339",
|
|
"name": "research_agent._execute_core",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061351181016000",
|
|
"endTimeUnixNano": "1791061356049525000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"agent\": {\"entity_type\": \"agent\", \"id\": \"5bc106d0-c123-4fb7-b147-cff09bdff9b3\", \"role\": \"research_agent\", \"goal\": \"Plan how to answer questions and brief your team\", \"backstory\": \"You coordinate a search specialist and a writer.\", \"cache\": true, \"verbose\": false, \"max_rpm\": null, \"allow_delegation\": false, \"tools\": [], \"max_iter\": 25, \"tool_failure_policy\": null, \"i18n\": {\"prompt_file\": null}, \"cache_handler\": null, \"tools_results\": [], \"max_tokens\": null, \"knowledge\": null, \"knowledge_sources\": null, \"knowledge_storage\": null, \"security_config\": {\"fingerprint\": {\"metadata\": {}}}, \"checkpoint\": null, \"adapted_agent\": false, \"knowledge_config\": null, \"apps\": null, \"mcps\": null, \"memory\": null, \"skills\": null, \"execution_context\": null, \"checkpoint_kickoff_event_id\": null, \"max_execution_time\": null, \"use_system_prompt\": true, \"system_template\": null, \"prompt_template\": null, \"response_template\": null, \"allow_code_execution\": false, \"respect_context_window\": true, \"max_retry_limit\": 2, \"multimodal\": false, \"inject_date\": false, \"date_format\": \"%Y-%m-%d\", \"code_execution_mode\": \"safe\", \"planning_config\": null, \"planning\": false, \"reasoning\": false, \"max_reasoning_attempts\": null, \"embedder\": null, \"agent_knowledge_context\": null, \"crew_knowledge_context\": null, \"knowledge_search_query\": null, \"from_repository\": null, \"guardrail_max_retries\": 3, \"a2a\": null, \"key\": \"d24ea2a79ed01f4be3a002930a15c6f1\"}, \"context\": \"\", \"tools\": []}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "task_key",
|
|
"value": {
|
|
"stringValue": "6503e7d5d85c78292dcb3f988aab0f3a"
|
|
}
|
|
},
|
|
{
|
|
"key": "task_id",
|
|
"value": {
|
|
"stringValue": "1d5c3755-0b89-42b6-a9a5-89a75dc991c6"
|
|
}
|
|
},
|
|
{
|
|
"key": "graph.node.id",
|
|
"value": {
|
|
"stringValue": "research_agent"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_key",
|
|
"value": {
|
|
"stringValue": "6e5c4d1ffa29e44b3430a25120804ebf"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_id",
|
|
"value": {
|
|
"stringValue": "38044d35-524e-4f84-95d5-08ffbe0735ce"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"description\": \"Plan how to answer: What is an agent trace?\", \"name\": \"Plan how to answer: What is an agent trace?\", \"expected_output\": \"A short research plan\", \"summary\": \"Plan how to answer: What is an agent trace?...\", \"raw\": \"### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"research_agent\", \"output_format\": \"raw\", \"messages\": [{\"role\": \"system\", \"content\": \"You are research_agent. You coordinate a search specialist and a writer.\\nYour personal goal is: Plan how to answer questions and brief your team\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: Plan how to answer: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A short research plan\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nProvide your complete response:\"}], \"tool_failures\": []}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "AGENT"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"resource": {
|
|
"attributes": [
|
|
{
|
|
"key": "telemetry.sdk.language",
|
|
"value": {
|
|
"stringValue": "python"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.sdk.name",
|
|
"value": {
|
|
"stringValue": "opentelemetry"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.sdk.version",
|
|
"value": {
|
|
"stringValue": "1.45.0"
|
|
}
|
|
},
|
|
{
|
|
"key": "service.instance.id",
|
|
"value": {
|
|
"stringValue": "35a56437-47f3-4133-88ee-6e5077337625"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.auto.version",
|
|
"value": {
|
|
"stringValue": "0.66b0"
|
|
}
|
|
},
|
|
{
|
|
"key": "service.name",
|
|
"value": {
|
|
"stringValue": "unknown_service:python3"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scopeSpans": [
|
|
{
|
|
"scope": {
|
|
"name": "openinference.instrumentation.openai",
|
|
"version": "0.1.63"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "5ebe73a5fa48f7e33dee3010a7fb6b4a",
|
|
"spanId": "420c1a2c3cab24b8",
|
|
"parentSpanId": "3449024cafd37889",
|
|
"name": "ChatCompletion",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061356056166000",
|
|
"endTimeUnixNano": "1791061363055925000",
|
|
"attributes": [
|
|
{
|
|
"key": "llm.system",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"messages\": [{\"role\": \"system\", \"content\": \"You are search_agent. You find relevant technical facts.\\nYour personal goal is: Gather key facts for the research plan\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: Gather facts for: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A few key facts\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nThis is the context you're working with:\\n### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\\n\\nProvide your complete response:\"}], \"model\": \"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"id\":\"chatcmpl-EV1AKtWiwxsUrDT8R6mgNylWV3axU\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"message\":{\"content\":\"An **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\\n1. The user\u2019s request.\\n2. The agent\u2019s model call deciding to use a weather tool.\\n3. The tool call and its result.\\n4. The model\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\",\"role\":\"assistant\",\"annotations\":[],\"provider_specific_fields\":{\"refusal\":null}},\"provider_specific_fields\":{}}],\"created\":1791061356,\"model\":\"openai/gpt-6-luna\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"usage\":{\"completion_tokens\":573,\"prompt_tokens\":253,\"total_tokens\":826,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":345,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cache_write_tokens\":0,\"cached_tokens\":0,\"cache_creation_tokens\":0}}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.invocation_parameters",
|
|
"value": {
|
|
"stringValue": "{\"model\": \"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "system"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "You are search_agent. You find relevant technical facts.\nYour personal goal is: Gather key facts for the research plan"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.1.message.role",
|
|
"value": {
|
|
"stringValue": "user"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.1.message.content",
|
|
"value": {
|
|
"stringValue": "\nCurrent Task: Gather facts for: What is an agent trace?\n\nThis is the expected criteria for your final answer: A few key facts\nyou MUST return the actual complete content as the final answer, not a summary.\n\nThis is the context you're working with:\n### Research plan\n\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\n\nProvide your complete response:"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.model_name",
|
|
"value": {
|
|
"stringValue": "openai/gpt-6-luna"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.total",
|
|
"value": {
|
|
"intValue": "826"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt",
|
|
"value": {
|
|
"intValue": "253"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion",
|
|
"value": {
|
|
"intValue": "573"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.cache_read",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.cache_write",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.reasoning",
|
|
"value": {
|
|
"intValue": "345"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "assistant"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "An **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\n\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\n1. The user\u2019s request.\n2. The agent\u2019s model call deciding to use a weather tool.\n3. The tool call and its result.\n4. The model\u2019s final answer.\n\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\n\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.finish_reason",
|
|
"value": {
|
|
"stringValue": "stop"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "LLM"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "5ebe73a5fa48f7e33dee3010a7fb6b4a",
|
|
"spanId": "5d53453b3f0570fc",
|
|
"parentSpanId": "96740580bb297dba",
|
|
"name": "ChatCompletion",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061363065316000",
|
|
"endTimeUnixNano": "1791061365449519000",
|
|
"attributes": [
|
|
{
|
|
"key": "llm.system",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"messages\": [{\"role\": \"system\", \"content\": \"You are writer_agent. You explain technical concepts.\\nYour personal goal is: Answer questions clearly from the gathered facts\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A short answer\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nThis is the context you're working with:\\n### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\\n\\n----------\\n\\nAn **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\\n1. The user\u2019s request.\\n2. The agent\u2019s model call deciding to use a weather tool.\\n3. The tool call and its result.\\n4. The model\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\\n\\nProvide your complete response:\"}], \"model\": \"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"id\":\"chatcmpl-EV1ARpvdC1giY6SFU2mGHOAr6MBkP\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"message\":{\"content\":\"An **agent trace** is a structured record of an AI agent\u2019s execution: the steps it took, their order, and how they relate. It may include model calls, tool calls, inputs and outputs, timing, and nested steps; the exact meaning can vary by platform.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show the agent deciding to call a weather tool, the tool\u2019s result, and the agent\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, spot slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships between steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\",\"role\":\"assistant\",\"annotations\":[],\"provider_specific_fields\":{\"refusal\":null}},\"provider_specific_fields\":{}}],\"created\":1791061363,\"model\":\"openai/gpt-6-luna\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"usage\":{\"completion_tokens\":199,\"prompt_tokens\":468,\"total_tokens\":667,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":0,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cache_write_tokens\":0,\"cached_tokens\":0,\"cache_creation_tokens\":0}}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.invocation_parameters",
|
|
"value": {
|
|
"stringValue": "{\"model\": \"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "system"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "You are writer_agent. You explain technical concepts.\nYour personal goal is: Answer questions clearly from the gathered facts"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.1.message.role",
|
|
"value": {
|
|
"stringValue": "user"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.1.message.content",
|
|
"value": {
|
|
"stringValue": "\nCurrent Task: What is an agent trace?\n\nThis is the expected criteria for your final answer: A short answer\nyou MUST return the actual complete content as the final answer, not a summary.\n\nThis is the context you're working with:\n### Research plan\n\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\n\n----------\n\nAn **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\n\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\n1. The user\u2019s request.\n2. The agent\u2019s model call deciding to use a weather tool.\n3. The tool call and its result.\n4. The model\u2019s final answer.\n\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\n\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\n\nProvide your complete response:"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.model_name",
|
|
"value": {
|
|
"stringValue": "openai/gpt-6-luna"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.total",
|
|
"value": {
|
|
"intValue": "667"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt",
|
|
"value": {
|
|
"intValue": "468"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion",
|
|
"value": {
|
|
"intValue": "199"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.cache_read",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.cache_write",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.reasoning",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "assistant"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "An **agent trace** is a structured record of an AI agent\u2019s execution: the steps it took, their order, and how they relate. It may include model calls, tool calls, inputs and outputs, timing, and nested steps; the exact meaning can vary by platform.\n\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show the agent deciding to call a weather tool, the tool\u2019s result, and the agent\u2019s final answer.\n\nTraces help developers inspect and debug agent behavior, spot slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships between steps.\n\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.finish_reason",
|
|
"value": {
|
|
"stringValue": "stop"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "LLM"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"scope": {
|
|
"name": "openinference.instrumentation.crewai",
|
|
"version": "1.1.20"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "5ebe73a5fa48f7e33dee3010a7fb6b4a",
|
|
"spanId": "3449024cafd37889",
|
|
"parentSpanId": "17a5a74dcbf80339",
|
|
"name": "search_agent._execute_core",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061356052115000",
|
|
"endTimeUnixNano": "1791061363059659000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"agent\": {\"entity_type\": \"agent\", \"id\": \"3125d853-8fbe-40fc-803e-7869e426c42b\", \"role\": \"search_agent\", \"goal\": \"Gather key facts for the research plan\", \"backstory\": \"You find relevant technical facts.\", \"cache\": true, \"verbose\": false, \"max_rpm\": null, \"allow_delegation\": false, \"tools\": [], \"max_iter\": 25, \"tool_failure_policy\": null, \"i18n\": {\"prompt_file\": null}, \"cache_handler\": null, \"tools_results\": [], \"max_tokens\": null, \"knowledge\": null, \"knowledge_sources\": null, \"knowledge_storage\": null, \"security_config\": {\"fingerprint\": {\"metadata\": {}}}, \"checkpoint\": null, \"adapted_agent\": false, \"knowledge_config\": null, \"apps\": null, \"mcps\": null, \"memory\": null, \"skills\": null, \"execution_context\": null, \"checkpoint_kickoff_event_id\": null, \"max_execution_time\": null, \"use_system_prompt\": true, \"system_template\": null, \"prompt_template\": null, \"response_template\": null, \"allow_code_execution\": false, \"respect_context_window\": true, \"max_retry_limit\": 2, \"multimodal\": false, \"inject_date\": false, \"date_format\": \"%Y-%m-%d\", \"code_execution_mode\": \"safe\", \"planning_config\": null, \"planning\": false, \"reasoning\": false, \"max_reasoning_attempts\": null, \"embedder\": null, \"agent_knowledge_context\": null, \"crew_knowledge_context\": null, \"knowledge_search_query\": null, \"from_repository\": null, \"guardrail_max_retries\": 3, \"a2a\": null, \"key\": \"237163a35e2b9c58c91cea65a47d1d12\"}, \"context\": \"### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\", \"tools\": []}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "task_key",
|
|
"value": {
|
|
"stringValue": "8f56f223092bbdaf6f5fe7377be12807"
|
|
}
|
|
},
|
|
{
|
|
"key": "task_id",
|
|
"value": {
|
|
"stringValue": "c1a971a7-11c8-46d3-a07b-ef7f6ca0957d"
|
|
}
|
|
},
|
|
{
|
|
"key": "graph.node.id",
|
|
"value": {
|
|
"stringValue": "search_agent"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_key",
|
|
"value": {
|
|
"stringValue": "6e5c4d1ffa29e44b3430a25120804ebf"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_id",
|
|
"value": {
|
|
"stringValue": "38044d35-524e-4f84-95d5-08ffbe0735ce"
|
|
}
|
|
},
|
|
{
|
|
"key": "graph.node.parent_id",
|
|
"value": {
|
|
"stringValue": "research_agent"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"description\": \"Gather facts for: What is an agent trace?\", \"name\": \"Gather facts for: What is an agent trace?\", \"expected_output\": \"A few key facts\", \"summary\": \"Gather facts for: What is an agent trace?...\", \"raw\": \"An **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\\n1. The user\u2019s request.\\n2. The agent\u2019s model call deciding to use a weather tool.\\n3. The tool call and its result.\\n4. The model\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"search_agent\", \"output_format\": \"raw\", \"messages\": [{\"role\": \"system\", \"content\": \"You are search_agent. You find relevant technical facts.\\nYour personal goal is: Gather key facts for the research plan\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: Gather facts for: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A few key facts\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nThis is the context you're working with:\\n### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\\n\\nProvide your complete response:\"}], \"tool_failures\": []}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "AGENT"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "5ebe73a5fa48f7e33dee3010a7fb6b4a",
|
|
"spanId": "96740580bb297dba",
|
|
"parentSpanId": "17a5a74dcbf80339",
|
|
"name": "writer_agent._execute_core",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061363062109000",
|
|
"endTimeUnixNano": "1791061365453249000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"agent\": {\"entity_type\": \"agent\", \"id\": \"c50ec084-60bf-411b-b941-83b75128c510\", \"role\": \"writer_agent\", \"goal\": \"Answer questions clearly from the gathered facts\", \"backstory\": \"You explain technical concepts.\", \"cache\": true, \"verbose\": false, \"max_rpm\": null, \"allow_delegation\": false, \"tools\": [], \"max_iter\": 25, \"tool_failure_policy\": null, \"i18n\": {\"prompt_file\": null}, \"cache_handler\": null, \"tools_results\": [], \"max_tokens\": null, \"knowledge\": null, \"knowledge_sources\": null, \"knowledge_storage\": null, \"security_config\": {\"fingerprint\": {\"metadata\": {}}}, \"checkpoint\": null, \"adapted_agent\": false, \"knowledge_config\": null, \"apps\": null, \"mcps\": null, \"memory\": null, \"skills\": null, \"execution_context\": null, \"checkpoint_kickoff_event_id\": null, \"max_execution_time\": null, \"use_system_prompt\": true, \"system_template\": null, \"prompt_template\": null, \"response_template\": null, \"allow_code_execution\": false, \"respect_context_window\": true, \"max_retry_limit\": 2, \"multimodal\": false, \"inject_date\": false, \"date_format\": \"%Y-%m-%d\", \"code_execution_mode\": \"safe\", \"planning_config\": null, \"planning\": false, \"reasoning\": false, \"max_reasoning_attempts\": null, \"embedder\": null, \"agent_knowledge_context\": null, \"crew_knowledge_context\": null, \"knowledge_search_query\": null, \"from_repository\": null, \"guardrail_max_retries\": 3, \"a2a\": null, \"key\": \"126c09767dcaf57383c56a9d79d88eb0\"}, \"context\": \"### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\\n\\n----------\\n\\nAn **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\\n1. The user\u2019s request.\\n2. The agent\u2019s model call deciding to use a weather tool.\\n3. The tool call and its result.\\n4. The model\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\", \"tools\": []}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "task_key",
|
|
"value": {
|
|
"stringValue": "93d1e44d544e68317959b39abafb7ecb"
|
|
}
|
|
},
|
|
{
|
|
"key": "task_id",
|
|
"value": {
|
|
"stringValue": "3283e17f-b203-43f8-bfce-049d2956a771"
|
|
}
|
|
},
|
|
{
|
|
"key": "graph.node.id",
|
|
"value": {
|
|
"stringValue": "writer_agent"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_key",
|
|
"value": {
|
|
"stringValue": "6e5c4d1ffa29e44b3430a25120804ebf"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_id",
|
|
"value": {
|
|
"stringValue": "38044d35-524e-4f84-95d5-08ffbe0735ce"
|
|
}
|
|
},
|
|
{
|
|
"key": "graph.node.parent_id",
|
|
"value": {
|
|
"stringValue": "search_agent"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"description\": \"What is an agent trace?\", \"name\": \"What is an agent trace?\", \"expected_output\": \"A short answer\", \"summary\": \"What is an agent trace?...\", \"raw\": \"An **agent trace** is a structured record of an AI agent\u2019s execution: the steps it took, their order, and how they relate. It may include model calls, tool calls, inputs and outputs, timing, and nested steps; the exact meaning can vary by platform.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show the agent deciding to call a weather tool, the tool\u2019s result, and the agent\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, spot slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships between steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"writer_agent\", \"output_format\": \"raw\", \"messages\": [{\"role\": \"system\", \"content\": \"You are writer_agent. You explain technical concepts.\\nYour personal goal is: Answer questions clearly from the gathered facts\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A short answer\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nThis is the context you're working with:\\n### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\\n\\n----------\\n\\nAn **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\\n1. The user\u2019s request.\\n2. The agent\u2019s model call deciding to use a weather tool.\\n3. The tool call and its result.\\n4. The model\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\\n\\nProvide your complete response:\"}], \"tool_failures\": []}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "AGENT"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "5ebe73a5fa48f7e33dee3010a7fb6b4a",
|
|
"spanId": "17a5a74dcbf80339",
|
|
"name": "research_crew.kickoff",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061351168182000",
|
|
"endTimeUnixNano": "1791061365456073000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"question\": \"What is an agent trace?\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_key",
|
|
"value": {
|
|
"stringValue": "6e5c4d1ffa29e44b3430a25120804ebf"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_id",
|
|
"value": {
|
|
"stringValue": "38044d35-524e-4f84-95d5-08ffbe0735ce"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_inputs",
|
|
"value": {
|
|
"stringValue": "{\"question\": \"What is an agent trace?\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_agents",
|
|
"value": {
|
|
"stringValue": "[{\"key\": \"d24ea2a79ed01f4be3a002930a15c6f1\", \"id\": \"5bc106d0-c123-4fb7-b147-cff09bdff9b3\", \"role\": \"research_agent\", \"goal\": \"Plan how to answer questions and brief your team\", \"backstory\": \"You coordinate a search specialist and a writer.\", \"verbose?\": false, \"max_iter\": 25, \"max_rpm\": null, \"delegation_enabled\": false, \"tools_names\": []}, {\"key\": \"237163a35e2b9c58c91cea65a47d1d12\", \"id\": \"3125d853-8fbe-40fc-803e-7869e426c42b\", \"role\": \"search_agent\", \"goal\": \"Gather key facts for the research plan\", \"backstory\": \"You find relevant technical facts.\", \"verbose?\": false, \"max_iter\": 25, \"max_rpm\": null, \"delegation_enabled\": false, \"tools_names\": []}, {\"key\": \"126c09767dcaf57383c56a9d79d88eb0\", \"id\": \"c50ec084-60bf-411b-b941-83b75128c510\", \"role\": \"writer_agent\", \"goal\": \"Answer questions clearly from the gathered facts\", \"backstory\": \"You explain technical concepts.\", \"verbose?\": false, \"max_iter\": 25, \"max_rpm\": null, \"delegation_enabled\": false, \"tools_names\": []}]"
|
|
}
|
|
},
|
|
{
|
|
"key": "crew_tasks",
|
|
"value": {
|
|
"stringValue": "[{\"id\": \"1d5c3755-0b89-42b6-a9a5-89a75dc991c6\", \"description\": \"Plan how to answer: {question}\", \"expected_output\": \"A short research plan\", \"async_execution?\": false, \"human_input?\": false, \"agent_role\": \"research_agent\", \"agent_key\": \"d24ea2a79ed01f4be3a002930a15c6f1\", \"context\": null, \"tools_names\": []}, {\"id\": \"c1a971a7-11c8-46d3-a07b-ef7f6ca0957d\", \"description\": \"Gather facts for: {question}\", \"expected_output\": \"A few key facts\", \"async_execution?\": false, \"human_input?\": false, \"agent_role\": \"search_agent\", \"agent_key\": \"237163a35e2b9c58c91cea65a47d1d12\", \"context\": null, \"tools_names\": []}, {\"id\": \"3283e17f-b203-43f8-bfce-049d2956a771\", \"description\": \"{question}\", \"expected_output\": \"A short answer\", \"async_execution?\": false, \"human_input?\": false, \"agent_role\": \"writer_agent\", \"agent_key\": \"126c09767dcaf57383c56a9d79d88eb0\", \"context\": null, \"tools_names\": []}]"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"raw\": \"An **agent trace** is a structured record of an AI agent\u2019s execution: the steps it took, their order, and how they relate. It may include model calls, tool calls, inputs and outputs, timing, and nested steps; the exact meaning can vary by platform.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show the agent deciding to call a weather tool, the tool\u2019s result, and the agent\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, spot slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships between steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\", \"pydantic\": null, \"json_dict\": null, \"tasks_output\": [{\"description\": \"Plan how to answer: What is an agent trace?\", \"name\": \"Plan how to answer: What is an agent trace?\", \"expected_output\": \"A short research plan\", \"summary\": \"Plan how to answer: What is an agent trace?...\", \"raw\": \"### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"research_agent\", \"output_format\": \"raw\", \"messages\": [{\"role\": \"system\", \"content\": \"You are research_agent. You coordinate a search specialist and a writer.\\nYour personal goal is: Plan how to answer questions and brief your team\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: Plan how to answer: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A short research plan\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nProvide your complete response:\"}], \"tool_failures\": []}, {\"description\": \"Gather facts for: What is an agent trace?\", \"name\": \"Gather facts for: What is an agent trace?\", \"expected_output\": \"A few key facts\", \"summary\": \"Gather facts for: What is an agent trace?...\", \"raw\": \"An **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\\n1. The user\u2019s request.\\n2. The agent\u2019s model call deciding to use a weather tool.\\n3. The tool call and its result.\\n4. The model\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"search_agent\", \"output_format\": \"raw\", \"messages\": [{\"role\": \"system\", \"content\": \"You are search_agent. You find relevant technical facts.\\nYour personal goal is: Gather key facts for the research plan\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: Gather facts for: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A few key facts\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nThis is the context you're working with:\\n### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\\n\\nProvide your complete response:\"}], \"tool_failures\": []}, {\"description\": \"What is an agent trace?\", \"name\": \"What is an agent trace?\", \"expected_output\": \"A short answer\", \"summary\": \"What is an agent trace?...\", \"raw\": \"An **agent trace** is a structured record of an AI agent\u2019s execution: the steps it took, their order, and how they relate. It may include model calls, tool calls, inputs and outputs, timing, and nested steps; the exact meaning can vary by platform.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show the agent deciding to call a weather tool, the tool\u2019s result, and the agent\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, spot slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships between steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"writer_agent\", \"output_format\": \"raw\", \"messages\": [{\"role\": \"system\", \"content\": \"You are writer_agent. You explain technical concepts.\\nYour personal goal is: Answer questions clearly from the gathered facts\"}, {\"role\": \"user\", \"content\": \"\\nCurrent Task: What is an agent trace?\\n\\nThis is the expected criteria for your final answer: A short answer\\nyou MUST return the actual complete content as the final answer, not a summary.\\n\\nThis is the context you're working with:\\n### Research plan\\n\\n- **Clarify the context:** Treat \u201cagent trace\u201d as the term used in AI-agent development and observability, while noting that its exact meaning can vary by platform.\\n- **Verify the definition:** Have the search specialist check authoritative documentation from agent-tracing platforms or frameworks and, if relevant, OpenTelemetry.\\n- **Identify what a trace contains:** Look for how traces represent an agent run\u2014such as model calls, tool calls, inputs and outputs, timing, and nested steps.\\n- **Explain its purpose:** Establish how traces help developers inspect, debug, and evaluate agent behavior.\\n- **Draft a concise answer:** The writer should give a plain-language definition, a simple example of a trace, and a brief distinction from a chat transcript or ordinary log. Cite the sources checked.\\n\\n----------\\n\\nAn **agent trace** is a structured record of an AI agent\u2019s execution: what steps it took, in what order, and how those steps relate. The term can vary by platform, but traces commonly include model calls, tool calls, inputs and outputs, timing, and nested steps.\\n\\nFor example, a trace for \u201cWhat\u2019s the weather in Paris?\u201d might show:\\n1. The user\u2019s request.\\n2. The agent\u2019s model call deciding to use a weather tool.\\n3. The tool call and its result.\\n4. The model\u2019s final answer.\\n\\nTraces help developers inspect and debug agent behavior, find slow or failed steps, and evaluate results. Unlike a chat transcript, a trace can show internal steps such as tool calls; unlike a plain log, it typically preserves the relationships and order between those steps.\\n\\n**Sources:** [LangSmith: Traces and runs](https://docs.smith.langchain.com/observability/concepts#traces-and-runs); [OpenTelemetry: Traces](https://opentelemetry.io/docs/concepts/signals/traces/)\\n\\nProvide your complete response:\"}], \"tool_failures\": []}], \"token_usage\": {\"total_tokens\": 6018, \"prompt_tokens\": 2430, \"cached_prompt_tokens\": 0, \"completion_tokens\": 3588, \"reasoning_tokens\": 1794, \"cache_creation_tokens\": 0, \"successful_requests\": 9}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "CHAIN"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|