Add pydantic-ai capability matrix references doc to Common AI#69887
Open
gopidesupavan wants to merge 3 commits into
Open
Add pydantic-ai capability matrix references doc to Common AI#69887gopidesupavan wants to merge 3 commits into
gopidesupavan wants to merge 3 commits into
Conversation
0a661c6 to
daefacf
Compare
Lee-W
approved these changes
Jul 15, 2026
Comment on lines
+132
to
+133
| # [START howto_operator_agent_capabilities_input_guard] | ||
| if InputGuard is not None: |
Member
There was a problem hiding this comment.
I feel we should mention the verison in doc and remove this if InputGuard is not None check from rendered section
Member
Author
There was a problem hiding this comment.
it seems... the providers example dags are importing now in core tests and optional deps not installed..
FAILED airflow-core/tests/unit/always/test_example_dags.py::test_should_be_importable[providers/common/ai/src/airflow/providers/common/ai/example_dags/example_agent_capabilities.py] - AssertionError: import_errors={'/opt/airflow/providers/common/ai/src/airflow/providers/common/ai/example_dags/example_agent_capabilities.py': 'Traceback (most recent call last):\n File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed\n File
"/opt/airflow/providers/common/ai/src/airflow/providers/common/ai/example_dags/example_agent_capabilities.py", line 29, in <module>\n from pydantic_ai_shields import InputGuard\nModuleNotFoundError: No module named \'pydantic_ai_shields\'\n'}
assert 1 == 0
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.
Add Common AI capability references and shields example
This adds a short reference from the Common AI provider docs to the upstream
pydantic-ai-harness capability matrix, so users can discover the current set of
supported capability packages without Airflow copying and maintaining that list.
It also adds a small example Dag showing how to pass an
InputGuardfrompydantic-ai-shieldsthroughAgentOperatorcapability parameters.Was generative AI tooling used to co-author this PR?
{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.