Learn how to manage stateful conversations and agent messages
thread_id
add_task()
, the system automatically:agent.execution.input_message
agent.memory.init_messages()
- it’s deprecated and should be replaced with agent.add_task()
, which handles message initialization automatically and supports thread continuity through the optional thread_id
parameter.