問題文
An agent currently exposes four tools. The roadmap adds roughly two tools per month for the next year, contributed by different teams. The architect wants additions to avoid edits to the agent's own code. Which design property should be established now?
選択肢
- The agent should hard-code the list of tool names so the set stays reviewable.
- All future tools should be implemented as branches inside one large tool that takes an operation name as its first argument, so that the agent only ever needs to know about a single tool and its interface therefore never has to change as the roadmap is delivered.
- Tools should be registered from their own declarations, so the agent discovers what is available instead of naming each tool internally.
- Every contributing team should fork the agent and maintain its own copy with the tools it needs, which keeps each team independent of the others.