{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/evoagent-towards-automatic-multi-agent","title":"EvoAgent: Towards Automatic Multi-Agent Generation via Evolutionary Algorithms","arxiv_id":"2406.14228","date":"2024-06-20","proceeding":null,"authors":["Siyu Yuan","Kaitao Song","Jiangjie Chen","Xu Tan","Dongsheng Li","Deqing Yang"],"abstract":"The rise of powerful large language models (LLMs) has spurred a new trend in building LLM-based autonomous agents for solving complex tasks, especially multi-agent systems. Despite the remarkable progress, we notice that existing works are heavily dependent on human-designed frameworks, which greatly limits the functional scope and scalability of agent systems. How to automatically extend the specialized agent to multi-agent systems to improve task-solving capability still remains a significant challenge. In this paper, we introduce EvoAgent, a generic method to automatically extend expert agents to multi-agent systems via the evolutionary algorithm, thereby improving the effectiveness of LLM-based agents in solving tasks. Specifically, we consider the existing agent frameworks as the initial individual and then apply a series of evolutionary operators (e.g., mutation, crossover, selection, etc.) to generate multiple agents with diverse agent settings. EvoAgent can be generalized to any LLM-based agent framework, and can automatically extend the existing agent framework to multi-agent systems without any extra human designs. Experimental results across various tasks have shown that EvoAgent can automatically generate multiple expert agents and significantly enhance the task-solving capabilities of LLM-based agents.","url_abs":"https://arxiv.org/abs/2406.14228v2","url_pdf":"https://arxiv.org/pdf/2406.14228v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"evoagent-towards-automatic-multi-agent","repo_url":"https://github.com/siyuyuan/evoagent","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"evolutionary-algorithms","task_name":"Evolutionary Algorithms"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2406.14228","atlas_url":"https://app.syntology.ai/?focus=2406.14228","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.14228"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/siyuyuan/evoagent","reach":{"status":"ok"}}],"summary":{"ran":6,"unverified":6},"by_repo_kind":{"official":{"samples":12,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":12,"samples":[{"code_sha256_prefix":"44320b583dfcfb30","entry":"clean","repo":"siyuyuan/evoagent","repo_kind":"official","path":"scienceworld/eval_evoagent.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/scienceworld/eval_evoagent.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"44320b583dfcfb30"}},{"code_sha256_prefix":"1f706832c8a6cfa6","entry":"clean_look","repo":"siyuyuan/evoagent","repo_kind":"official","path":"scienceworld/eval_utils.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/scienceworld/eval_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1f706832c8a6cfa6"}},{"code_sha256_prefix":"2e2114f582089313","entry":"find_non_alpha_index","repo":"siyuyuan/evoagent","repo_kind":"official","path":"scienceworld/eval_utils.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/scienceworld/eval_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2e2114f582089313"}},{"code_sha256_prefix":"d3708c14e4ebb83f","entry":"is_action_failed","repo":"siyuyuan/evoagent","repo_kind":"official","path":"scienceworld/eval_utils.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/scienceworld/eval_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d3708c14e4ebb83f"}},{"code_sha256_prefix":"5c78f8f74c545762","entry":"message_construction","repo":"siyuyuan/evoagent","repo_kind":"official","path":"spp/llm_evoagent_codenames.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/spp/llm_evoagent_codenames.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5c78f8f74c545762"}},{"code_sha256_prefix":"66af883835d43b5c","entry":"read_jsonline","repo":"siyuyuan/evoagent","repo_kind":"official","path":"mmmu/run_evoagent.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/mmmu/run_evoagent.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"66af883835d43b5c"}},{"code_sha256_prefix":"1467f8fcbc908547","entry":"collaboration_func","repo":"siyuyuan/evoagent","repo_kind":"official","path":"mmmu/run_evoagent.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/mmmu/run_evoagent.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1467f8fcbc908547"}},{"code_sha256_prefix":"15c87a434c28fed6","entry":"collaboration_func","repo":"siyuyuan/evoagent","repo_kind":"official","path":"scienceworld/eval_evoagent.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/scienceworld/eval_evoagent.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"15c87a434c28fed6"}},{"code_sha256_prefix":"890f7f2604c9eb4a","entry":"get_last_processed_index","repo":"siyuyuan/evoagent","repo_kind":"official","path":"mmmu/run_evoagent.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/mmmu/run_evoagent.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"890f7f2604c9eb4a"}},{"code_sha256_prefix":"b7c04a08b2e69245","entry":"guess_refine_func","repo":"siyuyuan/evoagent","repo_kind":"official","path":"spp/llm_evoagent_codenames.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/spp/llm_evoagent_codenames.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b7c04a08b2e69245"}},{"code_sha256_prefix":"0f72adf8ddbb5ec1","entry":"num_tokens_from_messages","repo":"siyuyuan/evoagent","repo_kind":"official","path":"scienceworld/eval_evoagent.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/scienceworld/eval_evoagent.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0f72adf8ddbb5ec1"}},{"code_sha256_prefix":"01f5613e38bf7d29","entry":"spy_refine_func","repo":"siyuyuan/evoagent","repo_kind":"official","path":"spp/llm_evoagent_codenames.py","file_url":"https://github.com/siyuyuan/evoagent/blob/HEAD/spp/llm_evoagent_codenames.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"01f5613e38bf7d29"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}