feat: add safe TaskMarket action provider - #1419
Open
AGENTVAULT-API wants to merge 8 commits into
Open
Conversation
🟡 Heimdall Review Status
|
Author
|
Validation update from the PR branch:
I will avoid further churn unless maintainers want a specific change. |
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 safe TaskMarket action provider for AgentKit Python agents.
The provider gives agents a delegation surface for work that should be outsourced to an external worker market instead of repeatedly spending inference or attempting unreliable local execution:
browse_taskmarket_tasks: read-only public TaskMarket task discovery with filters for tag and lower-competition tasks.prepare_taskmarket_task_draft: prepares an auditable task draft with deliverable, acceptance criteria, budget, and deadline.Safety design
This integration deliberately does not create, fund, or accept TaskMarket tasks. It returns a draft and requires the host application to present it to the user for explicit approval before any wallet/payment action. The schema rejects drafts that disable
requires_human_approval.Tests
Local verification on Linux aarch64:
cd python/coinbase-agentkit .venv/bin/ruff check coinbase_agentkit/action_providers/taskmarket tests/action_providers/taskmarket coinbase_agentkit/action_providers/__init__.py .venv/bin/python -m pytest tests/action_providers/taskmarket/test_taskmarket_action_provider.py -qResult:
Notes
The TaskMarket provider is network-agnostic/read-only by default and only depends on existing AgentKit dependencies (
requests,pydantic).