-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
234cde8
commit 5882769
Showing
6 changed files
with
62 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,39 @@ | ||
# Installation | ||
|
||
TODO | ||
PydanticAI is available [on PyPI](https://pypi.org/project/pydantic-ai/) so installation is as simple as: | ||
|
||
=== "pip" | ||
|
||
```bash | ||
pip install pydantic-ai | ||
``` | ||
|
||
=== "uv" | ||
|
||
```bash | ||
uv add pydantic-ai | ||
``` | ||
|
||
It requires Python 3.9+. | ||
|
||
## Use with Pydantic Logfire | ||
|
||
PydanticAI has an excellent (but completely optional) integration with [Pydantic Logfire](https://pydantic.dev/logfire) to help you view and understand agent runs. | ||
|
||
To use Logfire, install PydanticAI with the `logfire` optional group: | ||
|
||
=== "pip" | ||
|
||
```bash | ||
pip install 'pydantic-ai[logfire]' | ||
``` | ||
|
||
=== "uv" | ||
|
||
```bash | ||
uv add 'pydantic-ai[logfire]' | ||
``` | ||
|
||
From there, follow the [Logfire documentation](https://logfire.pydantic.dev/docs/) to configure Logfire. | ||
|
||
TODO screenshot of Logfire with PydanticAI in action. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters