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.3.0.tar.gz (2.5 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.3.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcpx_pydantic_ai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3bdcf89a28b557c41ca2d54e37453bc39c742fcfd801d6d35dd28fda960fcec4
MD5 bc79ddfcd4fe02b6f61ecad185b886c9
BLAKE2b-256 05fd17304271f51442bb21645791a5e46f5095f16dbe00815683789f5ccef00f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcpx_pydantic_ai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54d59b8fcc7e6d334d80df174af7b60be16dade1eb36b1a1d29752dcc2708b0d
MD5 2a41c12b93ec9c6a6a3bd2bf4055c481
BLAKE2b-256 4de6886c342248be641b4c011111a0cdf528d6d32ce8590a9f4df1595d26a0fa

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