migrating-langchain-to-pydantic-ai Skill

Migrate Python LangChain, LangGraph, or Deep Agents applications to Pydantic AI and, when the source uses harness features, Pydantic AI Harness. Use for LangChain agents, chains, LCEL, direct LangGraph graphs, persistence, interrupts, streaming, and `create_deep_agent` projects with planning, filesystem or sandbox backends, skills, memory, subagents, permissions, approvals, or Deep Agents Code hosts.

Install
npx skills add 'https://github.com/pydantic/pydantic-ai/tree/main/pydantic_ai_slim/pydantic_ai/.agents/skills/migrating-langchain-to-pydantic-ai'
Download bundle ↓
View on GitHub
← Back to SKILL.md
interface:  display_name: "Migrate LangChain or Deep Agents to Pydantic AI"  short_description: "Migrate LangChain, LangGraph, and Deep Agents safely"  default_prompt: "Use $migrating-langchain-to-pydantic-ai to migrate the smallest complete LangChain, LangGraph, or Deep Agents slice to Pydantic AI and Pydantic AI Harness while preserving its observed contracts with proportionate tests."