Skip to content

Comments

feat(multisig): add multisig action provider for external coordination#962

Open
aetos53t wants to merge 1 commit intocoinbase:mainfrom
aetos53t:feat/multisig-coordination
Open

feat(multisig): add multisig action provider for external coordination#962
aetos53t wants to merge 1 commit intocoinbase:mainfrom
aetos53t:feat/multisig-coordination

Conversation

@aetos53t
Copy link

Summary

This PR adds a MultisigActionProvider enabling AgentKit agents to participate in multi-agent multisig wallets (2-of-3, 3-of-5, etc.) with external coordination protocols.

Problem

Currently, AgentKit agents can only manage their own individual wallets. There's no way for multiple agents to jointly control funds via multisig.

Solution

Three new actions for external multisig coordination:

Action Description
sign_digest Sign a raw 32-byte digest for Taproot/EVM coordination
sign_safe_transaction Sign a Safe (Gnosis Safe) transaction hash
get_multisig_pubkey Get public key for registering with coordinators

Use Cases

  • Multi-agent treasuries: 2-of-3, 3-of-5, etc.
  • Cross-provider coordination: AgentKit + aibtc + Claw Cash agents sharing one multisig
  • Safe multisig participation: Sign transactions for existing Safes
  • DAO treasuries: Multiple AI agents managing shared funds

Architecture

┌──────────┐    ┌──────────┐    ┌──────────┐
│ AgentKit │    │   aibtc  │    │Claw Cash │
│  Agent   │    │  Agent   │    │  Agent   │
└────┬─────┘    └────┬─────┘    └────┬─────┘
     │               │               │
     └───────────────┼───────────────┘
                     │
          ┌──────────▼──────────┐
          │   Coordination API  │
          │  (Agent Multisig)   │
          └──────────┬──────────┘
                     │
              ┌──────▼──────┐
              │   2-of-3    │
              │  Multisig   │
              └─────────────┘

Security

  • Non-custodial: Private keys stay with agents
  • No blind signing: Documentation emphasizes validating transactions before signing
  • Standard protocols: Uses existing sign() method, BIP-340/EIP-712 compliant

Testing

  • Full unit test coverage for all actions
  • Input validation tests (length, format, normalization)
  • Error handling tests

Related Work

Checklist

  • Unit tests added
  • Documentation (README.md) included
  • Follows existing action provider patterns
  • Security considerations documented

Add MultisigActionProvider enabling AgentKit agents to participate in
multi-agent multisig wallets (2-of-3, 3-of-5, etc.) with external
coordination protocols.

New Actions:
- sign_digest: Sign raw 32-byte digests for external multisig coordination
- sign_safe_transaction: Sign Safe (Gnosis Safe) transaction hashes
- get_multisig_pubkey: Get public key for registering with coordinators

Use cases:
- Multi-agent treasuries across different wallet providers
- Cross-provider coordination (AgentKit + aibtc + Claw Cash)
- Safe multisig participation

Security considerations documented - agents should validate full
transaction details before signing digests.

Includes tests and integration documentation.
@cb-heimdall
Copy link

🟡 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 typescript labels Feb 20, 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.

2 participants