Repository navigation
Add Pax - #816
Draft
mpfaffenberger wants to merge 2 commits into
Draft
Add Pax#816mpfaffenberger wants to merge 2 commits into
mpfaffenberger wants to merge 2 commits into
Conversation
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.
This adds Pax, Pydantic's coding agent terminal built on Pydantic AI. It is distributed on PyPI as
pydantic-ai-pax, and the source lives insrc/pydantic_ai_pax. It is MIT licensed.pax/agent.json: auvxdistribution that runsuvx pydantic-ai-pax==0.78.0 acp.pax/icon.svg: the Pydantic mark, simplified to a 16x16 monochrome path that usescurrentColor.0.78.0is a placeholder. It stands for the first release that will includepax acp. Before this is merged,versionand thepackagepin must be changed to the real release number.Authentication
pax acpoffers Terminal Auth (type: terminal,args: ["--login"]). It does this when the client signals support, either withclientCapabilities._meta["terminal-auth"]or withauth.terminal.--loginruns a sign-in and exits, and works whether the client appends it to the launch arguments (pax acp --login) or replaces them (pax --login).Verification
SKIP_URL_VALIDATION=1 uv run --with jsonschema .github/workflows/build_registry.py --agents paxpasses.SKIP_URL_VALIDATIONalso passes. That's because the PyPI check only confirms that the package namepydantic-ai-paxexists, not that the pinned version does.python3 .github/workflows/verify_agents.py --auth-check --agent paxpasses (Auth OK: terminal(terminal)). I ran it against local wheels built from the head of Addpax acpto serve Pax's stock agent over the Agent Client Protocol pydantic/pydantic-ai#15139. The wheels were version0.77.1.dev27+58e0c13a13, and a localuvxshim swapped them in for the0.78.0pin.Not verified
0.78.0release, which doesn't exist yet. Until it does, theuvxlaunch and auth check in CI will fail for this entry.