langchain-ai avatar

Framework Selection

Before you write a single line of agent code, run this. It walks through four decision points to determine whether your project needs LangChain's basic agent loop, LangGraph's custom control flow, or Deep Agents' full orchestration layer with built-in planning and file management. The framework choice dictates everything else, from which other skills to load to how you structure your codebase. I've seen too many projects start with the wrong foundation and hit walls later when they need persistent state or subagent delegation that their chosen framework can't handle cleanly.

skills.sh installs
7.7K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add langchain-ai/langchain-skills --skill framework-selection --agent claude-code

Installs into .claude/skills of the current project.

Files

Before you write a single line of agent code, run this. It walks through four decision points to determine whether your project needs LangChain's basic agent loop, LangGraph's custom control flow, or Deep Agents' full orchestration layer with built-in planning and file management. The framework choice dictates everything else, from which other skills to load to how you structure your codebase. I've seen too many projects start with the wrong foundation and hit walls later when they need persistent state or subagent delegation that their chosen framework can't handle cleanly.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/langchain-ai/langchain-skills
Categories
Documentation, AI & Agent Building

More from langchain-ai/langchain-skills

All 15
1thedotmack avatarmake-planthedotmack/claude-memCreate a detailed, phased implementation plan with documentation discovery. Use when asked to plan a feature, task, or multi-step implementation — especially be7.5Kskills.sh installs
2trailofbits avatarcode-maturity-assessortrailofbits/skillsSystematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing practices, access controls, com7.5Kskills.sh installs
3agricidaniel avatarseo-clusteragricidaniel/claude-seoSERP-based semantic topic clustering for content architecture planning. Groups keywords by actual Google SERP overlap (not text similarity), designs hub-and-spo7.4Kskills.sh installs
4czlonkowski avatarn8n-code-javascriptczlonkowski/n8n-skillsWrite JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with this.helpers / the $help7.4Kskills.sh installs
5forcedotcom avatarplatform-apex-test-runforcedotcom/sf-skillsApex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage, fix failing t7.2Kskills.sh installs
6pproenca avatarvitestpproenca/dot-skillsVitest testing framework patterns for test setup, async testing, mocking with vi.*, snapshots, and test performance (formerly test-vitest). This skill should be7.2Kskills.sh installs