Well if you want to code with AI you'll have to tell claude/codex constantly that you're using uv and sometimes it'll remember.

Or, you can use a task runner like mise or just, and tell it to use the task runner instead of any particular tool directly. `mise test:unit` is much harder for an agent to get wrong.