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.2.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.2.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcpx_pydantic_ai-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 5a17d728b6ff6a5df61e14f1c48158566122c636789b8158b26817cb5e2572f5
MD5 7b7bfb135d6e9fb02aadbb1473b0f421
BLAKE2b-256 99b77ae02e7f17ff3ed821a82c3fce64bd4d2300a3e227e6d77bb67333d9c2cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcpx_pydantic_ai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38c307b653a55509ceb9d9503cde0b62e0a46e3864284027693a984b4633d1c3
MD5 8f7500db3cefae334b660f16b7c96c8b
BLAKE2b-256 9d781b9184449a9708ac110f3cd77932043534f8b7e8658a8fbedf8c735be5b8

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