ecosystem-primer

Guides framework selection and setup for LangChain, LangGraph, and Deep Agents projects.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/flemx/salesforce-langgraph-agent --skill ecosystem-primer-flemx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ecosystem-primer
Source: https://github.com/flemx/salesforce-langgraph-agent/tree/main/.agents/skills/ecosystem-primer
Command: npx skills add https://github.com/flemx/salesforce-langgraph-agent --skill ecosystem-primer-flemx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing between LangChain, LangGraph, and Deep Agents is confusing because the tools overlap and their APIs change frequently. This Skill provides a decision framework for picking the right layer, configuring the environment, and finding current documentation before writing any agent code. ## Core Features & Use Cases - Framework Selection: A step-ordered decision table maps task requirements (planning, custom control flow, single-purpose agents) to the correct layer: Deep Agents, LangGraph, or LangChain. - Environment Setup: Provides the current LangSmith environment variables (LANGSMITH_API_KEY, LANGSMITH_TRACING, LANGSMITH_PROJECT) for tracing and observability. - Documentation Navigation: Explains how to query docs.langchain.com via the LangChain Docs MCP server or the llms.txt index for up-to-date API references. - Use Case: A developer starting a new customer-service agent uses this Skill to determine that a single-purpose tool-calling agent fits LangChain's create_agent, then loads the langchain-fundamentals skill for implementation details. ## Quick Start Ask the agent to help you choose between LangChain, LangGraph, and Deep Agents for your project and set up the required environment variables.

Frequently Asked Questions about ecosystem-primer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between LangChain, LangGraph, and Deep Agents?

Evaluate requirements in order: use Deep Agents if you need planning, file management, subagents, or persistent memory; LangGraph for custom control flow like deterministic loops and branching; LangChain create_agent for single-purpose agents with a fixed tool set.

What is the difference between LangChain and LangGraph?

LangChain is the framework layer providing model abstractions, tools, and the create_agent loop. LangGraph is the runtime layer underneath it, offering durable execution and explicit StateGraph control flow with nodes, edges, and conditional edges.

What environment variables does LangSmith tracing require?

Set LANGSMITH_API_KEY, LANGSMITH_TRACING=true, and LANGSMITH_PROJECT to enable tracing. These are the current variable names; older names no longer work. Model provider keys like ANTHROPIC_API_KEY or OPENAI_API_KEY are set separately as needed.

Can I combine Deep Agents with LangGraph in one project?

Yes, the layers compose. A compiled LangGraph graph can be registered as a named subagent inside Deep Agents, and the orchestrator delegates to it via the task tool. LangChain tools and retrievers work inside both LangGraph nodes and Deep Agents tools.

How do I access current LangChain documentation from an agent?

If the LangChain Docs MCP server is connected, query it with tree, cat, and rg commands against docs.langchain.com paths. Otherwise fetch https://docs.langchain.com/llms.txt to find relevant pages, then fetch those pages directly.

When should I not use Deep Agents?

Avoid Deep Agents when the task is simple enough for a single-purpose agent with fixed tools, or when you need precise hand-crafted control over every graph edge. In those cases use LangChain create_agent or LangGraph directly.