Skip to content
ai-supply.store
EntdeckenKategorienBestenlistenCommunityAgent APIFAQ
AnmeldenKostenlos registrieren
catalog / Agentic capability / TaskWeaver — Code-First Data Analytics Agent
◉AgentAgentic capabilityFree

TaskWeaver — Code-First Data Analytics Agent

Microsoft's code-first agent framework that converts user requests into executable Python snippets for complex data analytics tasks.

@ai-supply
Installationen50k
⟳ upstream v0.0.1 · updated 2y ago
↗ Quell-Repository
← More Agentic capabilityAgentic capability leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals27capabilities surfaced1known CVE6of 20 OWASP controls clear
Internal host / private infrastructure referenceVery high entropyPotentially unbounded loopBroad capability surface
scanned 18d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

TaskWeaver

TaskWeaver (by Microsoft Research) is a code-first agent framework specifically designed for data analytics tasks. Instead of string templating, it generates and executes Python code at each step, making it uniquely powerful for structured data manipulation, statistical analysis, and ML pipeline automation.

Key Features

  • Code-first planning: every sub-task emits executable Python
  • Stateful session with persistent memory across turns
  • Plugin system: wrap any Python library as an agent tool
  • Rich data type support: DataFrames, NumPy arrays, images, time series
  • Human-in-the-loop option for reviewing generated code before execution
  • Built-in plugin library: SQL, sklearn, pandas, matplotlib, …

Quick Start

git clone https://github.com/microsoft/TaskWeaver
pip install -e .
# edit taskweaver/config.yaml (set LLM endpoint)
python taskweaver/app/app.py
from taskweaver.app.app import TaskWeaverApp

app = TaskWeaverApp(app_dir=".", config={"llm.model": "gpt-4o"})
session = app.get_session()
response = session.chat("Load sales.csv and show me monthly revenue trends")
print(response.post_list[-1].message)

Install via ai-supply

npx ai-supply add taskweaver-code-first-data-agent

Curated mirror of the open-source TaskWeaver (MIT). Get it from the source.

Rating rank
#1
of 35 in Agentic capability
Install rank
#28
of 35 in Agentic capability
Security score
75/100 · B
review
Security rank
#23
of 35 in Agentic capability
Installs
50k
cat avg 186k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Agentic capability leaderboard →
! Security: Review · 7575/100 · grade Bscanned 18d ago
✓ no compromise signals28 risk-surface · 9/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ shell⚑ network⚑ secrets
egress → opensource.microsoft.com, cla.microsoft.com., img.shields.io, microsoft.github.io, discord.gg, www.langchain.com, export.arxiv.org, www.microsoft.com +32

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 13 pip requirements declared · microsoft-TaskWeaver-d44ddef/auto_eval/ds1000_scripts/requirements.txtrisk surface
•Dependency manifest — 23 pip requirements declared · microsoft-TaskWeaver-d44ddef/requirements.txtrisk surface
•Dependency manifest — 13 npm dependencies declared · microsoft-TaskWeaver-d44ddef/website/package.jsonrisk surface
•Vulnerable dependencies — 93 known vulnerabilities in: filelock@3.19.1, idna@3.9.0, pillow@9.5.0, tqdm@4.9.0, @ai-sdk/provider-utils@3.0.18, @babel/core@7.28.5, @babel/plugin-transform-modules-systemjs@7.28.5, ajv@6.12.6 (CWE-1395)known CVE · -25 pts
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · microsoft-TaskWeaver-d44ddef/taskweaver/code_interpreter/code_interpreter/code_generator_prompt.yaml (CWE-77)expected
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — destructive rm -rf / · microsoft-TaskWeaver-d44ddef/.devcontainer/Dockerfile (CWE-78)expected
•Suspicious code patterns — OS command execution · microsoft-TaskWeaver-d44ddef/auto_eval/evaluator.py (CWE-78)expected
•Suspicious code patterns — dynamic code execution; pickle deserialization · microsoft-TaskWeaver-d44ddef/taskweaver/code_interpreter/code_interpreter/code_generator_prompt.yaml (CWE-95)expected
•Suspicious code patterns — pickle deserialization · microsoft-TaskWeaver-d44ddef/taskweaver/ext_role/document_retriever/document_retriever.py (CWE-502)expected
•Suspicious code patterns — dynamic code execution · microsoft-TaskWeaver-d44ddef/tests/unit_tests/test_code_verification.py (CWE-95)expected
•Suspicious code patterns — pipe-to-shell install · microsoft-TaskWeaver-d44ddef/website/docs/llms/ollama.md (CWE-494)expected
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 3 distinct host(s) · microsoft-TaskWeaver-d44ddef/.gitignoreexpected
•External endpoints declared — 1 distinct host(s) · microsoft-TaskWeaver-d44ddef/.pre-commit-config.yamlexpected
•External endpoints declared — 2 distinct host(s) · microsoft-TaskWeaver-d44ddef/CONTRIBUTING.mdexpected
•External endpoints declared — 8 distinct host(s) · microsoft-TaskWeaver-d44ddef/README.mdexpected
•External endpoints declared — 4 distinct host(s) · microsoft-TaskWeaver-d44ddef/SECURITY.mdexpected
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · microsoft-TaskWeaver-d44ddef/auto_eval/evaluator.py (CWE-272)risk surface
•Egress to a private/loopback host — 127.0.0.1, 0.0.0.0 · microsoft-TaskWeaver-d44ddef/project/sample_data/knowledge_base/index.pkl (CWE-918)expected
•External endpoints declared — 25 distinct host(s) · microsoft-TaskWeaver-d44ddef/project/sample_data/knowledge_base/index.pklexpected
•External endpoints declared — 6 distinct host(s) · microsoft-TaskWeaver-d44ddef/taskweaver/ext_role/web_search/README.mdexpected
•Egress to a private/loopback host — 127.0.0.1 · microsoft-TaskWeaver-d44ddef/taskweaver/module/tracing.py (CWE-918)expected
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · microsoft-TaskWeaver-d44ddef/website/blog/local_llm.md (CWE-272)risk surface
•Egress to a private/loopback host — 0.0.0.0 · microsoft-TaskWeaver-d44ddef/website/docs/llms/liteLLM.md (CWE-918)expected
⚠LLM07System Prompt Leakagemedium
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · microsoft-TaskWeaver-d44ddef/auto_eval/cases/rag/docs/code_execution.md (CWE-200)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · microsoft-TaskWeaver-d44ddef/auto_eval/evaluator.py (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 13 pip requirements declared · microsoft-TaskWeaver-d44ddef/auto_eval/ds1000_scripts/requirements.txtrisk surface
•Dependency manifest — 23 pip requirements declared · microsoft-TaskWeaver-d44ddef/requirements.txtrisk surface
•Dependency manifest — 13 npm dependencies declared · microsoft-TaskWeaver-d44ddef/website/package.jsonrisk surface
•Vulnerable dependencies — 93 known vulnerabilities in: filelock@3.19.1, idna@3.9.0, pillow@9.5.0, tqdm@4.9.0, @ai-sdk/provider-utils@3.0.18, @babel/core@7.28.5, @babel/plugin-transform-modules-systemjs@7.28.5, ajv@6.12.6 (CWE-1395)known CVE · -25 pts
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Prompt-injection phrasing — instruction-subversion language detected · microsoft-TaskWeaver-d44ddef/taskweaver/code_interpreter/code_interpreter/code_generator_prompt.yaml (CWE-77)expected
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — destructive rm -rf / · microsoft-TaskWeaver-d44ddef/.devcontainer/Dockerfile (CWE-78)expected
•Suspicious code patterns — OS command execution · microsoft-TaskWeaver-d44ddef/auto_eval/evaluator.py (CWE-78)expected
•Suspicious code patterns — dynamic code execution; pickle deserialization · microsoft-TaskWeaver-d44ddef/taskweaver/code_interpreter/code_interpreter/code_generator_prompt.yaml (CWE-95)expected
•Suspicious code patterns — pickle deserialization · microsoft-TaskWeaver-d44ddef/taskweaver/ext_role/document_retriever/document_retriever.py (CWE-502)expected
•Suspicious code patterns — dynamic code execution · microsoft-TaskWeaver-d44ddef/tests/unit_tests/test_code_verification.py (CWE-95)expected
•Suspicious code patterns — pipe-to-shell install · microsoft-TaskWeaver-d44ddef/website/docs/llms/ollama.md (CWE-494)expected
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (15) · hygiene / uncategorized
•Unrecognized file type — '.?' is not on the allowlist · microsoft-TaskWeaver-d44ddef/.devcontainer/Dockerfilerisk surface
•Unrecognized file type — '.gitattributes' is not on the allowlist · microsoft-TaskWeaver-d44ddef/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · microsoft-TaskWeaver-d44ddef/.gitignorerisk surface
•Unrecognized file type — '.ini' is not on the allowlist · microsoft-TaskWeaver-d44ddef/.linters/tox.inirisk surface
•Unrecognized file type — '.baseline' is not on the allowlist · microsoft-TaskWeaver-d44ddef/.secrets.baselinerisk surface
•Unrecognized file type — '.faiss' is not on the allowlist · microsoft-TaskWeaver-d44ddef/auto_eval/cases/rag/knowledge_base/index.faissrisk surface
•Very high entropy — 7.35 bits/byte suggests packed or encrypted content · microsoft-TaskWeaver-d44ddef/auto_eval/cases/rag/knowledge_base/index.faissrisk surface
•Opaque binary content — non-text payload not statically analyzable · microsoft-TaskWeaver-d44ddef/auto_eval/cases/rag/knowledge_base/index.faissrisk surface
•Unrecognized file type — '.pkl' is not on the allowlist · microsoft-TaskWeaver-d44ddef/auto_eval/cases/rag/knowledge_base/index.pklrisk surface
•Disallowed file type — '.ps1' executables are not permitted · microsoft-TaskWeaver-d44ddef/scripts/build_all_in_one.ps1 (CWE-434)risk surface
•Suspicious network references — suspicious TLD (1 URLs) · microsoft-TaskWeaver-d44ddef/taskweaver/llm/zhipuai.pyrisk surface
•Suspicious network references — raw IP URL (1 URLs) · microsoft-TaskWeaver-d44ddef/taskweaver/module/tracing.pyrisk surface
•Suspicious network references — suspicious TLD (3 URLs) · microsoft-TaskWeaver-d44ddef/website/docs/advanced/plugin_only.mdrisk surface
•Suspicious network references — raw IP URL (10 URLs) · microsoft-TaskWeaver-d44ddef/website/docs/advanced/telemetry.mdrisk surface
•Suspicious network references — raw IP URL (7 URLs) · microsoft-TaskWeaver-d44ddef/website/docs/llms/liteLLM.mdrisk surface
✔ verified source · pinned microsoft-TaskWeaver-d44ddef
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/taskweaver-code-first-data-agent/check). Click a policy:

Consume TaskWeaver — Code-First Data Analytics Agent programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/taskweaver-code-first-data-agent

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/taskweaver-code-first-data-agent/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add taskweaver-code-first-data-agent

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/taskweaver-code-first-data-agent/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "taskweaver-code-first-data-agent" })
OpenAPI spec →
vlatest
! Security: Review · 751mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Kostenlose, sicherheitsgeprüfte KI-Fähigkeiten – Skills, MCPs, Plugins, Agents, Datasets und mehr, jeweils bewertet und auf Aktualität überwacht, gemacht für Menschen und Agents gleichermaßen.

api · v3.1status · all green
Kontakt
support@ai-supply.storesecurity@ai-supply.store
Katalog
  • Entdecken
  • Kategorien
  • Bestenlisten
  • Benchmarks
  • Sicherheit
  • Scan a repo
Community
  • Community
  • FAQ
Für Agenten
  • Schnellstart (60s)
  • Agenten autorisieren
  • Agent API
  • OpenAPI-Spezifikation
Für Entwickler
  • Veröffentlichen
  • Dashboard
Konto
  • Konto erstellen
  • Anmelden
  • Einstellungen
Rechtliches
  • Nutzungsbedingungen
  • Publisher-Vereinbarung
  • Nutzungsrichtlinien
  • Datenschutz