This chapter considers how much freedom an image-processing agent should have. The speakers contrast fully specified rules with a creative, agency-rich agent. They propose using the agent's flexibility while constraining its behavior with safety and other guardrails.
At one end is a deterministic, rules-based system. People specify in detail what the system should do under each condition, so its behavior is easy to control. However, in a production marketplace with many kinds of inputs, every new exception requires another rule. The result can become brittle: it may fail to handle cases that are only slightly different.
At the other end is an agent with creativity and agency. An agent can reason about an image-specific situation without requiring people to list every possible case in advance. That flexibility helps it handle varied inputs. However, the greater its freedom of action, the greater the possibility of unintended edits or unsafe decisions.
As a supplement, this is not a comparison in which rules are correct and agents are wrong. Rules are controllable, but they become vulnerable to exceptions as the system grows. Agents are flexible, but their results become harder to predict. The speakers are not saying to always choose one side. They are presenting a design framing: find the balance that fits the goal.
Here, a guardrail is not a replacement for the agent's reasoning or creativity with another set of fixed rules. It is a mechanism that makes clear what the agent may and may not do. For example, the boundaries may require it not to add content that was absent from the original image, not to publish an unsafe result, and to stop a result that fails the required quality. The speakers do not provide the concrete implementation or numeric thresholds.
例:柔軟性を残したまま制約する
Example: constrain the system while keeping flexibility
説明用の例で、この考え方を整理します。
Here is an explanatory example that organizes the idea.
Suppose a rules-based process says, ‘Always brighten a dark image.’ With diverse images that differ greatly in brightness, it becomes hard to handle exceptions, such as preserving the atmosphere of a dish.
Even if an agent is allowed to improve an image freely, set boundaries that require it to preserve the original dish and the merchant's characteristics and to satisfy safety conditions. Inside those boundaries, the agent can choose an improvement suited to the image.
In this case, the eval must not reward only whether the appearance changed. It must recognize useful quality improvement while detecting unsafe or unfaithful results.
Therefore, an agent evaluation is insufficient if it measures only how freely the agent acted or only whether it broke no rules. The evaluation checks whether the image was genuinely improved, while also checking safety, faithfulness to the original image, and preservation of the merchant's and dish's characteristics. In other words, it measures both the ability to produce a good result and the ability to respect boundaries that must not be crossed. This is why the routing and editing evaluations in later chapters need guardrails.
Figure: A spectrum with control and flexibility at its two ends. Near the middle is a checked target representing high agency and safe generalization. The slide shows that the speakers seek high agency with safety between a controllable but brittle side and a creative, agentic side. It is a design idea, not a formal benchmark or a specific architecture. Relevant part of the talk (4:53)
In a large-scale image service, fully manual rules can lose flexibility, while a completely free agent may lose safety or faithfulness. The solution is to use the agent's judgment while evaluating both quality and safety. Guardrails are not the enemy of flexibility. They are the boundaries that make flexibility usable in production.