Category

langchain

5 articles

Skills vs LangChain, LangGraph, MCP, and Tools: A Practical Architecture Guide

TLDR: These are not competing ideas. They are layers. Tools do one action. MCP standardizes access to actions and resources. LangChain and LangGraph orchestrate calls. Skills package business outcomes with contracts, guardrails, and evaluation. Most ...

13 min read

Mastering Prompt Templates: System, User, and Assistant Roles with LangChain

TLDR: A production prompt is not a string — it is a structured message list with system, user, and optional assistant roles. LangChain's ChatPromptTemplate turns this structure into a reusable, testable, injection-safe blueprint. TLDR: LangChain p...

12 min read

How to Develop Apps Using LangChain and LLMs

TLDR: LangChain is a framework that simplifies building LLM applications. It provides abstractions for Chains (linking steps), Memory (remembering chat history), and Agents (using tools). It turns raw API calls into composable building blocks. TLD...

14 min read

Guide to Using RAG with LangChain and ChromaDB/FAISS

TLDR: RAG (Retrieval-Augmented Generation) gives an LLM access to your private documents at query time. You chunk and embed documents into a vector store (ChromaDB or FAISS), retrieve the relevant chunks at query time, and inject them into the LLM's ...

12 min read
Mastering Prompt Templates: System, User, and Assistant Roles with LangChain

Mastering Prompt Templates: System, User, and Assistant Roles with LangChain

TLDR: Prompt templates are the contract between your application and the LLM. Role-based messages (System / User / Assistant) provide structure. LangChain's ChatPromptTemplate and MessagesPlaceholder turn ad-hoc strings into versioned, testable pipel...

14 min read