This section involves diving into AG2’s source code, if that doesn’t sound like what you are after, check out our Basic and Advanced concept sections under User Guide.
- Chat workflow with initiate_chat
- How ConversableAgent generates its reply with generate_reply
- How to update agent and message state using hooks