Governor is a VS Code and Cursor extension that puts a dollar budget on multi-step AI work.
Before each model call, the local service counts input tokens, reserves the maximum cost, and caps the output to fit the remaining budget. After the call, it settles the provider-reported usage. If a request cannot fit, it stops before dispatch.
The extension shows settled spend, reservations, and remaining budget inside the editor. You can send a prompt or selected code, reopen saved responses, and run a test-repair workflow with a diff to review before applying changes. The extension and CLI use the same TypeScript core and local Express API.
The sample uses scripted responses and synthetic usage, so it runs without a key or charge. Live prompts require an OpenAI API key. The extension is on the VS Code Marketplace; the GitHub repo contains the current source and setup instructions.
Built at the Ramp Hackathon in New York City on July 18, 2026 by Thomas Ou, Aarav, Aryan, and Azdeen. The repository also includes development after the hackathon.