Python workflow CLI for managing projects, syncing environments, installing packaged tools, and handling Python versions.
$curl -LsSf https://astral.sh/uv/install.sh | sh
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
uv is a Python workflow CLI that combines project management, package installation, virtual environments, tool execution, and Python version management. It covers both high-level pyproject.toml workflows and lower-level pip-style environment commands from one shell surface.
What It Enables
- Create Python projects, add or remove dependencies, lock them, sync environments, and run commands against the managed project environment.
- Install Python versions and invoke Python-packaged CLIs either ephemerally with
uvxor as persistent user-level tools. - Inspect packages, export lock data, build distributions, and publish packages without switching between separate Python workflow tools.
Agent Fit
- One non-interactive-first CLI spans setup, inspection, and mutation tasks across Python repos, environments, and toolchains, so agents do not need to juggle multiple package managers.
- Structured output is available on inspect surfaces such as
uv pip list --format json,uv version --output-format json, and source-defined JSON modes forpython listand auth helper flows. - Some broader JSON output surfaces are still tied to the
json-outputpreview feature, and commands that touch credentials or existing directories may still prompt unless you pass explicit flags or preconfigure state.
Caveats
- It is specific to Python packaging and interpreter workflows, so it is a poor fit outside Python projects or Python-packaged tools.
- Commands that publish packages, download interpreters, or access package indexes depend on network access and can mutate local environments, lockfiles, or remote package state.