# 첫 번째 flow

> 첫 번째 flow를 생성하고, templates로 프롬프트를 재사용하며, agents가 작업하는 동안 이를 추적하고 안내한 후, 마지막에 report를 다운로드하세요.

**Flow**는 PentAGI의 한 번의 실행이에요. 여기에는 목표, 사용자의 메시지에서 생성된 [tasks](https://pentagi.com/ko/docs/glossary/#task), 그리고 [agents](https://pentagi.com/ko/docs/glossary/#agent)가 수행한 모든 내용이 포함돼요.

## [Flow 생성하기](https://pentagi.com/ko/docs/getting-started/first-flow/#create-a-flow)

![새 flow 양식](https://pentagi.com/images/product/new-flow.webp)

1. 사이드바에서 **Flows**를 열고 **New Flow**를 클릭해요.
2. 모드를 선택해요:

   * **Automation** — PentAGI가 목표를 처음부터 끝까지 스스로 수행해요.
   * **Assistant** — 사용자가 단계별로 이끌어 가는 대화예요. **Use Agents**를 켜면 [assistant](https://pentagi.com/ko/docs/glossary/#assistant)가 [subtasks](https://pentagi.com/ko/docs/glossary/#subtask)를 전문 agents에게 위임할 수 있어요.
3. 이 [flow](https://pentagi.com/ko/docs/glossary/#flow)에 사용할 LLM [provider](https://pentagi.com/ko/docs/glossary/#provider)를 선택해요.
4. 자연어로 대상과 목표를 설명해요.

좋은 첫 프롬프트는 대상, 평가 유형, 범위 제한 및 예상 결과를 명시해야 해요:

```text
Assess https://target.example for common web application vulnerabilities.
Focus on authentication, file handling, and injection issues. Stay within the
provided target only and summarize confirmed findings with reproduction steps.
```

> [!WARNING]
> 소유하고 있거나 명시적으로 평가 권한을 부여받은 시스템만 테스트하세요.

## [Templates로 프롬프트 재사용하기](https://pentagi.com/ko/docs/getting-started/first-flow/#reuse-prompts-with-templates)

새 flow 양식에는 **Templates**에 저장된 [template](https://pentagi.com/ko/docs/glossary/#template)에서 메시지를 미리 채워 넣는 template 선택기가 있어요. Templates는 일반 자연어이며 특별한 구문은 필요하지 않아요.

## [작업 진행 상황 확인하기](https://pentagi.com/ko/docs/getting-started/first-flow/#follow-the-work)

PentAGI는 flow가 시작되자마자 flow 페이지를 열어요:

* **Automation**은 agents의 메시지와 진행 상황을 표시하고, **Assistant**는 동일한 [tools](https://pentagi.com/ko/docs/glossary/#tool)를 사용하는 채팅이며, **Dashboard**는 모델, [agent type](https://pentagi.com/ko/docs/glossary/#agent-type) 및 기능별 사용량을 분석해 줘요.
* **Tasks**에는 계획이 나열되어 있으며 상태와 함께 tasks 및 subtasks를 보여줘요.
* **Terminal**은 [sandbox](https://pentagi.com/ko/docs/glossary/#sandbox)의 모든 명령과 출력을 스트리밍해요.
* **Agents**, **Searches**, **Vector Store**는 위임, 웹 조사 및 [memory](https://pentagi.com/ko/docs/glossary/#memory) 조회를 표시해요.
* **Files**에는 업로드, 첨부 리소스 및 컨테이너에서 가져온 파일이 보관되며, **Screenshots**에는 agents가 연 페이지의 스크린샷이 저장돼요.

![실행 중인 flow: 왼쪽에는 agent 메시지, 오른쪽에는 tasks 및 subtasks 계획](https://pentagi.com/images/product/flow-tasks.webp)

![Terminal 탭에 표시된 sandbox의 모든 명령과 출력](https://pentagi.com/images/product/flow-terminal.webp)

## [실행 중인 flow 조정하기](https://pentagi.com/ko/docs/getting-started/first-flow/#steer-a-running-flow)

동일한 flow의 **Assistant** 뷰를 열어 상태를 확인하고, 현재 task를 중지하거나, 후속 지시를 보내거나, 남은 계획된 subtasks를 조정할 수 있어요. 이때 flow를 다시 시작할 필요는 없어요.

## [Report 받기](https://pentagi.com/ko/docs/getting-started/first-flow/#get-the-report)

Flow 페이지의 **Report** 메뉴를 사용하여 웹에서 [report](https://pentagi.com/ko/docs/glossary/#report)를 열거나, 복사하거나, Markdown 또는 PDF로 다운로드해요.

> [!NOTE]
> 좁은 대상과 단일 명확한 목표로 시작하세요. 짧고 집중된 flows는 검토하기 쉬우며 대규모 flows 전에 프롬프트를 다듬는 데 도움이 돼요.