Repository navigation
Document running your own Pydantic AI agent with common.ai toolsets - #73902
Merged
Merged
Conversation
kaxil
added this pull request to stack #73905
September 29, 2026 12:49
kaxil
marked this pull request as ready for review
September 29, 2026 13:18
kaxil
force-pushed
the
commonai-native-docs
branch
from
September 29, 2026 14:03
34af5c9 to
7cf132a
Compare
vatsrahul1001
approved these changes
Sep 29, 2026
kaxil
force-pushed
the
commonai-native-docs
branch
from
September 29, 2026 20:07
7cf132a to
90726a0
Compare
…rameworks Add a Pydantic AI guide for teams with an agent of their own: a model from PydanticAIHook and the provider's toolsets passed straight to it, and what AgentOperator adds on top. The sandbox guide now shows a Strands agent owning its sandbox's life with a with block.
kaxil
force-pushed
the
commonai-native-docs
branch
from
September 30, 2026 06:01
90726a0 to
809a725
Compare
This was referenced Oct 8, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Teams with a Pydantic AI agent of their own had no guide: the docs covered
AgentOperatorand assumed the operator runs the agent. The new Pydantic AI page shows the model fromPydanticAIHook.get_hook(...).get_conn(), the same vendor handlingAgentOperatoruses, and the provider's toolsets passed straight to the agent. It lists whatAgentOperatoradds on top: durable replay, human review and tool-call approval, masking for the Agent Skills toolset and your own toolsets, templated connection IDs, and tool logging with the task's identity on spans. For spans, it points to the hook'screate_agent, which instruments the agent the wayAgentOperatordoes, with prompt text off by default.The sandbox guide now shows a Strands agent owning its sandbox's life with a
withblock.This is the top of the native agent framework stack; nothing else depends on it.
The new guide as rendered:
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.