feat: add Taskmarket action provider - #1441
Open
ZachDreamZ wants to merge 1 commit into
Open
Conversation
Lets AgentKit agents browse Taskmarket, preview a Base (8453) create-task spend, create only after explicit user authorization via the official CLI, and present submissions for human review. Creates never auto-retry when settlement is unknown and the provider never accepts or rejects work.
🟡 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
taskmarketActionProviderso an AgentKit agent can treat Taskmarket as a delegated worker market on Base mainnet (chain 8453).Taskmarket is a competitive on-chain job market. This provider lets an agent notice when a request is better handled by external workers, show the user the exact spend, and only then create a task through the official Taskmarket CLI (no private keys in AgentKit).
Why this belongs in AgentKit
AgentKit already has wallets, spend limits, and x402. Taskmarket is the missing delegation surface: when inference is the wrong tool, the agent can propose paying a worker on Base instead of looping.
Coinbase AgentKit is listed as a first-party integration target in Taskmarket's own integration bounties. The repo has no existing Taskmarket provider.
User flow
list_taskmarket_tasks/get_taskmarket_task— public REST, read-only, no spend.preview_taskmarket_task— shows description, deliverables, gross reward, 7.5% platform fee, duration, mode, Base / chain 8453, andmaxSpendUsdc. Issues a confirmation token. Does not create or fund.create_taskmarket_task— requires the matching confirmation token andiAuthorizeSpend: true. Callstaskmarket task create. Reward must be<= maxSpendUsdc.list_taskmarket_submissions— presents work for human review. There is no accept/reject action.Safety
maxSpendUsdcis0(creates blocked until the operator sets a cap).Tests
New unit tests cover browse, preview, unauthorized create, token mismatch, authorized create via mocked CLI, unknown-settlement no-retry, duplicate create, human-review-only submissions, and Base-only
supportsNetwork.Demo
Live public API used by the provider (2026-08-13T23:15Z):
returned three open bounties. See
typescript/agentkit/src/action-providers/taskmarket/DEMO.mdandREADME.md.Setup
Docs
Notes for maintainers