الرئيسية / المهارات / pydantic/pydantic-ai

migrating-claude-agent-sdk-to-pydantic-ai

Migrate Python applications from the Claude Agent SDK to Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports `claude_agent_sdk` or relies on Claude Code's agent loop, sessions, built-in tools, hooks, permissions, skills, or subagents. Do not use for the Anthropic Messages SDK or Claude Managed Agents.

skillالترخيص: MIT المصدر: pydantic/pydantic-ai

التثبيت

انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):

npx degit pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/.agents/skills/migrating-claude-agent-sdk-to-pydantic-ai .claude/skills/migrating-claude-agent-sdk-to-pydantic-ai

أو ثبّته لكل المشاريع:

npx degit pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/.agents/skills/migrating-claude-agent-sdk-to-pydantic-ai ~/.claude/skills/migrating-claude-agent-sdk-to-pydantic-ai

محتوى الملف

من إنشاء مؤلفيه الأصليين ومنشور بترخيص MIT. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗

…