Skip to content

feat: add read-only Taskmarket provider - #1416

Open
PolarJunction wants to merge 2 commits into
coinbase:mainfrom
PolarJunction:feat/taskmarket-readonly-provider
Open

feat: add read-only Taskmarket provider#1416
PolarJunction wants to merge 2 commits into
coinbase:mainfrom
PolarJunction:feat/taskmarket-readonly-provider

Conversation

@PolarJunction

Copy link
Copy Markdown

Description

Adds a strictly read-only Taskmarket action provider to the Python coinbase-agentkit package.

The provider exposes two actions:

  • list_tasks discovers public funded work using bounded filters.
  • get_task inspects one validated task identifier.

The implementation uses the fixed public origin https://api.taskmarket.dev/api, disables redirects, requires HTTP 200 responses, converts six-decimal USDC base units into decimal strings, and labels requester-supplied descriptions as untrusted content. Minimum-reward filters reject precision beyond six decimal places rather than silently weakening the requested threshold.

The provider cannot create or connect a wallet, sign transactions, claim or bid on tasks, submit work, accept terms or spend funds. The colocated README also discloses inherited AgentKit action analytics.

This contribution was prepared with AI assistance and independently reviewed. No generated merge, acceptance or payment claim is made.

Tests

No wallet, chatbot or blockchain network is required because both actions are read-only calls to Taskmarket's public API.

Validated locally:

  • 7 focused Taskmarket tests passed.
  • Full Python package suite: 670 passed, 35 deselected.
  • Ruff format and lint checks passed.
  • Strict mypy checks passed for the provider, schemas and tests.
  • git diff --cached --check passed before the signed commit.
  • A live read-only public API call successfully listed and inspected funded work.
  • An independent fail-closed review passed after redirect handling and USDC-precision findings from the first review were fixed.

Example import:

from coinbase_agentkit import taskmarket_action_provider

provider = taskmarket_action_provider()

Checklist

  • Added documentation to all relevant README.md files
  • Added a changelog entry

@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider python labels Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation python

Development

Successfully merging this pull request may close these issues.

2 participants