AgentStep#

class langchain_core.agents.AgentStep[source]#

Bases: Serializable

Result of running an AgentAction.

param action: AgentAction [Required]#

The AgentAction that was executed.

param observation: Any [Required]#

The result of the AgentAction.

property messages: Sequence[BaseMessage]#

Messages that correspond to this observation.