langchain_core.agents
.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 = None¶
The result of the AgentAction.
- property messages: Sequence[BaseMessage]¶
Messages that correspond to this observation.