Class AgentRunContext

Assembly: redb.Route.Llm.dll

Common identifiers passed to every observer call within one agent run.

public sealed class AgentRunContext

Inheritance

Object→AgentRunContext

Properties

ConversationId

Conversation identifier (when persistence is on).

public string? ConversationId { get; init; }

ExchangeId

Exchange id of the parent exchange that initiated the run.

public required string ExchangeId { get; init; }

FactoryName

Connection factory name, model id, provider id.

public required string FactoryName { get; init; }

ModelId

Model identifier as resolved from the factory.

public required string ModelId { get; init; }

ProviderId

Provider identifier ("openai", "anthropic", ...).

public required string ProviderId { get; init; }

RedbName

The redb instance the endpoint chose for its storage (?redb=, ), or null for

public string? RedbName { get; init; }