TaskWeaver
TaskWeaver
AI AgentActive

TaskWeaver

TaskWeaver is Microsoft’s open-source code-first agent framework for data analytics tasks. It translates user requests into Python code, coordinates plugins as functions, preserves chat and code execution history, supports stateful execution, containers, observability, shared memory, experiences, and vision input for the Planner role.

108

Views

0

Likes

Mar 2026

Added

github.com

Website

Tags

TaskWeaverMicrosoft TaskWeavercode-first agentdata analytics agentAI agent frameworkPython agentplugin orchestrationstateful execution

Product Preview

A quick visual look at TaskWeaver before you visit the official site.

Published 3/14/2026
TaskWeaver screenshot

Editorial Review

About TaskWeaver

TaskWeaver: Microsoft’s code-first agent framework

TaskWeaver is an open-source framework from Microsoft for building code-first AI agents, especially for data analytics and complex task automation. Instead of only passing text between an LLM and tools, TaskWeaver plans through code snippets and coordinates plugins as Python functions.

The key distinction is state. TaskWeaver preserves both chat history and code execution history, including in-memory data such as DataFrames. That makes it more practical for analytical work where intermediate variables, generated charts, fetched datasets, and plugin outputs need to remain available across steps.

Best use cases

  • Data analytics agents: pull data from databases, transform tables, run anomaly detection, forecast time series, and generate artifacts.
  • Code-first automation: turn natural-language requests into Python code and plugin calls that can be inspected and debugged.
  • Domain-specific workflows: wrap proprietary algorithms, databases, APIs, or business rules as plugins.
  • Stateful multi-step tasks: keep execution history, memory, and intermediate data available during long analytical conversations.
  • Research and prototyping: compare code-first agent design with LangGraph, AutoGen, OpenHands, CrewAI, and other agent frameworks.

Notable capabilities

  • Task decomposition, progress tracking, and reflective execution.
  • Container-mode code execution by default for better isolation.
  • Plugin orchestration through Python functions.
  • Shared memory, experience selection, AgentOps observability, and experimental Recepta reasoning role.
  • Vision input support for the Planner role, according to the 2025 official update.

Official screenshot and examples

TaskWeaver architecture screenshot
Official TaskWeaver architecture diagram showing the planner, roles, plugins, and code execution loop.
TaskWeaver GitHub project preview
GitHub preview for Microsoft’s TaskWeaver open-source repository.

When to choose TaskWeaver

Choose TaskWeaver when the task is closer to analytical programming than generic chat automation. It is strongest when you need Python, DataFrames, stateful execution, custom plugins, and transparent logs. It is less suitable if you only need a no-code workflow builder or a fully hosted production agent product.

Sources checked

Ready to try TaskWeaver?

Visit the official website to get started

Visit TaskWeaver

Quick Info

Category
AI Agent
Added
3/13/2026
Published
3/14/2026
Updated
6/12/2026

Share This Tool

Have an AI tool to share?

Submit it to AI Dreamhub

Get your product in front of people actively exploring AI tools.

Submit Your Tool
Manus

Manus

Manus is the action engine that goes beyond answers to execute tasks, automate workflows, and extend your human reach

ai-agentfree
2030
Gemini CLI

Gemini CLI

An open-source AI agent that brings the power of Gemini directly into your terminal.

ai-agentfree
1770
AgentScope

AgentScope

Agent-Oriented Programming for Building LLM Applications, Open-sourced by Alibaba

ai-agentfree
2280
Auto-GPT

Auto-GPT

Auto-GPT is an open-source autonomous-agent project and platform from Significant Gravitas for building, running, and managing AI assistants and workflows.

Auto-GPTAI agentautonomous agents
1680