# OpenCLI Agent Pack: uv

Use this when an AI agent needs to work with `uv`.

## What this CLI is for
Python envs, fast installs, and script execution from the terminal. Built by Astral. Start with `uv init demo` and go from there.

Best for: python envs, fast installs, and script execution from the terminal.

## Agent readiness
Usable with guardrails (50/100)
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.

## Install
```sh
brew install uv
```

## Verify before real work
```sh
uv --version
```
Expected signal: uv responds locally and is ready for the first real command.

## Safe starting commands
```sh
uv --version
```

```sh
uv init demo && cd demo && uv run main.py
```

```sh
uv init demo
```

```sh
cd demo
```

```sh
uv add httpx && uv run main.py
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.

## Suggested agent instruction
You may use uv (`uv`) for python envs, fast installs, and script execution from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
