Skip to content

Multi-Agent Correlation

Install

Terminal window
pip install briefcase-ai[correlation]

Quick Example

from briefcase.correlation import CorrelationContext
with CorrelationContext(workflow_id="wf-123") as ctx:
result_a = agent_a.run(task)
result_b = agent_b.run(result_a)

All decisions within the context share the same workflow_id, enabling end-to-end tracing.

Key Classes

  • CorrelationContext — context manager that propagates correlation IDs

Configuration

OptionDefaultDescription
propagation"w3c"Context propagation format
auto_correlateTrueAutomatically link nested decisions