Skip to content

feat: Add LlamaIndex AgentWorkflow spans - #495

Draft
eternalcuriouslearner wants to merge 4 commits into
feat/llama-index-agent-spansfrom
feat/llama-index-agent-workflow-spans
Draft

feat: Add LlamaIndex AgentWorkflow spans#495
eternalcuriouslearner wants to merge 4 commits into
feat/llama-index-agent-spansfrom
feat/llama-index-agent-workflow-spans

Conversation

@eternalcuriouslearner

@eternalcuriouslearner eternalcuriouslearner commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Stacked on #494.

Adds invoke_workflow spans for AgentWorkflow runs and invoke_agent spans for FunctionAgent and ReActAgent member steps. Tool and provider inference spans remain in the same trace hierarchy instead of appearing as unrelated roots.

Includes content, error, multi-agent handoff, VCR-backed provider composition, conformance coverage, and documentation.

Known concern: member invoke_agent spans represent individual run_agent_step executions, so an agent emits another span when it resumes after a tool call.

@eternalcuriouslearner
eternalcuriouslearner force-pushed the feat/llama-index-agent-workflow-spans branch from c5b6406 to 9cdf611 Compare August 30, 2026 20:45
@eternalcuriouslearner eternalcuriouslearner changed the title feat/llama index agent workflow spans feat: Add LlamaIndex AgentWorkflow spans Aug 30, 2026
@eternalcuriouslearner
eternalcuriouslearner force-pushed the feat/llama-index-agent-workflow-spans branch from dd59672 to f636b67 Compare September 1, 2026 02:35
@eternalcuriouslearner
eternalcuriouslearner force-pushed the feat/llama-index-agent-workflow-spans branch from f636b67 to a7d13b0 Compare September 1, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant