Duy Đức Nguyễn’s Graph Agent Protocol gateway groups tools so an agent can look up relevant capabilities. Jev is an optional reranker: the gateway searches first, builds a shortlist and asks the model which groups fit the request. Execution and authorization stay with the gateway.
Give the model a shortlist and a way to abstain
- The discovery service retrieves groups and builds its menu under the request’s visibility and side-effect constraints. The Jev adapter sends a choice question about those groups, with an
insufficient_evidenceoption supplied by the discovery code. - The adapter matches the returned probabilities to the original option keys. A well-formed answer can still rank the wrong group. It also cannot bring back a relevant group that the shortlist omitted.
Keep a local ranker on the discovery path
- The discovery service switches to its local baseline ranker when the provider errors or returns the wrong number of scores. If compatible calibration is required but unavailable, it uses the baseline without calling the model.
- The ranking only affects what discovery suggests. The project’s design memo keeps model providers off the execution and authorization paths.
Caveat: We inspected the adapter, server wiring and tests without running the gateway. The inspected Jev tests use canned HTTP responses, so they demonstrate the expected interface, not live routing quality.