# Langchain Architecture

> Design LLM applications using the LangChain framework with agents, memory, and tool integration patterns. Use when building LangChain applications, implementing AI agents, or creating complex LLM workflows.

- Skill: `dokhacgiakhoa/langchain-architecture` (Agent Skill, multi-file: 14 files)
- Install (CLI): `npx skillmds@latest add dokhacgiakhoa/langchain-architecture`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dokhacgiakhoa/langchain-architecture/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Dokhacgiakhoa (https://skillmd.com/u/dokhacgiakhoa)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/dokhacgiakhoa/langchain-architecture

---


# LangChain Architecture

Master the LangChain framework for building sophisticated LLM applications with agents, chains, memory, and tool integration.

## Do not use this skill when

- The task is unrelated to langchain architecture
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.

## Use this skill when

- Building autonomous AI agents with tool access
- Implementing complex multi-step LLM workflows
- Managing conversation memory and state
- Integrating LLMs with external data sources and APIs
- Creating modular, reusable LLM application components
- Implementing document processing pipelines
- Building production-grade LLM applications

## Core Concepts

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [1. Agents](./sub-skills/1-agents.md)
### 2. [2. Chains](./sub-skills/2-chains.md)
### 3. [3. Memory](./sub-skills/3-memory.md)
### 4. [4. Document Processing](./sub-skills/4-document-processing.md)
### 5. [5. Callbacks](./sub-skills/5-callbacks.md)
### 6. [Pattern 1: RAG with LangChain](./sub-skills/pattern-1-rag-with-langchain.md)
### 7. [Pattern 2: Custom Agent with Tools](./sub-skills/pattern-2-custom-agent-with-tools.md)
### 8. [Pattern 3: Multi-Step Chain](./sub-skills/pattern-3-multi-step-chain.md)
### 9. [Choosing the Right Memory Type](./sub-skills/choosing-the-right-memory-type.md)
### 10. [Custom Callback Handler](./sub-skills/custom-callback-handler.md)
### 11. [1. Caching](./sub-skills/1-caching.md)
### 12. [2. Batch Processing](./sub-skills/2-batch-processing.md)
### 13. [3. Streaming Responses](./sub-skills/3-streaming-responses.md)

