mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-19 15:01:52 +00:00

This PR adds a `sources` optional parameter to CodeExecutorAgent (similar to the termination conditions), that allows finer-grained control on which agents can provide code for execution. It also moves the `_extract_markdown_code_blocks` subroutine to a member method, so that it can be overridden by subclasses. I've found this to be very important to support benchmarks like HumanEval, where we need to add a test harness around the implementation.
AutoGen AgentChat
AgentChat is a high-level API for building multi-agent applications.
It is built on top of the autogen-core
package.
For beginner users, AgentChat is the recommended starting point.
For advanced users, autogen-core
's event-driven
programming model provides more flexibility and control over the underlying components.
AgentChat provides intuitive defaults, such as Agents with preset behaviors and Teams with predefined multi-agent design patterns.