# @maelstrom-co/engine
Source: https://docs.maelstrom-ai.co/0.2/reference/engine/readme/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

## Interfaces

-   [ActionParameterEnumSnapshot](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/actionparameterenumsnapshot/)
-   [AgentConnection](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/agentconnection/)
-   [CancellationError](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/cancellationerror/)
-   [Deferred](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/deferred/)
-   [DiagnosticConnection](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/diagnosticconnection/)
-   [DiagnosticConnectionOptions](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/diagnosticconnectionoptions/)
-   [Engine](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/engine/)
-   [EngineConfig](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/engineconfig/)
-   [EngineDiagnostics](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/enginediagnostics/)
-   [EngineTelemetrySource](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/enginetelemetrysource/)
-   [HistoryConfig](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/historyconfig/)
-   [HistoryError](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/historyerror/)
-   [HistoryManager](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/historymanager/)
-   [HistoryStore](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/historystore/)
-   [Instrument](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/instrument/)
-   [LLMContextMessage](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/llmcontextmessage/)
-   [Logger](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/logger/)
-   [NormalizedActionParameterEnumValue](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/normalizedactionparameterenumvalue/)
-   [OpenConnectionOptions](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/openconnectionoptions/)
-   [ParseError](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/parseerror/)
-   [PlanningInput](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/planninginput/)
-   [PlanValidationInput](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/planvalidationinput/)
-   [PlanValidationIssue](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/planvalidationissue/)
-   [ProviderError](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/providererror/)
-   [RequestValidationError](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/requestvalidationerror/)
-   [RetryFeedback](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/retryfeedback/)
-   [StageContext](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/stagecontext/)
-   [TimeoutError](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/timeouterror/)
-   [ValidationError](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/validationerror/)
-   [WithRetryOptions](https://docs.maelstrom-ai.co/0.2/reference/engine/interfaces/withretryoptions/)

## Type Aliases

-   [ClarifyingPlanner](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/clarifyingplanner/)
-   [EngineDiagnosticObserver](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/enginediagnosticobserver/)
-   [EngineError](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/engineerror/)
-   [EngineMetadataObserver](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/enginemetadataobserver/)
-   [HistoryEntry](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/historyentry/)
-   [InstrumentAttributes](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/instrumentattributes/)
-   [PipelineOutput](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/pipelineoutput/)
-   [Planner](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/planner/)
-   [PlannerCandidate](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/plannercandidate/)
-   [PlannerOutput](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/planneroutput/)
-   [PlanValidator](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/planvalidator/)
-   [ReplylessCandidate](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/replylesscandidate/)
-   [Retryable](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/retryable/)
-   [RetryHint](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/retryhint/)
-   [RetrySeverity](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/retryseverity/)
-   [SimulationError](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/simulationerror/)
-   [Stage](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/stage/)
-   [StageError](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/stageerror/)
-   [ValidateCandidate](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/validatecandidate/)
-   [ValidatedCandidate](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/validatedcandidate/)
-   [ValidatedReplylessCandidate](https://docs.maelstrom-ai.co/0.2/reference/engine/type-aliases/validatedreplylesscandidate/)

## Variables

-   [consoleLogger](https://docs.maelstrom-ai.co/0.2/reference/engine/variables/consolelogger/)
-   [historyError](https://docs.maelstrom-ai.co/0.2/reference/engine/variables/historyerror/)
-   [noopInstrument](https://docs.maelstrom-ai.co/0.2/reference/engine/variables/noopinstrument/)

## Functions

-   [attachEngineTelemetry](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/attachenginetelemetry/)
-   [buildActionParameterEnumSnapshot](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/buildactionparameterenumsnapshot/)
-   [cancellationError](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/cancellationerror/)
-   [createDiagnosticConnection](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/creatediagnosticconnection/)
-   [createEngine](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/createengine/)
-   [createHistoryManager](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/createhistorymanager/)
-   [createInMemoryStore](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/createinmemorystore/)
-   [deferred](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/deferred/)
-   [enumSnapshotFor](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/enumsnapshotfor/)
-   [finalVariants](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/finalvariants/)
-   [formatValidationIssues](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/formatvalidationissues/)
-   [handleEnvelope](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/handleenvelope/)
-   [isDeferred](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/isdeferred/)
-   [isNeedsClarification](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/isneedsclarification/)
-   [isResizeOnlyBatch](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/isresizeonlybatch/)
-   [legalActions](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/legalactions/)
-   [named](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/named/)
-   [parseError](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/parseerror/)
-   [pipeline](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/pipeline/)
-   [providerError](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/providererror/)
-   [recoverCorrelation](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/recovercorrelation/)
-   [requestValidationError](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/requestvalidationerror/)
-   [resolveConfig](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/resolveconfig/)
-   [stageName](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/stagename/)
-   [timeoutError](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/timeouterror/)
-   [validationError](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/validationerror/)
-   [withFallback](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/withfallback/)
-   [withRetry](https://docs.maelstrom-ai.co/0.2/reference/engine/functions/withretry/)
