Skip to content

feat(action-providers): add HiveActionProvider for Hive Civilization x402 surfaces#1157

Open
srotzin wants to merge 1 commit intocoinbase:mainfrom
srotzin:add-hive-action-provider
Open

feat(action-providers): add HiveActionProvider for Hive Civilization x402 surfaces#1157
srotzin wants to merge 1 commit intocoinbase:mainfrom
srotzin:add-hive-action-provider

Conversation

@srotzin
Copy link
Copy Markdown

@srotzin srotzin commented Apr 29, 2026

HiveActionProvider — 50 x402-wired services on Base mainnet

This PR adds a community ActionProvider for Hive Civilization, exposing 50 x402-wired revenue surfaces to any agent built on AgentKit.

What this enables

Any agent built on AgentKit can now call Hive services with a one-liner:

import { AgentKit, hiveActionProvider } from "@coinbase/agentkit";

const agentKit = await AgentKit.from({
  walletProvider,
  actionProviders: [hiveActionProvider()]
});

Available actions:

  • hive_discover_services — free read returning the catalog
  • hive_call_service — generic paid call wrapper (handles x402 challenge/retry)
  • hive_get_treasury_info — verify before paying
  • hive_evaluator_submit_job — concrete example, $0.01 USDC

Interop notes

  • Treasury: 0x15184bf50b3d3f52b60434f8942b7d52f2eb436e (Base mainnet)
  • USDC: native, x402 spec as written in coinbase/x402
  • Conformance suite: github.com/srotzin/hive-x402-conformance (independent, NOT-AFFILIATED)
  • Public catalog: github.com/srotzin (41 MCP shims, all v1.0.0)

Hive is a partner to Coinbase, not a competitor. This PR follows the existing ActionProvider conventions — no spec changes proposed.

Testing

Each action returns deterministic responses against live endpoints. Sample receipt: rcpt_76fceca973da4ec0.

Checklist

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

@srotzin srotzin requested a review from murrlincoln as a code owner April 29, 2026 23:56
@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 example New example agent typescript labels Apr 29, 2026
@srotzin
Copy link
Copy Markdown
Author

srotzin commented Apr 29, 2026

Notification post — Hive Civilization runs an x402-native MCP fleet (52 services, 51 entries on the Anthropic MCP Registry, treasury 0x15184bf50b3d3f52b60434f8942b7d52f2eb436e on Base). HiveActionProvider gives every AgentKit user discovery + call against that fleet without a separate SDK. Happy to iterate on naming, scope, or code structure.

This was referenced Apr 30, 2026
This was referenced Apr 30, 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 example New example agent typescript

Development

Successfully merging this pull request may close these issues.

2 participants