SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2408.08435 · 2024

Automated Design of Agentic Systems

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 13 functions out of this paper's own repositories and ran 10 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
shengranhu/adas canonical 10 of 13
FunctionStatusWhere it lives
answer_json_to_string Ran shengranhu/adas/_drop/utils.py
code served (permissive licence) · get_code("f08515656f31c846")
answer_json_to_strings Ran shengranhu/adas/_drop/utils.py
code served (permissive licence) · get_code("b8b06489c92899f0")
bootstrap_confidence_interval Ran shengranhu/adas/_gpqa/utils.py
code served (permissive licence) · get_code("981c8f72d0181b71")
file_to_string Ran shengranhu/adas/_arc/utils.py
code served (permissive licence) · get_code("765cc65c8097e240")
get_drop_metrics Ran shengranhu/adas/_drop/utils.py
code served (permissive licence) · get_code("d3d85aa9528f0ea0")
get_reflexion_prompt Ran shengranhu/adas/_arc/arc_prompt.py
code served (permissive licence) · get_code("3386b2b248cf7d4b")
get_reflexion_prompt Ran shengranhu/adas/_drop/drop_prompt.py
code served (permissive licence) · get_code("03e103c0289af528")
list_to_string Ran shengranhu/adas/_arc/utils.py
code served (permissive licence) · get_code("223b46a8f9051398")
load_questions Ran shengranhu/adas/_gpqa/utils.py
code served (permissive licence) · get_code("7b1e70edd9eaffe7")
random_id Ran shengranhu/adas/_arc/utils.py
code served (permissive licence) · get_code("4488e68c352c9d58")
get_prompt Not yet run shengranhu/adas/_arc/arc_prompt.py
code served (permissive licence) · get_code("e303009857c65536")
get_prompt Not yet run shengranhu/adas/_drop/drop_prompt.py
code served (permissive licence) · get_code("7c697edb0437e5f5")
get_prompt Not yet run shengranhu/adas/_gpqa/gpqa_prompt.py
code served (permissive licence) · get_code("505fd0fb8ba0fca7")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Researchers are investing substantial effort in developing powerful general-purpose agents, wherein Foundation Models are used as modules within agentic systems (e.g. Chain-of-Thought, Self-Reflection, Toolformer). However, the history of machine learning teaches us that hand-designed solutions are eventually replaced by learned solutions. We describe a newly forming research area, Automated Design of Agentic Systems (ADAS), which aims to automatically create powerful agentic system designs, including inventing novel building blocks and/or combining them in new ways. We further demonstrate that there is an unexplored yet promising approach within ADAS where agents can be defined in code and new agents can be automatically discovered by a meta agent programming ever better ones in code. Given that programming languages are Turing Complete, this approach theoretically enables the learning of any possible agentic system: including novel prompts, tool use, workflows, and combinations thereof. We present a simple yet effective algorithm named Meta Agent Search to demonstrate this idea, where a meta agent iteratively programs interesting new agents based on an ever-growing archive of previous discoveries. Through extensive experiments across multiple domains including coding, science, and math, we show that our algorithm can progressively invent agents with novel designs that greatly outperform state-of-the-art hand-designed agents. Importantly, we consistently observe the surprising result that agents invented by Meta Agent Search maintain superior performance even when transferred across domains and models, demonstrating their robustness and generality. Provided we develop it safely, our work illustrates the potential of an exciting new research direction toward automatically designing ever-more powerful agentic systems to benefit humanity.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2408.08435")
get_code_for_paper("2408.08435")
have("2408.08435")

Connect an agent — have() is free.