---
name: dokhacgiakhoa-langchain-architecture
description: "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."
license: "NOASSERTION"
metadata:
  decimalai-skill-id: "c0c88a75-a84a-4372-9b9a-49cb90b1895a"
  decimalai-version-id: "1a82c646-d6d4-4cde-92f9-344771e1d59a"
  decimalai-version: "1"
  decimalai-body-sha256: "a00dbbd8a4cc0789e2a607d25765c43d186c1b013648cc90293a25dd4f33f2df"
  decimalai-name: "dokhacgiakhoa/langchain-architecture"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/dokhacgiakhoa-langchain-architecture@1/SKILL.md"
---
# 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)
