mirror of
https://github.com/pydantic/pydantic-ai-harness.git
synced 2026-07-21 02:45:34 +00:00
* feat: add FileSystem and Shell capabilities with exhaustive testing - FileSystemToolset: 8 tools (read, write, edit, list, search, find, mkdir, info) with path-traversal prevention, allow/deny patterns, optimistic concurrency - ShellToolset: 1 tool (run_command) with command validation, timeout handling, and async subprocess execution via anyio --- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: David Sanchez <64162682+dsfaccini@users.noreply.github.com>
7 lines
270 B
Python
7 lines
270 B
Python
"""Filesystem capability: gives agents configurable, sandboxed file system access."""
|
|
|
|
from pydantic_ai_harness.filesystem._capability import FileSystem
|
|
from pydantic_ai_harness.filesystem._toolset import FileSystemToolset
|
|
|
|
__all__ = ['FileSystem', 'FileSystemToolset']
|