Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit883e1ea

Browse files
authored
update logos, favicon and brand names (#2193)
1 parent7bd03fc commit883e1ea

File tree

72 files changed

+880
-885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+880
-885
lines changed

‎.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
-run:rm coverage/.coverage.*-py3.9-*# Exclude 3.9 coverage as it gets the wrong line numbers, causing invalid failures.
208208
-run:uv run coverage combine coverage
209209

210-
-run:uv run coverage html --show-contexts --title "PydanticAI coverage for ${{ github.sha }}"
210+
-run:uv run coverage html --show-contexts --title "Pydantic AI coverage for ${{ github.sha }}"
211211

212212
-name:Store coverage html
213213
uses:actions/upload-artifact@v4
@@ -417,7 +417,7 @@ jobs:
417417
env:
418418
VERSION:${{ needs.release.outputs.package-version }}
419419
TWEET:|
420-
PydanticAI version {version} is out! 🎉
420+
Pydantic AI version {version} is out! 🎉
421421
422422
https://github.com/pydantic/pydantic-ai/releases/tag/v{version}
423423
TWITTER_CONSUMER_KEY:${{ secrets.TWITTER_CONSUMER_KEY }}

‎README.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ahref="https://ai.pydantic.dev/">
33
<picture>
44
<source media="(prefers-color-scheme: dark)" srcset="https://ai.pydantic.dev/img/pydantic-ai-dark.svg">
5-
<img src="https://ai.pydantic.dev/img/pydantic-ai-light.svg" alt="PydanticAI">
5+
<img src="https://ai.pydantic.dev/img/pydantic-ai-light.svg" alt="Pydantic AI">
66
</picture>
77
</a>
88
</div>
@@ -24,47 +24,47 @@
2424

2525
---
2626

27-
PydanticAI is a Python agent framework designed to make it less painful to build production grade applications with Generative AI.
27+
Pydantic AI is a Python agent framework designed to make it less painful to build production grade applications with Generative AI.
2828

29-
FastAPI revolutionized web development by offering an innovative and ergonomic design, built on the foundation of[Pydantic](https://docs.pydantic.dev).
29+
FastAPI revolutionized web development by offering an innovative and ergonomic design, built on the foundation of[Pydantic Validation](https://docs.pydantic.dev).
3030

31-
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+
Similarly, virtually every agent framework and LLM library in Python uses Pydantic Validation, 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.
3232

33-
We builtPydanticAI with one simple aim: to bring that FastAPI feeling to GenAI app development.
33+
We builtPydantic AI with one simple aim: to bring that FastAPI feeling to GenAI app development.
3434

35-
##Why usePydanticAI
35+
##Why usePydantic AI
3636

37-
*__Builtby the PydanticTeam__
38-
Built by the team behind[Pydantic](https://docs.pydantic.dev/latest/) (the validation layer of the OpenAI SDK, the Anthropic SDK, LangChain, LlamaIndex, AutoGPT, Transformers, CrewAI, Instructor and many more).
37+
-**Builtby the PydanticTeam**
38+
Built by the team behind[Pydantic Validation](https://docs.pydantic.dev/latest/) (the validation layer of the OpenAI SDK, the Anthropic SDK, LangChain, LlamaIndex, AutoGPT, Transformers, CrewAI, Instructor and many more).
3939

40-
*__Model-agnostic__
41-
Supports OpenAI, Anthropic, Gemini, Deepseek, Ollama, Groq, Cohere, and Mistral, and there is a simple interface to implement support for[other models](https://ai.pydantic.dev/models/).
40+
-**Model-agnostic**
41+
Supports OpenAI, Anthropic, Gemini, Deepseek, Ollama, Groq, Cohere, and Mistral, and there is a simple interface to implement support for[other models](https://ai.pydantic.dev/models/).
4242

43-
*__PydanticLogfireIntegration__
44-
Seamlessly[integrates](https://ai.pydantic.dev/logfire/) with[Pydantic Logfire](https://pydantic.dev/logfire) for real-time debugging, performance monitoring, and behavior tracking of your LLM-powered applications.
43+
-**PydanticLogfireIntegration**
44+
Seamlessly[integrates](https://ai.pydantic.dev/logfire/) with[Pydantic Logfire](https://pydantic.dev/logfire) for real-time debugging, performance monitoring, and behavior tracking of your LLM-powered applications.
4545

46-
*__Type-safe__
47-
Designed to make[type checking](https://ai.pydantic.dev/agents/#static-type-checking) as powerful and informative as possible for you.
46+
-**Type-safe**
47+
Designed to make[type checking](https://ai.pydantic.dev/agents/#static-type-checking) as powerful and informative as possible for you.
4848

49-
*__Python-centricDesign__
50-
Leverages Python's familiar control flow and agent composition to build your AI-driven projects, making it easy to apply standard Python best practices you'd use in any other (non-AI) project.
49+
-**Python-centricDesign**
50+
Leverages Python's familiar control flow and agent composition to build your AI-driven projects, making it easy to apply standard Python best practices you'd use in any other (non-AI) project.
5151

52-
*__Structured Responses__
53-
Harnesses the power of[Pydantic](https://docs.pydantic.dev/latest/) to[validate and structure](https://ai.pydantic.dev/output/#structured-output) model outputs, ensuring responses are consistent across runs.
52+
-**Structured Responses**
53+
Harnesses the power of[Pydantic Validation](https://docs.pydantic.dev/latest/) to[validate and structure](https://ai.pydantic.dev/output/#structured-output) model outputs, ensuring responses are consistent across runs.
5454

55-
*__DependencyInjectionSystem__
56-
Offers an optional[dependency injection](https://ai.pydantic.dev/dependencies/) system to provide data and services to your agent's[system prompts](https://ai.pydantic.dev/agents/#system-prompts),[tools](https://ai.pydantic.dev/tools/) and[output validators](https://ai.pydantic.dev/output/#output-validator-functions).
57-
This is useful for testing and eval-driven iterative development.
55+
-**DependencyInjectionSystem**
56+
Offers an optional[dependency injection](https://ai.pydantic.dev/dependencies/) system to provide data and services to your agent's[system prompts](https://ai.pydantic.dev/agents/#system-prompts),[tools](https://ai.pydantic.dev/tools/) and[output validators](https://ai.pydantic.dev/output/#output-validator-functions).
57+
This is useful for testing and eval-driven iterative development.
5858

59-
*__Streamed Responses__
60-
Provides the ability to[stream](https://ai.pydantic.dev/output/#streamed-results) LLM outputs continuously, with immediate validation, ensuring rapid and accurate outputs.
59+
-**Streamed Responses**
60+
Provides the ability to[stream](https://ai.pydantic.dev/output/#streamed-results) LLM outputs continuously, with immediate validation, ensuring rapid and accurate outputs.
6161

62-
*__Graph Support__
63-
[Pydantic Graph](https://ai.pydantic.dev/graph) provides a powerful way to define graphs using typing hints, this is useful in complex applications where standard control flow can degrade to spaghetti code.
62+
-**Graph Support**
63+
[Pydantic Graph](https://ai.pydantic.dev/graph) provides a powerful way to define graphs using typing hints, this is useful in complex applications where standard control flow can degrade to spaghetti code.
6464

6565
##Hello World Example
6666

67-
Here's a minimal example ofPydanticAI:
67+
Here's a minimal example ofPydantic AI:
6868

6969
```python
7070
from pydantic_aiimport Agent
@@ -78,7 +78,7 @@ agent = Agent(
7878
)
7979

8080
# Run the agent synchronously, conducting a conversation with the LLM.
81-
# Here the exchange should be very short:PydanticAI will send the system prompt and the user query to the LLM,
81+
# Here the exchange should be very short:Pydantic AI will send the system prompt and the user query to the LLM,
8282
# the model will return a text response. See below for a more complex run.
8383
result= agent.run_sync('Where does "hello world" come from?')
8484
print(result.output)
@@ -93,7 +93,7 @@ Not very interesting yet, but we can easily add "tools", dynamic system prompts,
9393

9494
##Tools & Dependency Injection Example
9595

96-
Here is a concise example usingPydanticAI to build a support agent for a bank:
96+
Here is a concise example usingPydantic AI to build a support agent for a bank:
9797

9898
**(Better documented example[in the docs](https://ai.pydantic.dev/#tools-dependency-injection-example))**
9999

@@ -187,8 +187,8 @@ async def main():
187187

188188
##Next Steps
189189

190-
To tryPydanticAI yourself, follow the instructions[in the examples](https://ai.pydantic.dev/examples/).
190+
To tryPydantic AI yourself, follow the instructions[in the examples](https://ai.pydantic.dev/examples/).
191191

192-
Read the[docs](https://ai.pydantic.dev/agents/) to learn more about building applications withPydanticAI.
192+
Read the[docs](https://ai.pydantic.dev/agents/) to learn more about building applications withPydantic AI.
193193

194-
Read the[API Reference](https://ai.pydantic.dev/api/agent/) to understandPydanticAI's interface.
194+
Read the[API Reference](https://ai.pydantic.dev/api/agent/) to understandPydantic AI's interface.

‎clai/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
(pronounced "clay")
1010

11-
Command line interface to chat to LLMs, part of the[PydanticAI project](https://github.com/pydantic/pydantic-ai).
11+
Command line interface to chat to LLMs, part of the[Pydantic AI project](https://github.com/pydantic/pydantic-ai).
1212

1313
##Usage
1414

@@ -55,7 +55,7 @@ Either way, running `clai` will start an interactive session where you can chat
5555
```
5656
usage: clai [-h] [-m [MODEL]] [-a AGENT] [-l] [-t [CODE_THEME]] [--no-stream] [--version] [prompt]
5757
58-
PydanticAI CLI v...
58+
Pydantic AI CLI v...
5959
6060
Special prompts:
6161
* `/exit` - exit the interactive mode (ctrl-c and ctrl-d also work)

‎clai/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bump = true
1313
[project]
1414
name ="clai"
1515
dynamic = ["version","dependencies"]
16-
description ="PydanticAI CLI: command line interface to chat to LLMs"
16+
description ="Pydantic AI CLI: command line interface to chat to LLMs"
1717
authors = [
1818
{name ="Samuel Colvin",email ="samuel@pydantic.dev" },
1919
{name ="Marcelo Trylesinski",email ="marcelotryle@gmail.com" },

‎clai/update_readme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_cli_help(capfd: pytest.CaptureFixture[str]):
1717

1818
help_output=capfd.readouterr().out.strip()
1919
# TODO change when we reach v1
20-
help_output=re.sub(r'(PydanticAI CLI v).+',r'\1...',help_output)
20+
help_output=re.sub(r'(Pydantic AI CLI v).+',r'\1...',help_output)
2121

2222
this_dir=Path(__file__).parent
2323
readme=this_dir/'README.md'
Lines changed: 5 additions & 3 deletions
Loading

‎docs/.partials/index-header.html

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
<divclass="text-center">
2-
<imgclass="index-header off-glb"src="./img/pydantic-ai-dark.svg#only-dark"alt="PydanticAI">
2+
<imgclass="index-header off-glb"src="./img/pydantic-ai-dark.svg#only-dark"alt="Pydantic AI">
33
</div>
44
<divclass="text-center">
5-
<imgclass="index-header off-glb"src="./img/pydantic-ai-light.svg#only-light"alt="PydanticAI">
5+
<img
6+
class="index-header off-glb"
7+
src="./img/pydantic-ai-light.svg#only-light"
8+
alt="Pydantic AI">
69
</div>
710
<pclass="text-center">
811
<em>Agent Framework / shim to use Pydantic with LLMs</em>
912
</p>
1013
<pclass="text-center">
1114
<ahref="https://github.com/pydantic/pydantic-ai/actions/workflows/ci.yml?query=branch%3Amain">
12-
<imgsrc="https://github.com/pydantic/pydantic-ai/actions/workflows/ci.yml/badge.svg?event=push"alt="CI">
15+
<img
16+
src="https://github.com/pydantic/pydantic-ai/actions/workflows/ci.yml/badge.svg?event=push"
17+
alt="CI">
1318
</a>
1419
<ahref="https://coverage-badge.samuelcolvin.workers.dev/redirect/pydantic/pydantic-ai">
15-
<imgsrc="https://coverage-badge.samuelcolvin.workers.dev/pydantic/pydantic-ai.svg"alt="Coverage">
20+
<img
21+
src="https://coverage-badge.samuelcolvin.workers.dev/pydantic/pydantic-ai.svg"
22+
alt="Coverage">
1623
</a>
1724
<ahref="https://pypi.python.org/pypi/pydantic-ai">
1825
<imgsrc="https://img.shields.io/pypi/v/pydantic-ai.svg"alt="PyPI">
@@ -24,11 +31,11 @@
2431
<imgsrc="https://img.shields.io/github/license/pydantic/pydantic-ai.svg"alt="license">
2532
</a>
2633
<ahref="https://logfire.pydantic.dev/docs/join-slack/">
27-
<imgsrc="https://img.shields.io/badge/Slack-Join%20Slack-4A154B?logo=slack"alt="Join Slack"/>
34+
<imgsrc="https://img.shields.io/badge/Slack-Join%20Slack-4A154B?logo=slack"alt="Join Slack">
2835
</a>
2936
</p>
3037

3138
<pclass="text-emphasis">
32-
PydanticAIis a Python agent framework designed to make it less painful to
33-
build production gradeapplications with Generative AI.
39+
Pydantic AIis a Python agent framework designed to make it less painful to build production grade
40+
applications with Generative AI.
3441
</p>

‎docs/a2a.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ communication and interoperability between AI agents, regardless of the framewor
55

66
At Pydantic, we built the[FastA2A](#fasta2a) library to make it easier to implement the A2A protocol in Python.
77

8-
We also built a convenience method that exposePydanticAI agents as A2A servers - let's have a quick look at how to use it:
8+
We also built a convenience method that exposePydantic AI agents as A2A servers - let's have a quick look at how to use it:
99

1010
```py {title="agent_to_a2a.py" hl_lines="4"}
1111
from pydantic_aiimport Agent
@@ -18,12 +18,12 @@ _You can run the example with `uvicorn agent_to_a2a:app --host 0.0.0.0 --port 80
1818

1919
This will expose the agent as an A2A server, and you can start sending requests to it.
2020

21-
See more about[exposingPydanticAIagents as A2A servers](#pydanticai-agent-to-a2a-server).
21+
See more about[exposingPydantic AIagents as A2A servers](#pydantic-ai-agent-to-a2a-server).
2222

2323
##FastA2A
2424

2525
**FastA2A** is an agentic framework agnostic implementation of the A2A protocol in Python.
26-
The library is designed to be used with any agentic framework, and is**not exclusive toPydanticAI**.
26+
The library is designed to be used with any agentic framework, and is**not exclusive toPydantic AI**.
2727

2828
###Design
2929

@@ -75,8 +75,7 @@ The [`Storage`][fasta2a.Storage] component serves two purposes:
7575

7676
This design allows for agents to store rich internal state (e.g., tool calls, reasoning traces) as well as store task-specific A2A-formatted messages and artifacts.
7777

78-
For example, a PydanticAI agent might store its complete internal message format (including tool calls and responses) in the context storage, while storing only the A2A-compliant messages in the task history.
79-
78+
For example, a Pydantic AI agent might store its complete internal message format (including tool calls and responses) in the context storage, while storing only the A2A-compliant messages in the task history.
8079

8180
###Installation
8281

@@ -92,15 +91,15 @@ The only dependencies are:
9291
-[pydantic](https://pydantic.dev): to validate the request/response messages
9392
-[opentelemetry-api](https://opentelemetry-python.readthedocs.io/en/latest): to provide tracing capabilities
9493

95-
You can installPydanticAI with the`a2a` extra to include**FastA2A**:
94+
You can installPydantic AI with the`a2a` extra to include**FastA2A**:
9695

9796
```bash
9897
pip/uv-add'pydantic-ai-slim[a2a]'
9998
```
10099

101-
###PydanticAI Agent to A2A Server
100+
###Pydantic AI Agent to A2A Server
102101

103-
To expose aPydanticAI agent as an A2A server, you can use the`to_a2a` method:
102+
To expose aPydantic AI agent as an A2A server, you can use the`to_a2a` method:
104103

105104
```python {title="agent_to_a2a.py"}
106105
from pydantic_aiimport Agent
@@ -117,7 +116,7 @@ uvicorn agent_to_a2a:app --host 0.0.0.0 --port 8000
117116

118117
Since the goal of`to_a2a` is to be a convenience method, it accepts the same arguments as the[`FastA2A`][fasta2a.FastA2A] constructor.
119118

120-
When using`to_a2a()`,PydanticAI automatically:
119+
When using`to_a2a()`,Pydantic AI automatically:
121120

122121
- Stores the complete conversation history (including tool calls and responses) in the context storage
123122
- Ensures that subsequent messages with the same`context_id` have access to the full conversation history

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp