Skip to main content

pydantic-ai-agent-reliability-skills

Trustabl Forge for Pydantic AI: give your agent a tool that generates a pre-coding reliability skill (SKILL.md) for the repository it works in.

Forge reads the repository's dependency manifests (pyproject.toml, requirements.txt, package.json, go.mod and others), finds the agent SDKs it uses, and builds a skill from Trustabl's detection rules for exactly those SDKs: the Claude Agent SDK, OpenAI Agents SDK, Google ADK, MCP, LangChain and LangGraph, CrewAI, Pydantic AI, the Vercel AI SDK, AutoGen and more. An agent that follows the skill applies the rules while it writes code, instead of meeting them later as scan findings.

Install

pip install pydantic-ai-agent-reliability-skills

Requires Python 3.10 or later and pydantic-ai-slim 2.0 or later.

Use

from pydantic_ai import Agent
from pydantic_ai.capabilities import LocalWorkspace
from pydantic_ai_agent_reliability_skills import AgentReliabilitySkills

agent = Agent(
    'anthropic:claude-sonnet-5',
    capabilities=[
        LocalWorkspace('.'),
        AgentReliabilitySkills(),
    ],
)

The capability adds one tool, generate_reliability_skill(path='.', policy=None, lang=None), which returns the SKILL.md content, the SDKs it covers and the rules release it was built from. It writes nothing: its instructions tell the agent to save the skill to .claude/skills/trustabl-pre-coding/SKILL.md with its own file tools, and to replace an existing file there only if it carries a Forge stamp, never a hand-written one.

Input Meaning
path Repository directory, relative to the workspace.
policy SDK categories to add on top of the detected ones, for an SDK not yet in a manifest, such as mcp.
lang Languages to add: python, typescript, go.
Option Default Meaning
command None Analyzer binary to run. None uses trustabl on the workspace's PATH, else the pinned release.
engine_version 0.1.15 Analyzer release to download. Must be 0.1.14 or later.
timeout 300 Seconds for one Forge run. The first run also downloads the rules.
guidance None Replaces the default instructions. '' adds none.

How it runs

Forge is part of the open-source Trustabl analyzer. The tool runs trustabl forge inside the agent's workspace. When no trustabl is on the workspace's PATH, it downloads the pinned analyzer release, checks it against the release's checksums.txt (a mismatch is a hard failure and nothing is executed) and caches it. Set TRUSTABL_CACHE_DIR to change where.

No model call and no API key. The first run fetches the analyzer and Trustabl's rules from GitHub; after that both work from cache.

  • agent-reliability-skills: the same Forge tool as an MCP server, for Claude Code, Cursor and other MCP clients.
  • pydantic-ai-trustabl: scan an agent repository for reliability and safety weaknesses from a Pydantic AI agent.

License: Apache-2.0.

Metadata

Release files for pydantic-ai-agent-reliability-skills 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydantic-ai-agent-reliability-skills 0.1.0
File Size Uploaded Provenance Actions
pydantic_ai_agent_reliability_skills-0.1.0.tar.gz 14.3 kB With provenance Details for pydantic_ai_agent_reliability_skills-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydantic-ai-agent-reliability-skills 0.1.0
File Interpreter ABI Platform Actions
pydantic_ai_agent_reliability_skills-0.1.0-py3-none-any.whl Python 3 none any Details for pydantic_ai_agent_reliability_skills-0.1.0-py3-none-any.whl

Total release size: 29.4 kB

Release files / pydantic_ai_agent_reliability_skills-0.1.0.tar.gz

Download URL pydantic_ai_agent_reliability_skills-0.1.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bcdd1beb03258a61ab873ea5113a40a9729edf12d42694adb0c035e1296483d8
BLAKE2b-256 checksum
How to use checksums
c1d1bfe3b36c166b3bd014040f0d0f4bd66c5124ac7d5e9dd0f9631db89b1ee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / pydantic_ai_agent_reliability_skills-0.1.0-py3-none-any.whl

Download URL pydantic_ai_agent_reliability_skills-0.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6693a84191fee7b0993865eb1770894ee44f10bcc721bc5e66742be76bce0a20
BLAKE2b-256 checksum
How to use checksums
88d287f597812e66beea24bd3c360ada141a7788dc124fa52951c9ee695cf6c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for pydantic-ai-agent-reliability-skills 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pydantic_ai_agent_reliability_skills-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page