Skip to content

solutions_backend.clients.solutions_agents

Bounded authenticated client for the internal Solutions Agents service.

Classes

AgentsCapacityError

Bases: AgentsUnavailableError

Solutions Agents rejected new work at its explicit capacity bound.

AgentsClient

One shared HTTP client with explicit retry and response-admission policy.

execute

execute(request: ClassificationWorkflowRequest) -> ClassificationWorkflowResult

Execute classification, retrying only safe pre-response/unavailable outcomes.

ready

ready() -> bool

Return whether the downstream service advertises executable readiness.

AgentsConflictError

Bases: RuntimeError

Solutions Agents observed conflicting reuse of a workflow identity.

AgentsInputError

Bases: RuntimeError

Solutions Agents rejected Backend’s constructed request.

AgentsOutcomeUnknownError

Bases: AgentsUnavailableError

The request may have executed but its terminal response was not observed.

AgentsProtocolExhaustedError

Bases: AgentsUnavailableError

The bounded specialist protocol ended without a terminal business result.

AgentsUnavailableError

Bases: RuntimeError

Solutions Agents could not safely return a terminal response.