Repository navigation
feat(agentkit): add Bursar action provider - #1554
Open
bursarworld wants to merge 3 commits into
Open
bursarworld wants to merge 3 commits into
bursarworld wants to merge 3 commits into
Conversation
🟡 Heimdall Review Status
|
bursarworld
force-pushed
the
add-bursar-action-provider
branch
from
October 11, 2026 15:16
a8aafa4 to
e338dc2
Compare
Author
|
Brought the branch up to date with The provider adds four actions over one Bursar mandate ( @phdargen @murrlincoln could one of you take a look? Glad to make any changes. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a Bursar action provider. A Bursar mandate is a contract on Robinhood Chain (chain id 4663) that holds USDG and the limits an agent spends inside: per call, per day, per month, which providers, which capabilities, and the amount above which the principal has to sign. The provider exposes four actions over one mandate:
inspect,quote,payandsettlements. The wallet provider AgentKit holds is the mandate's agent; spends go out through itssendTransaction, so CDP, Privy and viem wallets all work. The money is the mandate's, never the wallet's.Built on
@bursar/toolset, which carries the Bursar SDK. The toolset ships as ES modules and is loaded with a dynamicimport()from this CommonJS build, so the package's module format does not change; the toolset itself runs on Node 22 or newer. AgentKit pins viem 2.47 and the toolset 2.56: the wallet client crosses that boundary with one typed cast, explained in the code. Robinhood Chain only. Docs: https://bursar.world.Tests
Unit tests with a mocked toolset (
src/action-providers/bursar/bursarActionProvider.test.ts):pnpm build,pnpm test,pnpm lintandpnpm format:checkpass intypescript/agentkit.The same four actions, over the same toolset with an AgentKit wallet provider holding the agent key, paid a provider from the example mandate on Robinhood Chain mainnet:
Checklist
src/action-providers/bursar/README.md).changeset/bursar-action-provider.md)