PingCAP TiUP
$ tiup Official High RiskPingCAP tiup is the official Apache-2.0 Go CLI and package manager for the TiDB distributed SQL ecosystem. It spins up ephemeral local clusters (tiup playground), manages multi-node production clusters (tiup cluster with --format json display), installs TiDB tools (dumpling, br, pd-ctl), and ships an official SKILL.md.
https://github.com/pingcap/tiup/releases tiup orchestrates multi-component TiDB downloads, local playgrounds, and SSH-backed cluster topology lifecycles directly with SKILL.md guidance.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Ships SKILL.md (official_skill) and --format json on tiup cluster display, though tiup status and tiup list emit text tables.
tiup cluster display <name> --format jsonemits structured inventory JSON- Ships official
SKILL.mdinpingcap/tiup
Includes pre-flight tiup cluster check and explicit -y confirmation prompts for destructive operations like destroy.
- Pre-flight
tiup cluster checkand confirmation prompts on destructive commands
Single Go binary installed cleanly via PingCAP's installer script or GitHub releases for Linux and macOS (native Windows unsupported).
- Lightweight Go bootstrapper managing versioned TiDB components on Linux/macOS
Single entrypoint for TiDB local playground, multi-node cluster ops, bench, dumpling, and br.
- Unified component manager for the entire TiDB toolchain
Official pingcap/tiup repository actively maintained by PingCAP under Apache-2.0.
- Official
pingcap/tiuprepo (Apache-2.0)
Extensive bilingual PingCAP documentation, SKILL.md, and modular component --help.
- Comprehensive docs at docs.pingcap.com and
SKILL.md
Security, Auth & Guardrails
Stores TiUP component metadata, SSH keys/topology configs, and local instance state under ~/.tiup/.
CLI and TiDB Community Edition are free (Apache-2.0); host infrastructure incurs compute/storage costs.
# TiUP Agent Rules - Run `tiup cluster list` and `tiup cluster display <name> --format json` before mutating any cluster. - Always run `tiup cluster check` prior to `tiup cluster deploy` or `scale-out`. - Never execute `tiup cluster destroy` or `scale-in` without explicit human confirmation.
Agent-Ready Command Recipes
Safe Read-Only Queries
tiup cluster list
Lists all TiDB clusters registered in local ~/.tiup/storage/cluster/clusters/.
tiup cluster display prod-tidb --format json
Returns node roles, hosts, ports, and health states in structured JSON.
Controlled Writes & Previews
tiup cluster check ./topology.yaml --apply
Validates OS kernel limits, ports, and SSH connectivity before cluster deployment.
Strengths for Agents
- + Ships official
SKILL.mdand supports--format jsonfortiup cluster display. - + Pre-flight
tiup cluster checkcatches OS and network issues before deployment. - + Single entrypoint for both local
tiup playgroundtesting and productiontiup clusterops.
Caveats & Pitfalls
- !
tiup statusandtiup liststill output plain tables without universal--jsonsupport. - ! Targets Linux and macOS; Windows requires WSL2.