Skip to main content

Pydantic Agent with mcp.run tools

Project description

mcpx-pydantic-ai

A Python library for using mcp.run tools with pydantic-ai

Example

agent = Agent("claude-3-5-sonnet-latest", result_type=int)
results = agent.run_sync(
    "find the largest prime under 1000 that ends with the digit '3'"
)
print(results.data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcpx_pydantic_ai-0.7.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcpx_pydantic_ai-0.7.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file mcpx_pydantic_ai-0.7.0.tar.gz.

File metadata

  • Download URL: mcpx_pydantic_ai-0.7.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.3

File hashes

Hashes for mcpx_pydantic_ai-0.7.0.tar.gz
Algorithm Hash digest
SHA256 c7d951c96fd8bc1ea2731562d6e1b76c5d274d3b84afc3fc8524be669ce3c81d
MD5 c9aee737dd1e158b550e3c4d4d4f0d41
BLAKE2b-256 fdcea4587c7f41960eb243aa7298f0ba4eda357cdd20f843640dae2949f053dd

See more details on using hashes here.

File details

Details for the file mcpx_pydantic_ai-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcpx_pydantic_ai-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e50cc29a4219e33c4eba3737cf0106ded18c748590a2fa79264d97decd6a80bd
MD5 392bafa7f225de3630ea5f3a386bf924
BLAKE2b-256 46d9cda159c1d06cb4a31bf38027492fcae91d44f026a3a813c9772ba0169106

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page