Agent framework for data analytics task automation
Top 9.0% on sourcepulse
TaskWeaver is a code-first agent framework designed for data analytics tasks, enabling seamless planning and execution through a plugin-based system. It targets developers and researchers who need to orchestrate complex data workflows, offering stateful execution and rich data structure handling beyond simple text history.
How It Works
TaskWeaver preserves both chat and code execution history, including in-memory data, to manage complex data analytics tasks statefully. This approach allows for richer interactions with data structures like DataFrames, unlike frameworks that only track text-based chat history. It supports task decomposition, reflective execution, code verification, and the encapsulation of custom algorithms into plugins.
Quick Start & Requirements
pip install -r requirements.txt
after cloning the repository. Requires Python >= 3.10.taskweaver_config.json
.python -m taskweaver -p ./project/
. Docker is the default for code execution, requiring Docker installation.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The framework's planning relies on LLM models, meaning execution outcomes can vary. Some examples require specific plugin configurations (e.g., sql_pull_data
) and additional package installations (langchain
, tabulate
, yfinance
, statsmodels
).
2 weeks ago
Inactive