06_examples/skills/rag-agent/SKILL.md
RAG(Retrieval-Augmented Generation) 에이전트 구축 가이드. 벡터 스토어 검색, 문서 청킹, content_and_artifact 패턴을 다룹니다.
npx skillsauth add baem1n/langchain-langgraph-deepagents-notebooks rag-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@tool(response_format="content_and_artifact") 패턴 사용create_deep_agent(tools=[retrieve]) — 검색 도구 전달@tool(response_format="content_and_artifact")
def retrieve(query: str):
"""벡터 스토어에서 관련 문서를 검색합니다."""
results = vectorstore.similarity_search(query, k=3)
content = "\n\n".join(d.page_content for d in results)
return content, results # (요약 텍스트, 원본 객체)
| 파라미터 | 권장값 | 이유 |
|---------|--------|------|
| chunk_size | 1000 | 충분한 컨텍스트 유지 |
| chunk_overlap | 200 | 문맥 연결 보장 |
| separators | ["\n\n", "\n", " "] | 자연스러운 경계 |
tools
자연어 SQL 질의 에이전트 가이드. SQLDatabaseToolkit 활용, READ-ONLY 안전 규칙, HITL 승인 패턴을 다룹니다.
devops
머신러닝 파이프라인 에이전트 가이드. sklearn 기반 모델 비교, 교차 검증, 서브에이전트 위임 패턴을 다룹니다.
tools
박사급 딥 리서치 에이전트 가이드. 병렬 서브에이전트 위임, think_tool 반성, 5단계 워크플로를 다룹니다.
development
데이터 분석 에이전트 가이드. LocalShellBackend로 pandas 코드를 실행하고, 멀티턴 분석을 수행합니다.