프롬프트 엔지니어링은 여러분의 에이전트가 실제로 출시되느냐, 데모에 머무느냐를 가르는 다섯 개 레이어 중 하나입니다.
모델은 그 중심에 있고, 각 레이어는 이전 레이어보다 한 단계씩 더 넓은 시야로 확장됩니다.
프롬프트는 하나의 호출을 제어합니다. 역할, 예시, 출력 형식이죠.
컨텍스트 엔지니어링은 모델이 시작하기 전에 무엇을 알고 있는지를 제어합니다. 윈도우는 금방 채워지기 때문에, 작업 대부분은 그 안에 무엇을 담을 자격이 있는지를 결정하는 일입니다.
하네스 엔지니어링은 모델을 둘러싼 코드로, 모델이 무엇을 할 수 있는지를 결정합니다. 도구, 재시도, 검증, 라우팅, 서브 에이전트가 여기 해당합니다.
루프 엔지니어링은 외부 루프를 시스템 안으로 옮겨 여러분 없이도 작업이 계속되게 합니다. 그러면 종료 조건을 정하는 일이 가장 어려운 부분이 됩니다.
그래프 엔지니어링은 최상위 레이어로, 에이전트 조직 전체가 실행 도중 서로 조율하고 스스로 구조를 재편하는 단계입니다.
프롬프트 위의 네 레이어를 마스터하면, 더 이상 데모만 만들지 않게 됩니다.
이 지도를 저장해 두고, 아래 가이드를 읽어보세요.
그래프 엔지니어링 101: 루프만으로는 부족할 때
여러분의 에이전트는 단순한 에이전트 루프 안에서 LLM을 호출합니다. 추론하고, 행동을 선택하고, 결과를 관찰한 뒤 다시 반복합니다.
이 패턴은 작업 중간에 사람의 승인이 필요해지기 전까지 유효합니다, 그리고...


원문 보기
이 글은 원문을 한국어로 옮긴 것입니다. 아래는 번역 전 원문입니다.
원문 제목
Prompt engineering is one of five layers that decide whether…
원문 본문
Prompt engineering is one of five layers that decide whether your agent ships or stays a demo.
The model sits in the middle, and each layer zooms one level further out than the last.
The prompt controls a single call: the role, the examples, the output format.
Context engineering controls what the model knows before it starts, since the window fills fast and most of the work is deciding what earns a place in it.
Harness engineering is the code around the model that decides what it can do: tools, retries, validation, routing, sub-agents.
Loop engineering moves the outer loop into the system so the work continues without you, which turns the exit condition into the hard part.
Graph engineering is the top layer, where a whole organization of agents coordinates and restructures itself mid-run.
Master the four layers above the prompt, and you stop shipping demos.
Save the map, then read the guide below.
Graph Engineering 101: When a Loop Isn’t Enough
Your agent calls an LLM in a simple agent loop. It reasons, picks an action, observes the result, and goes around again.
That pattern works until the task needs a human approval halfway through, a...

