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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a17d728b6ff6a5df61e14f1c48158566122c636789b8158b26817cb5e2572f5
|
|
| MD5 |
7b7bfb135d6e9fb02aadbb1473b0f421
|
|
| BLAKE2b-256 |
99b77ae02e7f17ff3ed821a82c3fce64bd4d2300a3e227e6d77bb67333d9c2cf
|
File details
Details for the file mcpx_pydantic_ai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mcpx_pydantic_ai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38c307b653a55509ceb9d9503cde0b62e0a46e3864284027693a984b4633d1c3
|
|
| MD5 |
8f7500db3cefae334b660f16b7c96c8b
|
|
| BLAKE2b-256 |
9d781b9184449a9708ac110f3cd77932043534f8b7e8658a8fbedf8c735be5b8
|