Agent

Agent Content List

Retrieval-Augmented Generation (RAG) 및 Agent 개발 관련 기술의 전체 구현 과정을 다루는 종합 가이드. LangChain & LangGraph을 활용한 RAG 시스템 구축, 문서 로딩, 임베딩, 벡터 저장소, 검색기, 그리고 고급 RAG 기법까지 단계별로 학습할 수 있는 실습 중심의 블로그 모음

AI
LangChain
RAG
Agent
Cloud
저자

Kwangmin Kim

공개

2024년 12월 31일

1 Agent

1.1 Intro

  1. intro rag
  2. settings
  3. settings api issue
  4. settings LangSmith
  5. settings VScode JASON
  6. LangChain intro

1.2 Basic

  1. 01-OpenAI-APIKey
  2. 02-OpenAI-LLM
  3. 03-LCEL
  4. 04-LCEL-Advanced
  5. 05-Runnable

1.3 Output Parser

  1. 01-PydanticOuputParser
  2. 02-CommaSeparatedListOutputParser
  3. 03-StructuredOutputParser
  4. 04-JsonOutputParser
  5. 05-PandasDataFrameOutputParser
  6. 06-DatetimeOutputParser
  7. 07-EnumOutputParser
  8. 08-OutputFixingParser

1.4 Model

  1. 01-Chat-Models
  2. 02-Cache
  3. 03-ModelSerialization
  4. 04-TokenUsage
  5. 05-Google-Generative-AI
  6. 06-HuggingFace-Endpoint
  7. 07-HuggingFace-Local
  8. 08-Huggingface-Pipelines
  9. 09-Ollama
  10. 10-GPT4ALL
  11. 11-Gemini-Video
  12. 12-OpenSource-LLMs-2026
  13. 13-Paid-LLMs-202602

1.5 Memory

  1. 01-ConversationBufferMemory
  2. 02-ConversationBufferWindowMemory
  3. 03-ConversationTokenBufferMemory
  4. 04-ConversationEntityMemory
  5. 05-ConversationKnowledgeGraph
  6. 06-ConversationSummary
  7. 07-VectorStoreRetrieverMemory
  8. 08-LCEL-add-memory
  9. 09-Memory-using-SQLite
  10. 10-Conversation-With-History

2 RAG

2.1 Preprocess

2.1.1 Document Loader

  1. 00-Document-Loader
  2. 01-PDF-Loader
  3. 02-HWP-Loader
  4. 03-CSV-Loader
  5. 04-Excel-Loader
  6. 05-Word-Loader
  7. 06-PowerPoint-Loader
  8. 07-WebBase-Loader
  9. 08-TXT-Loader
  10. 09-JSON-Loader
  11. 10-Arxiv-Loader
  12. 11-Directory-Loader
  13. 12-UpstageLayoutAnalysisLoader
  14. 13-Llamaparser

2.1.2 Text Splitter

  1. 01-CharacterTextSplitter
  2. 02-RecursiveCharacterTextSplitter
  3. 03-TokenTextSplitter
  4. 04-SemanticChunker
  5. 05-CodeSplitter
  6. 06-MarkdownHeaderTextSplitter
  7. 07-HTMLHeaderTextSplitter
  8. 08-RecursiveJsonSplitter

2.1.3 Embeddings

  1. 01-OpenAIEmbeddings
  2. 02-CacheBackedEmbeddings
  3. 03-HuggingFaceEmbeddings
  4. 04-UpstageEmbeddings
  5. 05-OllamaEmbeddings
  6. 06-llamacpp
  7. 07-GPT4ALL

2.1.4 Vector Store

  1. 00-VectorStore
  2. 01-Chroma
  3. 02-FAISS
  4. 03-Pinecone
  5. 04-Azure-AI-Search

2.2 Runtime Process

2.2.1 Retriever

  1. 01-VectorStoreRetriever
  2. 02-ContextualCompressionRetriever
  3. 03-EnsembleRetriever
  4. 04-LongContextReorder
  5. 05-ParentDocumentRetriever
  6. 06-MultiQueryRetriever
  7. 07-MultiVectorRetriever
  8. 08-SelfQueryRetriever
  9. 09-TimeWeightedVectorStoreRetriever
  10. 10-Kiwi-BM25Retriever
  11. 11-CC-EnsembleRetriever

2.2.2 Reranker

  1. 01-Cross-Encoder-Reranker
  2. 02-Cohere-Reranker
  3. 03-Jina-Reranker
  4. 04-FlashRank-Reranker
  5. 05-reranker-ml-dl

2.3 Prompt Engineering

2.3.1 프롬프트 설계 기초

  1. 06-PromptBasic
  2. 07-PromptDesign
  3. 08-LLM-limit
  4. 09-PromptDesign-practical
  5. 17-OpenAI-생성-파라미터

2.3.2 LangChain 프롬프트 도구

  1. 01-PromptTemplate
  2. 02-FewShotTemplates
  3. 03-LangChain-Hub
  4. 04-Personal-Prompts
  5. 05-ChatPromptTemplate

2.3.3 프롬프트 분석 (Prompt Analytics)

  1. 10-PromptAnalytics
  2. 11-PromptWritingMethod
  3. 12-PromptAnalytics-conversation-analysis1
  4. 13-PromptAnalytics-conversation-analysis2
  5. 14-PromptAnalytics-segmentation
  6. 15-1-PromptAnalytics-segmentation-strategy
  7. 15-2-PromptAnalytics-user-data-strategy
  8. 15-3-PromptAnalytics-utterance-data-pipeline
  9. 16-PromptAnalytics-reasoning

2.3.4 프롬프팅 기법

  1. 18-PromptWriting-techniques
  2. 19-PromptWriting-zeroshot
  3. 20-PromptWriting-fewshot
  4. 21-PromptWriting-chain-of-thought
  5. 22-PromptWriting-zeroshot-CoT
  6. 23-PromptWriting-self-consistency
  7. 24-PromptWriting-advenced techniques
  8. 25-PromptWriting-knowledge-generation
  9. 26-PromptWriting-prompt-chaining
  10. 27-PromptWriting-tree-of-thoughts
  11. 28-PromptWriting-active-prompting
  12. 29-PromptWriting-rag1
  13. 30-PromptWriting-APE
  14. 31-PromptWriting-rag2
  15. 32-PromptWriting-directional-stimulus
  16. 33-PromptWriting-ReAct

2.3.5 실전 프롬프트 설계

  1. 34-PromptWriting-PromptGenerator
  2. 35-PromptWriting-PromptAutoCompletion
  3. 36-PromptWriting-SystemPrompt
  4. 37-PromptWriting-SingleFunctionPrompt
  5. 38-PromptWriting-DomainSpecificPrompt
  6. 39-PromptWriting-ImageGeneration

2.3.6 RAG

  1. 00-RAG-Basic-PDF
  2. 01-RAG-Basic-Webloader
  3. 02-RAG-Advanced
  4. 03-Conversation-With-History
  5. 04-RAPTOR-Long-Context-RAG-CODE
  6. 05-RAPTOR-Long-Context-RAG-PDF
  7. 08-Web-Summarize-Chain-Of-Density
  8. 10-Multi_modal_RAG-GPT-4o
  9. 11-RAG-Variants-Comparison
  10. 12-Custom-RAG-vs-Agent
  11. 13-RAG-Orchestration-Roadmap
  12. 14-Long-Context-Limits
  13. 15-Structured-RAG-Architecture
  14. 16-RAG-vs-Long-Context-Decision

2.3.7 Cloud RAG (Azure)

  1. Azure-RAG-Overview
  2. Project Setting
  3. Azure-Blob-Storage
  4. Azure-Document-Intelligence
  5. Azure-OpenAI-Embeddings
  6. Azure-AI-Search-Integration
  7. LangChain-to-LangGraph
  8. Azure-OpenAI-LLM
  9. Azure-Functions-Apps
  10. Azure-Container-Apps
  11. End-to-End-Azure-RAG
  12. CodeBaseAnalyzer
  13. RAG-optimization

관련 참조: Azure 인프라 설정(VM, Blob Storage, AI Search, Document Intelligence)에 대한 상세 내용은 Engineering - Azure Cloud 섹션을 참고한다. Agent 시스템 구축을 위한 DevOps 워크플로는 Engineering - Agent Platform Design 섹션에서 다룬다.

2.3.8 LangChain Expression Language

  1. RunnablePassthrough
  2. Inspect-Runnables
  3. RunnableLambda
  4. Routing
  5. RunnableParallel
  6. Configure
  7. ChainDecorator
  8. RunnableWithMessageHistory
  9. Custom-Generator
  10. Binding
  11. Fallbacks

2.3.9 Chains

  1. Summary
  2. SQL
  3. Structured-Output-Chain
  4. Structured-Data-Chat

3 Agent Process

  1. Tools
  2. Bind-Tools
  3. Agent
  4. Agent-More-LLMs
  5. Human-Intervention
  6. Agentic-RAG
  7. CSV-Excel-Agent
  8. Agent-Toolkits-File-Management
  9. Agent-Report-With-Image-Generation
  10. Two-Agent-Debate-With-Tools
  11. React-Agent
  12. Plan-Execute-Agent
  13. Multi-Agent-System
  14. Multi-Agent
  15. ReAct Agent: LangChain v1 create_agent
  16. ReAct Agent와 Playwright 브라우저 자동화

3.1 RAG & Agent Evaluation

  1. Test-Dataset-Generator-RAGAS
  2. Evaluation-Using-RAGAS
  3. Translate-HF-Upload
  4. LangSmith-Dataset
  5. LangSmith-LLM-as-Judge
  6. LangSmith-Embedding-Distance-Evaluation
  7. LangSmith-Custom-LLM-Evaluation
  8. LangSmith-Heuristic-Evaluation
  9. LangSmith-Compare-Evaluation
  10. LangSmith-Summary-Evaluation
  11. LangSmith-Groundedness-Evaluation
  12. LangSmith-Pairwise-Evaluation
  13. LangSmith-Repeat-Evaluation
  14. LangSmith-Online-Evaluation
  15. Prompt-Quality-Control
  16. Prompt-Quality-Control-testRules
  17. Prompt-Quality-Control-testMethod
  18. Prompt-Quality-Control-qualititative
  19. Prompt-Quality-Control-quantitative
  20. Prompt-Evaluation-Justification
  21. Prompt-Evaluation-LLMasJudge
  22. Prompt-Evaluation-template
  23. LangSmith-CLI-SDK-Automation
  24. LangSmith-vs-Custom-Evaluation
  25. LangSmith-Security-Governance
  26. to-be-organized

관련 참조: Agent 평가에서 활용하는 실험 설계 및 통계적 검정 방법론은 Experimentation 섹션에서 체계적으로 다룬다. A/B 테스트를 통한 Agent 성능 비교 실험 설계는 A/B 테스트의 핵심 메커니즘을 참고한다.

3.2 Personalization

  1. Agent Segmentation
  2. Agent Personalization
  3. Agent Hyperpersonalization

3.3 LangGraph

3.3.1 Core Features

  1. LangGraph-Overview
  2. LangGraph-Introduction
  3. LangGraph-ChatBot
  4. LangGraph-Agent
  5. LangGraph-Agent-With-Memory
  6. LangGraph-Streaming-Outputs
  7. LangGraph-Human-In-the-Loop
  8. LangGraph-Manual-State-Update
  9. LangGraph-State-Customization
  10. LangGraph-DeleteMessages
  11. LangGraph-ToolNode
  12. LangGraph-Branching
  13. LangGraph-Add-Conversation-Summary
  14. LangGraph-Subgraph
  15. LangGraph-Subgraph-Transform-State
  16. LangGraph-Streaming-Steps
  17. LangChain-to-LangGraph-Migration

3.3.2 Structures

  1. LangGraph-Building-Graphs
  2. LangGraph-Naive-RAG
  3. LangGraph-Add-Groundedness-Check
  4. LangGraph-Add-Web-Search
  5. LangGraph-Add-Query-Rewrite
  6. LangGraph-Agentic-RAG
  7. LangGraph-Adaptive-RAG

3.3.3 Use Cases

  1. LangGraph-Agent-Simulation
  2. LangGraph-Prompt-Generation
  3. LangGraph-CRAG
  4. LangGraph-Self-RAG
  5. LangGraph-Plan-and-Execute
  6. LangGraph-Multi-Agent-Collaboration 6-1. LangGraph-Multi-Agent-Collaboration-llama3
  7. LangGraph-Multi-Agent-Supervisor
  8. LangGraph-Hierarchial-Agent-Team
  9. LangGraph-SQL-Agent
  10. LangGraph-Research-Assistant

3.4 Fine Tuning

  1. QA-Pair-GPT
  2. Unsloth-llama3-FineTuning-alpaca

3.5 Streamlit Applications

  1. Chat-Template
  2. MyProject
  3. Email
  4. RAG-With-Evaluation

3.6 GraphRAG

3.6.1 Phase 1: 개념

  1. GraphRAG-ontology
  2. GraphRAG-table
  3. GraphRAG-metadata-approach
  4. 온톨로지 개론 (Governance)
  5. 온톨로지와 메타데이터 저장소 설계 (Governance)

3.6.2 Phase 2: 환경 설정

  1. GraphRAG-setup

3.6.3 Phase 3: 핵심 컴포넌트

  1. GraphRAG-node-edge
  2. GraphRAG-strategies

3.6.4 Phase 4: 실무 통합

  1. GraphRAG-adapters
  2. GraphRAG-transformers

3.6.5 Phase 5: 실전 예제

  1. GraphRAG-movie-reviews
  2. GraphRAG-code-generation
  3. GraphRAG-lazy
  4. GraphRAG-multihop

3.6.6 Phase 6: 심화

  1. GraphRAG-document
  2. GraphRAG-evaluation
  3. GraphRAG-production

3.6.7 Phase 7: 응용

  1. GraphRAG-code-analyzer-architecture
  2. 범용 코드베이스 분석기 실현 가능성

3.6.8 Neo4j GraphRAG

3.6.8.1 Phase 1: 개념 & 환경
  1. Neo4j-overview
  2. Neo4j-setup
3.6.8.2 Phase 2: 그래프 구축
  1. Neo4j-cypher-basics
  2. Neo4j-knowledge-graph-construction
3.6.8.3 Phase 3: 검색
  1. Neo4j-vector-index
  2. Neo4j-hybrid-retriever
3.6.8.4 Phase 4: GDS 그래프 분석
  1. Neo4j-gds-community
  2. Neo4j-gds-pagerank
3.6.8.5 Phase 5: Full GraphRAG
  1. Neo4j-microsoft-graphrag
  2. Neo4j-graphrag-qa
3.6.8.6 Phase 6: 평가
  1. Neo4j-graphrag-evaluation

3.7 Agent Architecture

3.7.1 Agent 설계 패턴

  1. Skill-based Agent Pattern
  2. Context Management
  3. Hybrid RAG Skill
  4. Claude Code Context Strategy
  5. Multi-Agent Design Patterns
  6. Agent Tech Stack Evolution

3.7.2 시스템 프롬프트 설계

  1. 시스템 프롬프트 분해 6단계
  2. 시스템 프롬프트 유형 분류와 혼합 설계
  3. 프롬프트 설계와 SW 설계의 구조적 대응
  4. 어텐션 희석과 2-Pass 워크플로우
  5. 프롬프트 길이와 구조 설계
  6. 스킬 역분석: Agent용 시스템 프롬프트 작성 원리
  7. 시스템 프롬프트 평가 — AGENT_GUIDE.md 사례 분석
  8. LLM 지시 준수 메커니즘 — 에이전트가 규칙을 뭉개는 이유
  9. 시스템 프롬프트 동적 주입 아키텍처

3.7.3 스킬 (Skill) 시스템

  1. Agent 스킬 설계와 생성
  2. SKILL.md 명세와 작성법
  3. 스킬 기반 프롬프트 아키텍처 실전 적용
  4. 스킬 라우팅의 확장성과 한계
  5. 스킬 패턴의 실전 적용: 블로그 지식 관리 시스템
  6. 코드베이스 분석 Agent의 스킬 설계

3.7.4 도구 (Tool) 시스템과 SDK

  1. MCP 기반 도구 통합
  2. AI Coding Assistant의 SW Tool SDK 명세
  3. GitHub Copilot CLI SW Tool 명세와 Claude Code 대조 분석
  4. 자체 개발 Agent에 Claude·Copilot 도구 연결하기
  5. Claude·Copilot 도구 생태계에 커스텀 도구 추가하기

3.7.5 하네스 엔지니어링 — 개념과 자체 체계

  1. Prompt · Context · Harness Engineering — 세 층위의 구분과 포함 관계
  2. Claude Code vs Copilot CLI — 하네스 설계 차이와 Task 선택 가이드
  3. AGENT_GUIDE 체계를 3 층으로 해부하기 — Cross-cutting Concern 과 아키텍트·아키텍처

3.7.6 하네스 엔지니어링 — 산업 사례

  1. 하네스 엔지니어링 산업 사례 — Project 1M, 역할 분리, 동료 스킬, 원클릭 도구
  2. AWS Deep Insight Part 1 — 5 가지 문제와 8 에이전트 3 레이어 아키텍처
  3. AWS Deep Insight Part 2 — Context Window 한계를 넘는 4 계층 Context Engineering
  4. AWS Deep Insight 하네스 엔지니어링 케이스 스터디 — 3 가지 인프라 결정의 통합 분석

3.7.7 실전 사례

  1. Codebase Analyzer Agent: Architecture 비교
  2. code-review-graph: 로컬 지식 그래프 기반 토큰 최적화
  3. Multi-Repo 코드베이스 분석 Agent 설계

3.8 Segmentation & Personalization

  1. Agent User Segmentation
  2. Agent Personalization
  3. Agent Hyperpersonalization

4 References

Subscribe

Enjoy this blog? Get notified of new posts by email: