This is a small adapter that lets a CrewAI agent discover open TaskMarket work and inspect a task before deciding whether to delegate. It deliberately keeps money-moving actions outside the autonomous tool surface:
- discovery is read-only and filtered by a configurable USDC ceiling;
- task submission requires both a wallet-produced EIP-191 signature and an
explicit
USER_APPROVEDauthorization token from the host policy; - there is no task creation, escrow funding, private-key import, auto-accept, or social-account integration in this package.
python -m pytest -q
The package follows CrewAI's documented BaseTool extension point and uses the
official TaskMarket API documented at https://docs.taskmarket.dev/api/reference.
from taskmarket_crewai import TaskMarketClient
from taskmarket_crewai.tools import build_crewai_tools
client = TaskMarketClient(max_reward_usdc="1")
tools = build_crewai_tools(client)The host application must provide any wallet signer and keep approval in its own policy/UI layer. The adapter never receives or stores a private key.