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.16 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.1

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.1
File Size Uploaded Provenance Actions
pydantic_ai_agent_reliability_skills-0.1.1.tar.gz 14.4 kB With provenance Details for pydantic_ai_agent_reliability_skills-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 29.4 kB

Release files / pydantic_ai_agent_reliability_skills-0.1.1.tar.gz

Download URL pydantic_ai_agent_reliability_skills-0.1.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5c3b68e93874714d98ddfe049c2bd3a19923d53f8e83fd010280752fa20e19eb
BLAKE2b-256 checksum
How to use checksums
8046c229def1ca5c7c3dc1b59afd6419774b460ec7048cb5e67bcaac7a0dd8e7
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 9, 2026.

Transparency log

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

Download URL pydantic_ai_agent_reliability_skills-0.1.1-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0d1d2dd3823e7ad836a7b1c97379403917016a6ae4e73ecc567d5183ae467b7
BLAKE2b-256 checksum
How to use checksums
8a9d1cff314fc1c645a2afd49aa6b51b2331d66e0e6bda9e9ea55474597ffecc
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 9, 2026.

Transparency log

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

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.1.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 9, 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.1 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