Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Migrating the Claude Agent SDK to Pydantic AI v1.0.0

Use this resource to migrate a Claude Agent SDK application to Pydantic AI

New

  • 426 downloads
  • 205 likes
  • 101 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install claude-agent-sdk-to-pydantic-ai

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent identifies the real entry point (query() or ClaudeSDKClient), chooses the smallest Pydantic AI target, then migrates one vertical slice with prompts, tools, sessions and approvals. It does not cover the plain Messages API or managed agents. You get a migration verified against your callers' behaviour.

Mostly picked by

Updated November 2, 2026

Card for the “Migrating the Claude Agent SDK to Pydantic AI” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: source analysis, choice of target and risk gates
  • references/: concept mapping and verification before cutover

Good fit for

  • Your code imports claude_agent_sdk and relies on sessions or subagents
  • You want to move to Pydantic AI without changing what your callers see

Not for

    Tags

    • migration
    • claude agent sdk
    • pydantic ai
    • agents
    • python

    About

    You say

    “Migrate my query()-based agent to Pydantic AI, keeping the hooks and permissions.”

    Card for the “Migrating the Claude Agent SDK to Pydantic AI” skill

    Skill published by pydantic under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to migrate a Claude Agent SDK application to Pydantic AI
    3. Review and adjust the result

    Content preview

    Files

    • agents/openai.yaml0.3 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/RESEARCH-AND-MAPPING.md7.6 KB
    • references/VERIFICATION-AND-CUTOVER.md4.5 KB
    • SKILL.md6.3 KB

    Origin and licence

    Listed unmodified

    Author
    pydantic
    Source
    github.com/pydantic/skills/tree/98f591c0886eb11df0bdd57804419e11439efc93/skills/migrating-claude-agent-sdk-to-pydantic-ai
    Licence
    MIT

    Notice

    « migrating-claude-agent-sdk-to-pydantic-ai » (pydantic, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.