Problem
When a parent agent spawns child agents (sub-agents), each child session creates an independent
trace with its own traceId. There is no way to view the full parent → child orchestration as a
single connected trace in Langfuse.
Expected Behavior
Child agent sessions should be linked to the parent session's trace, so the entire multi-agent call
chain is visible as one trace in the Langfuse UI.
Current Behavior
A multi-agent workflow (e.g., 1 parent + 3 child agents) produces 4 completely disconnected traces.
There is no correlation between them — the parent trace has no reference to child traces, and vice
versa.
Environment
- OpenCode: 1.15.5
- Plugin: 0.1.0
- Langfuse: Self-hosted
Problem
When a parent agent spawns child agents (sub-agents), each child session creates an independent
trace with its own
traceId. There is no way to view the full parent → child orchestration as asingle connected trace in Langfuse.
Expected Behavior
Child agent sessions should be linked to the parent session's trace, so the entire multi-agent call
chain is visible as one trace in the Langfuse UI.
Current Behavior
A multi-agent workflow (e.g., 1 parent + 3 child agents) produces 4 completely disconnected traces.
There is no correlation between them — the parent trace has no reference to child traces, and vice
versa.
Environment