Skip to content

Commit 3aa0ea3

Browse files
samuelcolvinsydney-runkleBradley-Butchersummerscope
authored
Alternative intro (#270)
Co-authored-by: Sydney Runkle <[email protected]> Co-authored-by: Bradley <[email protected]> Co-authored-by: Laura Summers <[email protected]>
1 parent 9f9bf30 commit 3aa0ea3

File tree

4 files changed

+26
-10
lines changed

4 files changed

+26
-10
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,18 @@
2323

2424
---
2525

26-
When I first found FastAPI, I got it immediately. I was excited to find something so innovative and ergonomic built on Pydantic.
26+
PydanticAI is a Python agent framework designed to make it less painful to build production grade applications with Generative AI.
2727

28-
Virtually every Agent Framework and LLM library in Python uses Pydantic, but when we began to use LLMs in [Pydantic Logfire](https://pydantic.dev/logfire), I couldn't find anything that gave me the same feeling.
28+
FastAPI revolutionized web development by offering an innovative and ergonomic design, built on the foundation of [Pydantic](https://docs.pydantic.dev).
2929

30-
PydanticAI is a Python Agent Framework designed to make it less painful to build production grade applications with Generative AI.
30+
Similarly, virtually every agent framework and LLM library in Python uses Pydantic, yet when we began to use LLMs in [Pydantic Logfire](https://pydantic.dev/logfire), we couldn't find anything that gave us the same feeling.
31+
32+
We built PydanticAI with one simple aim: to bring that FastAPI feeling to GenAI app development.
3133

3234
## Why use PydanticAI
3335

3436
* Built by the team behind Pydantic (the validation layer of the OpenAI SDK, the Anthropic SDK, LangChain, LlamaIndex, AutoGPT, Transformers, CrewAI, Instructor and many more)
35-
* Model-agnostic — currently OpenAI, Gemini, Anthropic, Groq, and Mistral are supported. And there is a simple interface to implement support for other models.
37+
* [Model-agnostic](https://ai.pydantic.dev/models/) — currently OpenAI, Anthropic, Gemini, Ollama, Groq, and Mistral are supported, and there is a simple interface to implement support for other models.
3638
* [Type-safe](https://ai.pydantic.dev/agents/#static-type-checking)
3739
* Control flow and agent composition is done with vanilla Python, allowing you to make use of the same Python development best practices you'd use in any other (non-AI) project
3840
* [Structured response](https://ai.pydantic.dev/results/#structured-result-validation) validation with Pydantic

docs/.partials/index-header.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class="text-center">
2-
<img class="index-header" src="./img/pydantic-ai-dark.svg#only-dark" alt="PydanticAI">
2+
<img class="index-header off-glb" src="./img/pydantic-ai-dark.svg#only-dark" alt="PydanticAI">
33
</div>
44
<div class="text-center">
5-
<img class="index-header" src="./img/pydantic-ai-light.svg#only-light" alt="PydanticAI">
5+
<img class="index-header off-glb" src="./img/pydantic-ai-light.svg#only-light" alt="PydanticAI">
66
</div>
77
<p class="text-center">
88
<em>Agent Framework / shim to use Pydantic with LLMs</em>
@@ -21,6 +21,11 @@
2121
<img src="https://img.shields.io/pypi/pyversions/pydantic-ai.svg" alt="versions">
2222
</a>
2323
<a href="https://github.com/pydantic/pydantic-ai/blob/main/LICENSE">
24-
<img src="https://img.shields.io/github/license/pydantic/pydantic-ai.svg?v" alt="license">
24+
<img src="https://img.shields.io/github/license/pydantic/pydantic-ai.svg" alt="license">
2525
</a>
2626
</p>
27+
28+
<p class="text-emphasis">
29+
PydanticAI is a Python agent framework designed to make it less painful to
30+
build production grade applications with Generative AI.
31+
</p>

docs/extra/tweaks.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ img.index-header {
1616
width: 70%;
1717
max-width: 500px;
1818
}
19+
20+
.text-emphasis {
21+
font-size: 1rem;
22+
font-weight: 300;
23+
font-style: italic;
24+
}

docs/index.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
--8<-- "docs/.partials/index-header.html"
44

5-
When I first found FastAPI, I got it immediately. I was excited to find something so innovative and ergonomic built on Pydantic.
5+
PydanticAI is a Python Agent Framework designed to make it less painful to
6+
build production grade applications with Generative AI.
67

7-
Virtually every Agent Framework and LLM library in Python uses Pydantic, but when we began to use LLMs in [Pydantic Logfire](https://pydantic.dev/logfire), I couldn't find anything that gave me the same feeling.
8+
FastAPI revolutionized web development by offering an innovative and ergonomic design, built on the foundation of [Pydantic](https://docs.pydantic.dev).
89

9-
PydanticAI is a Python Agent Framework designed to make it less painful to build production grade applications with Generative AI.
10+
Similarly, virtually every agent framework and LLM library in Python uses Pydantic, yet when we began to use LLMs in [Pydantic Logfire](https://pydantic.dev/logfire), we couldn't find anything that gave us the same feeling.
11+
12+
We built PydanticAI with one simple aim: to bring that FastAPI feeling to GenAI app development.
1013

1114
## Why use PydanticAI
1215

0 commit comments

Comments
 (0)