# DingTalk-Real-AI/dingtalk-workspace-cli

DingTalk Workspace is an officially open-sourced cross-platform CLI tool from DingTalk. It unifies DingTalk’s full suite of product capabilities into a single package, is designed for both human users and AI agent scenarios.

Repository: https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli
Canonical: https://ross.abutalabs.com/products/dingtalk-workspace-cli
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T17:24:23+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 11
- inputs: {"age_days": 165, "days_push": 7, "days_rel": 13, "gap_med": 1, "n_releases_24m": 58}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2801, forks 213 (observed 2026-08-28T04:07:22.613120+00:00)

## What it is
DingTalk Workspace CLI (dws) is an official cross-platform command-line tool from DingTalk that unifies DingTalk's product capabilities into a single Go-based package. It is designed for both human users (table/json output, dry-run previews) and AI agents (structured JSON responses and built-in Agent Skills), with enterprise-grade OAuth device-flow authentication and least-privilege scoping.

## Use cases
- manage DingTalk workspace from the command line
- give AI agents access to DingTalk data via CLI
- automate DingTalk workflows in scripts
- query DingTalk messages and docs as JSON for LLM agents
- preview DingTalk API requests with dry-run before executing
- integrate DingTalk capabilities into CI pipelines or shell scripts

## When to choose
- you need scripted or agent-driven access to DingTalk enterprise data
- you want a single official CLI covering DingTalk's product suite
- you need structured JSON output for AI agent tooling
- you require enterprise-grade auth, audit, and least-privilege scoping

## When to avoid
- you don't use DingTalk or lack enterprise admin authorization
- you need a GUI-based DingTalk client
- your project is outside the DingTalk ecosystem
- you need a fully stable tool and can't participate in the co-creation phase

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, auth, workflow-automation, sdk
- domain: developer-tools
- platform: cli, cross-platform, windows, go
- tags: dingtalk, ai-agents, agent-skills, oauth-device-flow, enterprise, json-output, zero-trust, collaboration, command-line, automation, macos, linux

## Member repositories
- DingTalk-Real-AI/dingtalk-workspace-cli (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:22.613120+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:14:33.300290+00:00, confidence not recorded.
  - readme: https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli (fetched 2026-08-28T04:07:22.613120+00:00, sha 6ee0c7e2e9dc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
