Pydantic-powered tools for building reliable, type-safe AI agents.
Project description
PyTools
A collection of Pydantic-powered tools for building AI agents.
Includes utilities such as file readers, file listers, private network readers, crawlers, and more — all designed to integrate smoothly with agent frameworks.
🚀 Features
- Typed Tools — Strict input/output validation with Pydantic models.
- Reusable Components — Common utilities like file reading, listing, and crawling.
- Agent-Friendly — Easily pluggable into LLM agents or tool-based frameworks.
- Modern Packaging — Built and published using
uv.
📦 Installation
pip install tools-pydantic
Or, if you’re using uv
uv pip install tools-pydantic
🛠️ Usage
from ToolsPydantic import FileReaderPyTools, ListProjectFilesPyTools, ReadPrivateNetworkPyTools
from pydantic_ai import Agent
# Example usage
tool = FileReaderPyTools().get_tool()
Agent(
name="Example Agent",
# ...
tools=[
FileReaderPyTools().get_tool(),
ListProjectFilesPyTools().get_tool(),
ReadPrivateNetworkPyTools("https://example.private.tech").get_tool()
]
)
🧪 Running Tests
uv run pytest
This project uses pytest and coverage.
To check coverage:
uv run coverage run -m pytest
uv run coverage report -m
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 tools_pydantic-0.2.0.tar.gz.
File metadata
- Download URL: tools_pydantic-0.2.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3c1807ba711576b80356f1ae36fe107a20810559fcee823132d480418ad35ec
|
|
| MD5 |
caced98ef2e1755270fcacc506843b9e
|
|
| BLAKE2b-256 |
83d5a44f2a9c3f84712d2aca23d906c5e89928355ea485b99ddf6543e62e533b
|
File details
Details for the file tools_pydantic-0.2.0-py3-none-any.whl.
File metadata
- Download URL: tools_pydantic-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e22badac5e55ead64f4f5f9dfe090ac0fe24a8dfd0b74b5086061abc4ded7c6
|
|
| MD5 |
ea9e0daa8d91bba2495f99567c094345
|
|
| BLAKE2b-256 |
1b291783f9ee693d83e1fef8b00a4d926316fbc4c9f86c7f18082f486427aa79
|