ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2311.17541
31
40

TaskWeaver: A Code-First Agent Framework

29 November 2023
Bo Qiao
Liqun Li
Xu Zhang
Shilin He
Yu Kang
Chaoyun Zhang
Fangkai Yang
Hang Dong
Jue Zhang
Lu Wang
Ming-Jie Ma
Pu Zhao
Si Qin
Xiaoting Qin
Chao Du
Yong Xu
Qingwei Lin
Saravan Rajmohan
Dongmei Zhang
    LLMAG
ArXivPDFHTML
Abstract

Large Language Models (LLMs) have shown impressive abilities in natural language understanding and generation, leading to their widespread use in applications such as chatbots and virtual assistants. However, existing LLM frameworks face limitations in handling domain-specific data analytics tasks with rich data structures. Moreover, they struggle with flexibility to meet diverse user requirements. To address these issues, TaskWeaver is proposed as a code-first framework for building LLM-powered autonomous agents. It converts user requests into executable code and treats user-defined plugins as callable functions. TaskWeaver provides support for rich data structures, flexible plugin usage, and dynamic plugin selection, and leverages LLM coding capabilities for complex logic. It also incorporates domain-specific knowledge through examples and ensures the secure execution of generated code. TaskWeaver offers a powerful and flexible framework for creating intelligent conversational agents that can handle complex tasks and adapt to domain-specific scenarios. The code is open sourced at https://github.com/microsoft/TaskWeaver/.

View on arXiv
Comments on this paper