Enhance agent functionality by integrating message handling and graph structure. Added read_message and answer_message functions to process user input and generate responses using the chat model. Updated AgentState to support both HumanMessage and AIMessage types.