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.5.0.tar.gz (3.8 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.5.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcpx_pydantic_ai-0.5.0.tar.gz
Algorithm Hash digest
SHA256 43bcfd7c593748bf994240edd45f27ac24812687b7fc9dcd3b7f54fe4d6573d8
MD5 2347b1b6771b436fb96b0b33320cd90e
BLAKE2b-256 df00dbf62ef8872a3837e9fd800582b81c864bc7d5f4d169a358b0ccfd678d40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcpx_pydantic_ai-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 840311610c358aa38a80528a97a56972f2f9f461f1510e47a56931db52dbe4ff
MD5 9472da45db9436cb41832567fd414df9
BLAKE2b-256 54a0862b5a5ce5b968a254b3c8e71c1c4e37a8eec99aa3485488bc9cfe0d66e7

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