Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

langchain-build-agent

БесплатноБез исполняемых скриптовНе проверен

Provides the latest guidance for building or modifying LLM applications with the LangChain open source libraries: Deep Agents, LangGraph, and LangChain…

langchain-aiот langchain-ai★ 1 369 звёзд на GitHub

Об этом скилле

Build and modify LangChain applications

Deep Agents is the most recent high-level agent abstraction we recommend in the LangChain ecosystem and the default starting point for new agents. When an application uses model reasoning to choose tools and determine its next steps, start with Deep Agents. In Python, construct the agent with deepagents.create_deep_agent.

Deep Agents builds on LangChain's create_agent and runs on LangGraph. It provides a configurable agent harness with middleware, tools, and prompting; using it does not require a complex task or a need for every built-in capability.

Use this skill to choose and compose these components. Retrieve current implementation details from official documentation and installed packages.

Understand the application

Identify the requested behavior, language, package versions, existing agent or graph, tool interfaces, state, and deployment constraints. For an existing application, preserve its architecture and explicit provider/model choices unless the requested change needs a different approach. For a new application, build the user's actual use case rather than substituting a tutorial demo.

Distinguish ecosystem requests from concrete implementation constraints. A request to “build an agent with LangChain” leaves the implementation architecture open. Building with Deep Agents satisfies that ecosystem request.

Requirements such as “use langchain.agents.create_agent directly” or “do not add the deepagents package” constrain the implementation. Honor explicit constraints; do not infer an API choice from the ecosystem name alone.

How the components relate

Deep Agents uses LangChain's create_agent internally, extending it with preconfigured middleware, tools, and system prompting for capabilities such as planning, filesystem access, and delegation. It supports further customization through tools and middleware.

Calling langchain.agents.create_agent directly constructs a base LangChain agent; it does not include the Deep Agents harness. Use Deep Agents' public builder to get that harness, and verify the corresponding entrypoint in the current documentation for your language.

Both LangChain agents and Deep Agents run on LangGraph, which provides their underlying execution runtime. LangGraph also supports explicit workflow orchestration. Composition works in both directions: a LangGraph workflow can contain a Deep Agent as a node, and a Deep Agent can invoke a LangGraph workflow exposed as a tool.

Consult current documentation for the capabilities included by default and how to configure or extend them.

Choose the application architecture

For a new reasoning and tool-calling agent, inspect Deep Agents' current documentation and extension points before selecting an implementation. Use its agent builder for agents that handle complex, multi-step tasks or benefit from its built-in planning, filesystem, and subagent capabilities.

Preserve an existing application's architecture unless the requested change requires revisiting it. Follow explicit user requirements about frameworks.

Use LangGraph when the application requires explicit sequencing, branching, or workflow control. Where a workflow contains an autonomous agent, that node can use Deep Agents. Where an agent needs a deterministic subtask, expose a LangGraph workflow as a tool it can call.

Choose a base LangChain agent with create_agent for straightforward agent applications, such as small agents with a limited tool set, when you want to configure a smaller harness yourself, or when a concrete requirement makes Deep Agents unsuitable.

Use a direct model call when no agent loop is needed.

Managed Deep Agents is LangSmith's hosted way to run Deep Agents. You define the agent in code; LangSmith packages it as an Agent Server and manages its deployment, persistent state, and agent context such as instructions and skills. Consider it when the user wants to operate a Deep Agent without assembling that runtime stack, or needs managed capabilities such as sandboxes or schedules. Keep agent logic and hosted runtime choices distinct. Verify current capabilities and setup in official docs and the installed CLI; a general request to build a LangChain agent does not imply managed hosting. When the user chooses Managed Deep Agents, follow the langchain-managed-deep-agents skill.

Retrieve the implementation contract

Inspect the manifest, lockfile, and relevant installed packages. Check Deep Agents availability and version alongside LangChain and LangGraph when building an agent; these are separate packages. Verify the APIs you intend to use against the installed versions.

Current documentation may describe a newer release. Match the implementation to the installed version; do not silently upgrade an existing project to fit an example. For a new project, select current compatible stable releases. Do not assume Python and TypeScript expose identical capabilities or defaults.

Imple

Полный SKILL.md на GitHub

Установить langchain-build-agent в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл langchain-build-agent?

Provides the latest guidance for building or modifying LLM applications with the LangChain open source libraries: Deep Agents, LangGraph, and LangChain, including how the libraries best fit together. The stack evolves quickly, so it's important to verify prior knowledge against this guidance. Also covers when Managed Deep Agents fits.

Как установить скилл langchain-build-agent?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл langchain-build-agent запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить langchain-build-agent с