> From: [email protected] [mailto:[email protected]] > Sent: Saturday, 25 July 2026 10.44 > From: Chengwen Feng <[email protected]> > > Currently review-patch.py only supports cloud AI providers > (Anthropic, OpenAI, xAI, Google) via REST API, requiring API keys. > > Add a --via option that invokes the locally installed opencode CLI as > the review runner instead of making HTTP calls. opencode reads > AGENTS.md from the DPDK project directory automatically, needing no > configuration beyond opencode on PATH. > > The --via and -p/--provider options are independent -- via routes to > the local agent mode while -p continues to use the cloud API path. > > Signed-off-by: Chengwen Feng <[email protected]> > > --- > v3: Rebase main to fix apply error > v2: Address comments from Stephen, including: not arise > FileNotFoundError and more clarify. > ---
I have only skimmed this, but the concept of local agent support deserves a big fat: Acked-by: Morten Brørup <[email protected]>

