Stream Processor

agent

0.1.0

Maintains model-visible agent history and requests LLM work from a subscribed LLM request processor.

Processor deps

Consumes

Emits

Owned events

agent/input-added

A curated model-visible row of agent context.

agent/llm-config-updated

Updates model configuration for future LLM requests.

agent/llm-request-cancelled

The LLM request was cancelled before completion.

agent/llm-request-completed

A subscribed LLM request processor finished the requested LLM work with either success or failure.

agent/llm-request-queued

A follow-up trigger arrived while a request was already in flight.

agent/llm-request-requested

The agent has prepared an LLM request. A subscribed LLM request processor must execute it and respond with agent output and a terminal llm-request-completed event. The llmRequestId used by response events is this event's stream offset.

agent/llm-request-scheduled

An LLM request was scheduled after a trigger.

agent/output-added

A model-visible assistant output row.

agent/status-updated

User-facing busy/idle status for the agent processor.

agent/system-prompt-updated

Updates the system prompt used for future LLM requests.