This chapter looks at the core flow from receiving a photo to publishing it on the menu. The flow presented by the speakers does not give everything to one agent. It separates the role that understands the image and chooses its route, the role that edits the image, the role that checks the result, and the final check that can stop publication.
全体像:判断を分けて安全に進める
Overview: Move forward safely by separating decisions
The basic data path is as follows. The system understands the photo, uses that result to choose a route, edits it only when needed, and sends it through quality checks before publication. If an intermediate check fails, the system does not continue without limit until it succeeds; it moves to a path that handles the failure.
First, an image-understanding and routing agent looks at the photo. This agent creates a description from multimodal input. Here, multimodal means handling different kinds of information together, such as an image. The presentation says that a large language model (LLM) creates the description and that the description is converted into structured output.
流れを細かく書くと、次の三段階です。
The process can be written as three stages.
写真を入力します。
LLMが画像の内容を説明し、その説明を決められた形式の構造化データにします。
そのデータを使って、写真を改善に送るか、改善をスキップするかを選びます。
Provide the photo.
The LLM describes the image content and turns the description into structured data in a defined format.
Use that data to choose whether to send the photo for enhancement or skip enhancement.
This separation creates an important boundary. Describing or evaluating the image is not the same as deciding which process to call next. The router does not act on the description as plain text; it uses structured information and decision criteria to choose an operational branch. The presentation does not specify the fields in this structured data or the decision values.
2. スキップは失敗ではなく、原画像を守る選択
2. Skipping is a choice to protect the original, not a failure
When the system decides that a photo does not need improvement, it does not send it to the editor and keeps the original. This is not a failure to improve it. It is a choice that prioritizes safety and faithfulness to the original: it avoids unnecessary compute and also avoids the risk of making an already good image worse through editing.
For example, if a sufficiently clear food photo is mistakenly sent down the enhancement path, compute may increase without improving quality. Editing could also damage the original quality or the way the food appears. For this reason, the router's decision itself must be evaluated.
Figure: The “Agent Orchestration” diagram shows image input passing through image understanding and routing, then moving to either an enhancement path or a skip path. The enhanced result goes through generation and QA feedback. The visible endpoints are “LLM QA” and “Final Scoring / QA”; the diagram does not explicitly show an editing-agent label, a no-publication failure branch, or publication to the menu. See the video around 5:55 for details.
3. 編集とQAの自己修正ループ
3. The self-correction loop between editing and QA
For a photo that enters the enhancement path, an editing agent creates a result. QA checks that result and sends feedback back to the editing agent when there is a problem. The editing agent can use the initial inputs and this feedback to edit the image again. In other words, editing is not a fixed one-time operation; it is a loop in which the agent uses the check result to correct itself.
このループには、次の二つの結果があります。
This loop has two outcomes.
QAに合格すれば、結果は次の公開前確認へ進みます。
何度試しても失敗する場合は、写真を公開しません。
If QA passes, the result moves to the next pre-publication check.
If it continues to fail after repeated attempts, the system does not publish the photo.
The second outcome follows the fail-closed idea. When the enhancement result cannot be confirmed as safe, the system does not force a new image; it chooses the non-publication side. The presentation indicates that editing can be repeated up to a limit, but it does not give the number. Even if this slightly reduces the range of photos that can be enhanced, the system prioritizes not publishing a problematic result.
After editing and intermediate QA, there is also final post-processing and QA. This check is the last gate that decides whether the photo may be shown on the menu. Therefore, passing intermediate QA and being ready for final publication are not the same thing.
The important point is not to combine stage-specific QA into one large decision. Routing checks whether the system chose the appropriate destination. QA during editing provides feedback for correcting the generated result. Final QA checks the post-processed result before publication. Each stage has a role in finding different failures.
The example in the presentation is a representative, simplified orchestration, not a complete view of the production system. Therefore, the specific schema, prompts, thresholds, and iteration limit cannot be inferred from it. The reliable design claim is that image understanding, routing, editing, QA, and a final publication gate are connected, and that publication is stopped safely when a failure occurs.
まとめ
Summary
画像理解が写真を説明し、ルーターが改善またはスキップを選びます。
スキップ時は原画像を残し、不要な編集によるコストと品質低下を避けます。
編集結果はQAフィードバックを受けて、上限内で自己修正します。
繰り返し失敗した結果は公開せず、最後に別のポスト処理QAでメニューへの公開を確認します。
Image understanding describes the photo, and the router chooses enhancement or skipping.
When the system skips enhancement, it keeps the original and avoids the cost and quality loss of unnecessary editing.
The edited result receives QA feedback and self-corrects within a limit.
A result that repeatedly fails is not published, and a separate final post-processing QA check confirms publication to the menu.