OAuth is excellent for "let this app act for this user." It's a poor fit for "let this agent spend up to $20 reading these repos for an hour, and let it sub-delegate."
OAuth 2.0 issues access tokens after a consent flow, scoped by coarse scopes and validated (often) by a call to the provider. It's the right tool for delegated user access to an API. Nothing about it is wrong — it just wasn't designed for autonomous, money-spending, self-delegating programs.
Warrants are built around exactly these. You can use OAuth to authenticate the human/app that issues warrants, then hand agents warrants for the actual work.
Free to self-host. 10,000 free decisions on the hosted gateway — no card.
Get an API key Read the docs