인공지능 개발자 수다(유튜브 바로가기) 자세히보기
반응형

전체 글 165

[Airflow] DAG

1. DAG 개념Directed : Task가 방향성을 가진다 (선후 관계가 있음)Acyclic : 순환이 없다.Graph : Task의 관계를 나타낸 구조 2. DAG 정의dag_id : DAG 이름 (고유 식별자)start_date : 기준 시각. 과거로 두면 catchup이 True일 때 과거 분량이 밀린다. 학습 중에는 보통 catchup을 False로 둔다.schedule_interval : 실행주기, 크론 문자열이나 프리셋을 쓴다. 예, @once, @hourly, @daily, 0 9 * * *.catchup: True면 과거 실행분을 밀린 것까지 수행default_args: 공통 인자 (owner, retries, retry_delay 등)tags: DAG 그룹핑 및 검색 태그from da..

Airflow 2025.09.03

[Airflow] 설치 방법 (로컬 환경)

1. 개요Airflow는 다양한 방법으로 설치할 수 있습니다. Docker, Kubernetes, Helm Chart를 이용한 배포도 가능하지만, 학습 목적이나 작은 규모의 테스트 환경에서는 로컬 파이썬 환경에서 바로 설치하는 것이 가장 간단합니다.이 장에서는 Python 가상환경을 활용해 Airflow를 설치하고 실행하는 방법을 다룹니다. Airflow는 Linux/Unix 계열 환경을 기준으로 개발되었기 때문에, 공식적으로는 윈도우 실행을 지원하지 않습니다.airflow scheduler 같은 일부 프로세스가 윈도우에서 정상 동작하지 않거나, 의존성 충돌이 발생할 수 있습니다. 내용 출처 Airflow Docs Quick Start — Airflow 3.0.4 Documentation airflow...

Airflow 2025.08.25

[Airflow] 개요

1. Airflow란 무엇인가Apache Airflow는 워크플로우 관리 플랫폼(Workflow Orchestration Tool) 입니다.데이터 처리, 머신러닝 학습, 배치 작업과 같이 여러 단계가 순차적·병렬적으로 실행되는 파이프라인을 코드로 정의하고, 스케줄링하며, 모니터링할 수 있게 도와줍니다. Airflow의 철학은 다음과 같이 요약할 수 있습니다.Workflows as Code: 워크플로우를 Python 코드로 작성Dynamic: 조건, 반복, 동적 태스크 생성 가능Scalable: 작은 로컬 파이프라인부터 클러스터 운영까지 확장 가능Elegant: UI를 통한 모니터링과 직관적인 DAG 시각화 제공 2. 왜 Airflow가 필요한가데이터 및 AI 프로젝트에서는 보통 다음과 같은 문제가 발생합..

Airflow 2025.08.25

[LangGraph] LLM + tool 기본구조 실습

langgraph 버전: 0.6.5langchain 버전 : 0.3.27내용 출처 : LangGrapn Docs LangGraphLangGraph Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low-level orchestration framework for building, managing, and deploying long-running, stateful agents. Get started Install LangGrlangchain-ai.github.io 1. 개요 그동안 LangGraph의 각각의 구성요소에 대해 공부해 보았습니다.이번 시간에는..

[LangGraph] MCP 연동하기

langgraph 버전: 0.6.4내용 출처 : LangGrapn Docs LangGraphLangGraph Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low-level orchestration framework for building, managing, and deploying long-running, stateful agents. Get started Install LangGrlangchain-ai.github.io 1. 개요LLM을 활용한 애플리케이션이 점점 복잡해지면서, 모델이 단일 환경에서만 동작하는 것이 아니라 다양한 외부 서비스와 멀리..

[LangGraph] Human-in-the-loop & Time Travel

langgraph 버전: 0.6.4내용 출처 : LangGrapn Docs LangGraphLangGraph Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low-level orchestration framework for building, managing, and deploying long-running, stateful agents. Get started Install LangGrlangchain-ai.github.io 1. 개요실무에서는 “AI가 알아서 다 한다”보다 중간에 사람이 개입하거나, 과거 시점으로 되돌려 재실행해야 할 순간이 많아요.L..

[LangGraph] 확장과 재사용 (Subgraph, Multi-Agent)

langgraph 버전: 0.6.4내용 출처 : LangGrapn Docs LangGraphLangGraph Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low-level orchestration framework for building, managing, and deploying long-running, stateful agents. Get started Install LangGrlangchain-ai.github.io 1. 개요LangGraph로 워크플로우를 만들다 보면 기능이 커지고 복잡해져서 유지보수가 어려워질 수 있습니다.이럴 때 모듈화와 ..

[LangGraph] 실행 흐름 제어(command, send, loop, 분기, 동적 라우팅)

langgraph 버전: 0.6.4내용 출처 : LangGrapn Docs LangGraphLangGraph Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low-level orchestration framework for building, managing, and deploying long-running, stateful agents. Get started Install LangGrlangchain-ai.github.io 1. 개요LangGraph 에서는 단순한 직선형 실행뿐만 아니라,조건 분기동적 라우팅Map-Reduce, 병렬 실행반복 실행(Lo..

[LangGraph] Persistence & Durable Execution

langgraph 버전: 0.6.4내용 출처 : LangGrapn Docs LangGraphLangGraph Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low-level orchestration framework for building, managing, and deploying long-running, stateful agents. Get started Install LangGrlangchain-ai.github.io 1. 개요LangGraph에서는 그래프 실행을 단순히 invoke()로 끝내는 대신,스트리밍으로 중간 결과를 확인하거나,실행 상태..

[LangGraph] 모델(Model)과 툴(tool)

langgraph 버전: 0.6.4내용 출처 : LangGrapn Docs LangGraphLangGraph Trusted by companies shaping the future of agents – including Klarna, Replit, Elastic, and more – LangGraph is a low-level orchestration framework for building, managing, and deploying long-running, stateful agents. Get started Install LangGrlangchain-ai.github.io 1. 개요LangGraph는 단순히 LLM을 호출하는 프레임워크가 아니라, LLM과 다양한 도구(Tool)를 결합해 복잡한 작업을..

반응형