AutoAct

[ACL 2024] AutoAct: Automatic Agent Learning from Scratch for QA via Self-Planning

open-sourceagent-frameworks
Visit WebsiteView on GitHub
236
Stars
+20
Stars/month
0
Releases (6m)

Overview

AutoAct is an automatic agent learning framework designed for question answering tasks that eliminates the dependency on expensive closed-source models like GPT-4 and large-scale annotated datasets. Published at ACL 2024, the framework introduces a novel approach to creating language agents from scratch through self-planning mechanisms. AutoAct automatically synthesizes planning trajectories without human assistance or guidance from proprietary models, making it accessible for researchers and developers with limited resources. The system employs a division-of-labor strategy that intelligently differentiates tasks based on target information and synthesized trajectories, creating specialized sub-agent groups to handle complex problems collaboratively. This approach allows the framework to achieve competitive performance compared to existing baselines while maintaining cost-effectiveness and reproducibility. The framework supports various open-source language models and provides a comprehensive solution for organizations looking to build capable agent systems without relying on expensive commercial APIs or extensive manual data annotation efforts.

Pros

  • + Eliminates dependency on expensive closed-source models like GPT-4, making agent development more accessible and cost-effective
  • + Automatically synthesizes planning trajectories without requiring human annotation or manual trajectory creation
  • + Implements division-of-labor strategy with specialized sub-agents for improved task decomposition and completion

Cons

  • - Primarily focused on question answering tasks, which may limit applicability to other agent use cases
  • - Requires an existing tool library to function effectively, adding setup complexity
  • - Performance may vary significantly depending on the quality and capabilities of the underlying open-source language model used

Use Cases

Getting Started

1. Clone the repository from GitHub using 'git clone https://github.com/zjunlp/AutoAct' 2. Install dependencies by running 'pip install -r requirements.txt' in the project directory 3. Set up your tool library and configure the framework to begin automatic trajectory synthesis and agent training