Skip to content

feat(typescript): add M2M Sentinel action provider for Base bytecode & proxy observations - #1447

Open
AntoineSakkalis wants to merge 1 commit into
coinbase:mainfrom
AntoineSakkalis:add-m2m-sentinel-action-provider
Open

feat(typescript): add M2M Sentinel action provider for Base bytecode & proxy observations#1447
AntoineSakkalis wants to merge 1 commit into
coinbase:mainfrom
AntoineSakkalis:add-m2m-sentinel-action-provider

Conversation

@AntoineSakkalis

@AntoineSakkalis AntoineSakkalis commented Aug 15, 2026

Copy link
Copy Markdown

Summary

Adds the M2M Sentinel Action Provider to @coinbase/agentkit (TypeScript) to equip autonomous AI agents with deterministic preflight smart contract bytecode capability inspection, proxy resolution, and market telemetry on Base Mainnet (chainId: 8453) in <35ms.


Key Capabilities

  • Proxy Resolution: Resolves EIP-1967, UUPS, and Beacon proxy implementation slots before agents interact with unverified contracts.
  • Bytecode Capability Checks: Inspects target contracts for pause/freeze controls, token mint selectors, and opcode traps.
  • Base Gas & Price Telemetry: Median pool pricing across Base DEXes and priority gas suggestions.
  • Deterministic EVM Truth: Pure bytecode observations with explicit unknown states (notASafetyGuarantee: true).

Actions Provided

  1. audit_contract: Inspect target Base contract bytecode capability observations, proxy implementation slots, and limitations (address: string).
  2. get_gas_metrics: Get real-time Base network gas execution metrics and priority fee recommendations.
  3. get_token_price: Observe real-time Base DEX token prices for slippage checks and preflight valuation (symbol: string).
  4. get_service_status: Check operational status and trust quorum of M2M Sentinel verification rails.

Resources & Upstream Links


Test Plan

  • Added Vitest unit tests in m2mSentinelActionProvider.test.ts covering network validation (Base mainnet 8453 and Base Sepolia 84532) and action execution mocks.
  • Tested end-to-end against live Base Mainnet RPC and M2M Sentinel production gateway.

Copilot AI lite review requested due to automatic review settings August 15, 2026 12:03
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider typescript labels Aug 15, 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 typescript

Development

Successfully merging this pull request may close these issues.

3 participants