feat(agentkit): add TaskMarket action provider - #1415
Open
brok-best wants to merge 1 commit into
Open
Conversation
Read-only discovery and delegation helpers for TaskMarket (Base USDC tasks): list_open_tasks, get_task, suggest_delegation. No private keys or auto-spend.
🟡 Heimdall Review Status
|
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.
Summary
Adds a TaskMarket action provider so AgentKit agents can discover USDC-escrowed work on Base and decide when to offer external delegation instead of burning local inference.
Actions
list_open_tasks— browse open TaskMarket tasks (reward, competition, deadline)get_task— fetch one task by 0x idsuggest_delegation— recommend offer_taskmarket / do_locally / need_user_budgetSafety
Why
TaskMarket is a natural complement to existing wallet + x402 providers: agents already decide when to spend; this surfaces when work should be delegated to escrowed workers.
Docs: https://taskmarket.dev/ · https://docs.taskmarket.dev/
Test plan
cd typescript/agentkit && yarn test taskmarket(CI)taskmarketActionProvider()and calllist_open_tasks