LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.prebuiltchat_agent_executorAgentStateWithStructuredResponse
    Class●Since v0.1Deprecated

    AgentStateWithStructuredResponse

    Copy
    AgentStateWithStructuredResponse()

    Bases

    AgentState

    Attributes

    Inherited fromAgentState

    Attributes

    Amessages: Annotated[Sequence[BaseMessage], add_messages]Aremaining_steps: NotRequired[RemainingSteps]
    View source on GitHub
    attribute
    structured_response: StructuredResponse

    The state of the agent with a structured response.