TaskWeaver (Microsoft) - Code-Driven Agent
Basic Information
- Company/Brand: Microsoft Research
- Country/Region: USA
- Official Website: https://microsoft.github.io/TaskWeaver/
- GitHub: https://github.com/microsoft/TaskWeaver
- Type: Open-source code-driven agent framework
- Paper: arXiv:2311.17541
- Latest Update: March 2025 (Visual Input Support)
Product Description
TaskWeaver is a "Code-First" agent framework developed by Microsoft Research, designed to convert natural language user requests into executable code, specifically tailored for data analysis and workflow automation tasks. Unlike frameworks that only track text chat history, TaskWeaver retains both chat history and code execution history (including in-memory data), making it particularly suitable for handling complex data structures such as high-dimensional tabular data.
Core Features/Characteristics
- Code-First: Converts natural language requests into executable code snippets
- Stateful Execution: Retains chat and code execution history, including in-memory data
- Plugin System: Encapsulates algorithms or functions as Python function plugins
- Dynamic Plugin Selection: Automatically selects appropriate plugins based on tasks
- Domain Adaptation: Supports domain-specific planning process adaptation
- Visual Input: Added visual input support for the Planner role in March 2025
- Recepta Role: Experimental reasoning-enhanced role added in January 2025
- Complex Data Structures: Excels at handling high-dimensional tabular data
Business Model
- Fully Open Source: MIT License
- Azure Integration: Can be used in conjunction with Azure services
- Research-Driven: Maintained by Microsoft Research
Target Users
- Data analysts and data scientists
- Teams requiring automated data processing
- Enterprise BI and analytics teams
- Workflows requiring code generation and execution
Competitive Advantages
- Unique "Code-First" positioning
- Stateful execution retains complete execution context
- Excellent support for complex data structures (especially tabular data)
- Strong domain adaptability
- Research background from Microsoft Research
- Active updates still in 2025
Market Performance
- Unique positioning in the field of data analysis automation
- Forms a matrix of Microsoft agent frameworks with AutoGen and Semantic Kernel
- Maintains technological leadership in code-driven agent frameworks
- Future positioning remains to be seen in the face of Microsoft Agent Framework unification trends
Relationship with OpenClaw Ecosystem
TaskWeaver's code-driven and stateful execution capabilities can provide data analysis and automation capabilities for OpenClaw's personal agents. When users require agents to handle data analysis tasks (such as personal financial analysis, data visualization, etc.), TaskWeaver's code generation and execution capabilities are highly applicable. Its plugin system can also serve as a reference for OpenClaw's tool extensions.
External References
Learn more from these authoritative sources: