arXiv:2607.27578v1 cs.AI

무엇이 프롬프트를 그래프로 만드는가: 프롬프트 그래프 엔지니어링을 위한 필요충분조건

What makes prompts a graph: necessary and sufficient conditions for prompt graph engineering

Sandeco Macedo

제출 2026-07-30

한국어 초록

프롬프트는 이미 오래전에 개별적인 문자열에 머무르기를 멈췄습니다. 실제 시스템에서는 하나의 모델 호출이 다른 호출로 이어지고, 검색이 생성과 교차되며, 라우터가 분기하고, 애그리게이터가 병렬 결과를 병합합니다. 실무에서는 이를 하나로 묶기 위한 단일 구조인 그래프로 수렴했습니다. LangGraph, DSPy, Prompt Flow와 같은 프레임워크는 이를 공개적으로 드러내며, 연구 시스템에서는 이미 이를 자동으로 최적화하고 있습니다. 그러나 관련 용어는 이러한 발전을 따라가지 못하고 있습니다. '그래프'는 하나의 샘플링 전략 내부의 추론 토폴로지, 다중 에이전트 대화, 오케스트레이션 아티팩트 등을 다양하게 지칭하는 반면, '프롬프트 엔지니어링'은 여전히 훌륭한 단일 문자열을 작성하는 것만을 연상시킵니다. 현재 결여된 것은 프롬프트를 명시적이고 실행 가능하며 개선 가능한 그래프의 노드로 다루는 기준 정의입니다. 본 논문에서는 주요 회색 문헌(grey literature)으로 보완되고 영구 식별자를 갖춘 출처들에 대한 개념 분석을 통해 이러한 정의를 구축합니다. 데이터플로우 그래프 및 빌드 시스템에서 시작하여 프롬프트 체이닝과 사고 토폴로지(체인, 트리, 그래프)를 거쳐, 아티팩트로서 컴파일 및 최적화되는 그래프에 이르기까지 이 아이디어의 계보를 재구성합니다. 그런 다음 프롬프트 그래프 엔지니어링의 구성적 정의를 제안하고, 4가지 조건(명시적 구조, 구조와 프롬프트 내용의 분리, 실행 가능한 시맨틱, 일급 엔지니어링 아티팩트로서의 그래프)을 명시하며, 이를 포함 및 배제 테스트로 조작화(operationalize)합니다. 또한 6가지 인접 개념과의 경계를 설정하고 6개의 실제 시스템(LangGraph, DSPy, Prompt Flow, AutoGen, CrewAI, Claude Code 하위 에이전트)에 이 테스트를 적용하여 일관되게 포함 및 배제됨을 확인합니다. 마지막으로 4가지 설계 긴장 축을 중심으로 정리된 연구 과제를 제시하며 마무리합니다. 본 연구의 기여는 업계에서 명확한 명칭 없이 이미 일상적으로 수행하고 있는 실무에 대한 조작적 정의와 공유 어휘를 제공하는 것입니다.

원문 초록

Prompts stopped being isolated strings some time ago. In real systems, one model call feeds another, retrieval interleaves with generation, routers branch, and aggregators merge parallel results. Practice converged on a single structure to hold this together: the graph. Frameworks such as LangGraph, DSPy, and Prompt Flow expose it openly, and research systems already optimize it automatically. The vocabulary, however, lags behind. Graph names, variously, a reasoning topology inside one sampling strategy, a multi-agent conversation, or an orchestration artifact, while prompt engineering still evokes writing one good string. What is missing is a reference definition treating prompts as nodes of an explicit, executable, improvable graph. We build that definition through conceptual analysis over sources with persistent identifiers, complemented by primary grey literature. We reconstruct the genealogy of the idea, from dataflow graphs and build systems, through prompt chaining and the thought topologies (chain, tree, graph), to graphs compiled and optimized as artifacts. We then propose a constitutive definition of prompt graph engineering, state its four conditions (explicit structure, separation between structure and prompt content, executable semantics, and the graph as a first-class engineering artifact), and operationalize them as an inclusion and exclusion test. We draw the boundary against six neighboring concepts and apply the test to six real systems (LangGraph, DSPy, Prompt Flow, AutoGen, CrewAI, and Claude Code subagents); it includes and excludes consistently. We close with a research agenda organized along four design tension axes. The contribution is an operational definition and a shared vocabulary for a practice that industry already exercises daily without naming precisely.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2607.27578v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.