# `Feline.Processors.ContextAggregatorPair`
[🔗](https://github.com/dimamik/feline/blob/main/lib/feline/processors/context_aggregator_pair.ex#L1)

Creates a shared context between UserContextAggregator and AssistantContextAggregator.
Both aggregators read/write through the same Agent, keeping conversation history in sync.

## Usage

    context = Feline.Context.new([%{role: "system", content: "You are helpful."}])
    {:ok, pair} = ContextAggregatorPair.start(context)

    pipeline = %Pipeline{
      processor_specs: [
        {UserContextAggregator, context_agent: pair.agent},
        {StreamingLLM, api_key: "..."},
        {AssistantContextAggregator, context_agent: pair.agent}
      ]
    }

# `append_message`

# `get_context`

# `start`

# `update_context`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
