langchain-ai/framework-selection

INVOQUEZ CETTE COMPÉTENCE au DÉBUT de tout projet LangChain/LangGraph/Deep Agents, avant d'écrire du code d'agent. Détermine la couche d'infrastructure appropriée : LangChain, LangGraph, Deep Agents ou une combinaison. Doit être consultée avant les autres compétences d'agent.

Qu'est-ce que framework-selection ?

Cette compétence est conçue pour être invoquée au tout début d'un projet utilisant les frameworks LangChain, LangGraph ou Deep Agents. Son objectif principal est de guider le choix de la couche d'infrastructure la plus adaptée à la tâche à réaliser. Elle aide à déterminer s'il faut utiliser LangChain pour les workflows simples et la chaîne d'appels, LangGraph pour les graphes d'états complexes, Deep Agents pour les agents autonomes, ou une combinaison de ces frameworks. En étant consultée avant toute autre compétence, elle garantit une architecture optimale et évite les mauvaises décisions de conception. Cette compétence supporte tous les projets basés sur ces frameworks et fonctionne en analysant les besoins du projet (complexité, besoins de mémoire, autonomie des agents) pour recommander la configuration la plus appropriée. Elle est indispensable pour tout développeur travaillant avec l'écosystème LangChain.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/langchain-ai/langchain-skills/tree/main/skills/framework-selection

Installed? Explore more Productivité et collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait framework-selection ?

INVOQUEZ CETTE COMPÉTENCE au DÉBUT de tout projet LangChain/LangGraph/Deep Agents, avant d'écrire du code d'agent. Détermine la couche d'infrastructure appropriée : LangChain, LangGraph, Deep Agents ou une combinaison. Doit être consultée avant les autres compétences d'agent.

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

langchain-ai/deep-agents-core

INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.

langchain-ai/deep-agents-memory

INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.

langchain-ai/deep-agents-orchestration

INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.

langchain-ai/langchain-dependencies

INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph, LangSmith, or Deep Agents. Covers required packages, minimum versions, environment requirements, versioning best practices, and common community tool packages for both Python and TypeScript.

langchain-ai/langchain-fundamentals

Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.

langchain-ai/langchain-middleware

INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware, or structured output. Covers HumanInTheLoopMiddleware for human approval of dangerous tool calls, creating custom middleware with hooks, Command resume patterns, and structured output with Pydantic/Zod.

langchain-ai/langchain-rag

INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).

langchain-ai/langgraph-fundamentals

INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.

langchain-ai/langgraph-human-in-the-loop

INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph. Covers interrupt(), Command(resume=...), approval/validation workflows, and the 4-tier error handling strategy.

langchain-ai/langgraph-persistence

INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping. Covers checkpointers, thread_id, time travel, Store, and subgraph persistence modes.

langchain-ai/swarm

Dispatches many independent items in parallel: create a table, fan out to subagents, aggregate results. One row = one unit of work.

Skills associés