Skip to content

GOAT SDK

Skytale provides a GOAT SDK plugin. Your GOAT agents get encrypted channel tools for private coordination — sealed strategies, MEV-resistant communication, confidential multi-agent workflows.

Terminal window
npm install @skytalesh/plugin-goat
import { SkytaleChannelManager } from "@skytalesh/sdk";
import { skytalePlugin } from "@skytalesh/plugin-goat";
const mgr = new SkytaleChannelManager({ identity: "defi-agent" });
await mgr.create("acme/defi/coordination");
const plugin = skytalePlugin(mgr);
// Add plugin.tools to your GOAT agent
ToolParametersDescription
skytale_sendchannel, messageSend encrypted message
skytale_receivechannel, timeoutReceive messages
skytale_channelsList active channels
skytale_create_channelchannelCreate MLS channel
skytale_invitechannel, maxUses, ttlCreate invite token
skytale_joinchannel, tokenJoin with token
import { SkytaleChannelManager } from "@skytalesh/sdk";
import { skytalePlugin } from "@skytalesh/plugin-goat";
// Analyzer agent: scans for opportunities
const analyzer = new SkytaleChannelManager({ identity: "analyzer" });
await analyzer.create("fund/defi/opportunities");
// Executor agent: executes trades
const executor = new SkytaleChannelManager({ identity: "executor" });
const token = await analyzer.invite("fund/defi/opportunities");
await executor.joinWithToken("fund/defi/opportunities", token);
// Analyzer sends encrypted opportunity data
analyzer.send("fund/defi/opportunities", JSON.stringify({
type: "arb",
pair: "ETH/USDC",
spread: "0.3%",
venues: ["uniswap", "sushiswap"],
}));
// Executor receives — MEV bots see only ciphertext
const msgs = await executor.receive("fund/defi/opportunities");

GOAT SDK supports multiple chains. Skytale’s supportsChain returns true for all chains — encrypted communication works regardless of which blockchain your agent targets.

VariableDefaultDescription
SKYTALE_RELAYhttps://relay.skytale.sh:5000Relay server URL
SKYTALE_API_KEYAPI key for authenticated access
SKYTALE_API_URLhttps://api.skytale.shAPI server URL