The whole hunk
from line 54, old and new numbered
/
lines
from line 54
5454 </Tab>
5555
5656 <Tab title="Python (uv)">
57 [uv](https://docs.astral.sh/uv/) is a fast Python package manager that handles virtual environments automatically:
57 [Install uv](https://docs.astral.sh/uv/), a fast Python package manager that handles virtual environments automatically. Then initialize a project and add the SDK:
5858
5959 ```bash theme={null}
6060 uv init
from line 338
338338
339339With `Bash` enabled, try: `"Write unit tests for utils.py, run them, and fix any failures"`
340340
341Each of these snippets sets fields on the same options object. For more information, see [Configure your agent](/docs/en/agent-sdk/configuration).
342
341343## Key concepts
342344
343345**Tools** control what your agent can do:
from line 356
354356
355357Now that you've created your first agent, learn how to extend its capabilities and tailor it to your use case:
356358
359* **[Configure your agent](/docs/en/agent-sdk/configuration)**: compose the options object and find the page that covers each setting
357360* **[Permissions](/docs/en/agent-sdk/permissions)**: control what your agent can do and when it needs approval
358361* **[Hooks](/docs/en/agent-sdk/hooks)**: run custom code before or after tool calls
359362* **[Sessions](/docs/en/agent-sdk/sessions)**: build multi-turn agents that maintain context