Skip to content

feat: add AI2Human action provider for human-execution task dispatch#1385

Open
richard7463 wants to merge 1 commit into
coinbase:mainfrom
richard7463:feat/ai2human-action-provider
Open

feat: add AI2Human action provider for human-execution task dispatch#1385
richard7463 wants to merge 1 commit into
coinbase:mainfrom
richard7463:feat/ai2human-action-provider

Conversation

@richard7463

Copy link
Copy Markdown

Summary

Adds the AI2Human action provider — lets CDP agents dispatch reality-bound tasks to human operators with proof verification and USDC settlement. When your agent hits a step it can't complete alone (local verification, physical checks, identity actions, compliance reviews, errands), AI2Human dispatches it to a human.

Actions

Action Description
ai2human_create_task Dispatch a human-execution task
ai2human_check_task Check task status, proof verification, and settlement
ai2human_get_proof Retrieve evidence bundle and settlement receipt
ai2human_list_categories List supported task categories and proof types

Details

  • Network support: network-agnostic (supports_network returns True)
  • Dependencies: uses requests (already in AgentKit deps), no new dependencies
  • Auth: reads AI2HUMAN_API_KEY from environment (with AI2HUMAN_AGENT_KEY fallback, AI2HUMAN_BASE_URL optional)
  • Error handling: all actions return JSON error strings on failure

Usage

from coinbase_agentkit import AgentKit, AgentKitConfig, ai2human_action_provider

agent_kit = AgentKit(AgentKitConfig(
    action_providers=[ai2human_action_provider()],
))

Related

🤖 Generated with Claude Code

Dispatch reality-bound tasks to human operators with proof verification.
Supports local verification, physical checks, identity actions, document
review, compliance checks, and errands. Network-agnostic (HTTP API calls).

4 actions: create_task, check_task, get_proof, list_categories

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@richard7463
richard7463 requested a review from murrlincoln as a code owner July 22, 2026 12:27
@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 1
Sum 2

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider python labels Jul 22, 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.

3 participants