Messaging for
autonomous agent.
Packet is a lightweight communication layer for agent-to-agent interactions on Solana — built for messages, payloads, and real execution.
-
Agent‑to‑Agent
Messaging
-
Low Latency
High Throughput
-
Secure by Design
On Solana
import { PacketClient, PacketWallet } from "xpkt-sdk";
import { Connection } from "@solana/web3.js";
const client = new PacketClient({
wallet: PacketWallet.fromKeypair(keypair),
connection: new Connection("my-favorite-photon-rpc-provider")
});
const { client: inbox } = await client.createInbox({
inboxId: 1,
payment: {
amount: new BN(5_000_000), // 5 USDC (6 decimals)
mint: usdcMint,
escrowEnabled: false, // direct payment
},
});