npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

aether-agent-sdk

v3.0.2

Published

Autonomous Agent Ecosystem SDK for Solana - A2A Protocol, x402 Payment Standard, and Agent-to-Agent Communication

Downloads

1,701

Readme

Aether

Autonomous Agent Ecosystem SDK for Solana

License: MIT TypeScript Solana Token

🪙 $ATHR Token: Trade on Pump.fun →

Aether is a production-ready SDK for building autonomous agent-to-agent systems on Solana. It integrates the x402 Payment Protocol to enable intelligent agent communication and micropayment settlement.


🌟 Vision

Aether enables autonomous AI agents to orchestrate complex workflows on Solana—negotiating contracts, processing micropayments, and making intelligent decisions—all without human intervention.

Core Capabilities

  • x402 Protocol - HTTP 402 payment standard for autonomous API payments
  • Solana Integration - High-speed, low-cost blockchain infrastructure
  • A2A Protocol - Standardized agent-to-agent communication
  • USDC Payments - Stable, predictable pricing for agent services

🎯 Features

Autonomous Workflows

  • Agent Negotiation: Autonomous term negotiation between agents
  • Intelligent Verification: LLM-powered decision making
  • Automated Settlement: x402-based micropayments in milliseconds
  • Zero Human Intervention: Fully autonomous agent transactions

Solana Performance

  • 400ms Finality: Lightning-fast transaction confirmation
  • $0.00025 Transaction Costs: Economical micropayments
  • Native USDC: Stable pricing without volatility
  • SPL Token Support: Extensible payment infrastructure

Agent Framework

  • SettlementAgent: Executes x402 payments and settlement on-chain
  • x402 Facilitator: Payment verification and USDC transfers
  • Protocol Support: A2A and AP2 protocol implementations

📦 Installation

npm install aether-agent-sdk

🚀 Quick Start

import { SettlementAgent } from 'aether-agent-sdk'

const agent = new SettlementAgent()
await agent.init()

const paymentHeader = await agent.createSignedPayment(
  'merchant_wallet_address',
  1.0
)

📚 Documentation


🎬 Demo

See the complete working demo with AI weather agents:

👉 github.com/AETHER-SDK/aether-sdk-demo

The demo shows:

  • x402 payment-gated weather API
  • AI-powered customer agent
  • Real USDC settlements on Solana
  • Full comparison with simple HTTP agents

⚙️ Configuration

Create a .env file:

SOLANA_NETWORK=devnet
SOLANA_RPC_URL=https://api.devnet.solana.com
# Preferred: path to keypair file generated by solana-keygen
AGENT_WALLET_PATH=./agent-wallet.json
# Or base58/JSON in SOLANA_WALLET / legacy AGENT_PRIVATE_KEY
SOLANA_WALLET=
# AGENT_PRIVATE_KEY=
MERCHANT_WALLET_ADDRESS=merchant_wallet
# Devnet USDC mint by default (mainnet: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v)
USDC_MINT=4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
DEFAULT_PAYMENT_AMOUNT_USDC=1.0

🏗️ Architecture

┌─────────────────────────────────────────┐
│   SDK Entry Point (src/index.ts)        │
├─────────────────────────────────────────┤
│   Agents Layer                           │
│   └─ SettlementAgent                    │
├─────────────────────────────────────────┤
│   x402 Facilitator                       │
│   └─ X402FacilitatorServer              │
├─────────────────────────────────────────┤
│   Protocols Layer                        │
│   ├─ A2AProtocol                        │
│   └─ AP2Protocol                        │
├─────────────────────────────────────────┤
│   Solana Integration                    │
│   ├─ @solana/web3.js                    │
│   └─ @solana/spl-token                  │
└─────────────────────────────────────────┘

🔑 Key Features

x402 Payment Protocol

  • HTTP 402 (Payment Required) implementation
  • Autonomous payment authorization and verification
  • Sub-second settlement on Solana
  • USDC micropayments with stable pricing

Agent-to-Agent Communication

  • JSON-RPC based A2A protocol
  • Standardized message formats
  • Async communication patterns
  • Task management and tracking

Production Ready

  • TypeScript with full type safety
  • Modular exports for tree-shaking
  • Comprehensive error handling
  • Extensive logging and debugging

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


📄 License

MIT License - see LICENSE for details.


🔗 Links


👥 Author

4n0nn43x


Aether - Autonomous agent payments on Solana.