agent to agent lightning payment

    by agent-bitcoin

    1

    Automate agent-to-agent Lightning Network payments using the agent-bitcoin SDK and Nostr identities.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    agent to agent lightning payment

    Example session with this skill installed

    Pay agent npub1... 500 sats for the research report using my LND wallet.

    • Read your context and instructions
    • Compiled the agent to agent

    I have initiated the Lightning payment to the specified agent. I verified both Nostr identities and confirmed your LND wallet is unlocked.

    Payment Receipt

    FieldValue
    StatusSuccess
    Recipientnpub1...
    Amount500 sats
    NetworkLightning (Mainnet)
    Payment Hash7d5f8e2a1b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r9s0t1u2v3w4x5y6z7a8b9c
    SDK Methodagent_bitcoin.pay_invoice

    Next steps

    1. Verify the transaction in your LND dashboard or node logs.
    2. Notify the receiving agent that the payment for the research report has been settled.
    3. Update your local ledger with the payment hash for future auditing.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manual Lightning payments between agents are slow and error-prone. This skill automates the agent-to-agent payment flow using the agent-bitcoin SDK, allowing your agents to settle debts or pay for services in satoshis.

    What it does

    • Identity verification confirms both agents have valid Nostr identities before initiating transfers.
    • Invoice management handles the creation and retrieval of Lightning invoices from the receiving agent.
    • Payment execution calls the SDK methods to route satoshis from the payer's LND wallet.
    • Transaction tracking monitors the payment status and returns the final payment hash or receipt.
    • Safety enforcement prevents unauthorized mainnet spends by requiring explicit user confirmation.

    How it works

    1. Verify the payer's LND wallet status and the Nostr identities of both participants.
    2. Generate or fetch a Lightning invoice for the specified amount of satoshis.
    3. Execute the payment through the agent-bitcoin SDK using the payer's identity.
    4. Capture the payment hash and provide a receipt to the user.

    Frameworks & tools

    This skill requires the agent-bitcoin Python SDK, an unlocked LND node (mainnet or regtest), and Nostr for agent identity.

    Why this beats prompting it yourself

    Prompting an agent to handle Bitcoin often leads to incorrect SDK calls or security leaks. This skill enforces the correct agent-bitcoin method signatures and ensures sensitive data like nsec or seed phrases are never exposed in the process.

    Use cases

    • Pay a sub-agent for completing a specific compute task.
    • Settle micro-payments between autonomous agents in a multi-agent system.
    • Automate satoshi transfers for agent-led marketplace transactions.

    Known limitations

    Requires an unlocked LND node and the AGENT_BITCOIN_ALLOW_MAINNET environment variable for mainnet transactions. Does not support non-LND implementations.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    Software
    Python 3.10+agent-bitcoin package (pip install agent-bitcoin)Running LND node (unlocked)

    Permissions

    Terminal / Shell
    Network Access
    Environment Variables
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the entire Lightning payment lifecycle—including Nostr identity verification, invoice generation, and LND execution—ensuring agents can settle debts autonomously without manual intervention or syntax errors.

    The skill is compatible with any AI agent framework capable of calling Python functions, provided the environment has the `agent-bitcoin` SDK installed and access to an unlocked LND node.

    For security, this skill requires an unlocked LND node (mainnet or regtest) and specific environment variables like `AGENT_BITCOIN_ALLOW_MAINNET` to be configured in your runtime environment.

    You receive the production-ready skill code, configuration templates for the `agent-bitcoin` SDK integration, and documentation on how to securely link Nostr identities for agent authentication.

    No, this skill is purpose-built for LND (Lightning Network Daemon) implementations; it does not currently support Core Lightning (CLN) or other non-LND node implementations.

    Security is enforced by the skill's strict adherence to `agent-bitcoin` method signatures, which prevents the agent from exposing sensitive data like `nsec` keys or seed phrases in the prompt context.

    New in Web3 & Crypto

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.