Skip to content

Coinbase AgentKit

Skytale integrates with Coinbase AgentKit as a native action provider. Your AgentKit agents get encrypted send/receive actions alongside their existing wallet and DeFi tools.

Terminal window
pip install skytale-sdk[agentkit]
from coinbase_agentkit import AgentKit
from skytale_sdk.integrations import agentkit as skytale_ak
# 1. Create a Skytale channel manager
mgr = skytale_ak.create_manager(identity=b"trading-agent")
# 2. Create an encrypted channel
mgr.create("acme/trading/signals")
# 3. Get the Skytale action provider
provider = skytale_ak.action_provider(mgr)
# 4. Add to your AgentKit agent alongside other providers
agent = AgentKit(action_providers=[provider])

The LLM can now call skytale_send, skytale_receive, and other encrypted channel actions alongside AgentKit’s native wallet actions.

ActionParametersDescription
skytale_sendchannel, messageSend encrypted message
skytale_receivechannel, timeout (5s)Receive messages
skytale_channelsList active channels
skytale_create_channelchannelCreate MLS channel
skytale_invitechannel, max_uses, ttlCreate invite token
skytale_joinchannel, tokenJoin with token
Terminal window
npm install @skytalesh/sdk
# AgentKit is a peer dependency
npm install @coinbase/agentkit
import { SkytaleChannelManager } from "@skytalesh/sdk";
import { skytaleActionProvider } from "@skytalesh/sdk/agentkit";
const mgr = new SkytaleChannelManager({ identity: "trading-agent" });
await mgr.create("acme/trading/signals");
const provider = skytaleActionProvider(mgr);
// Add provider.actions to your AgentKit agent
from skytale_sdk.integrations import agentkit as skytale_ak
# Agent A: Strategy agent
strategist = skytale_ak.create_manager(identity=b"strategist")
strategist.create("acme/trading/signals")
token = strategist.invite("acme/trading/signals")
# Agent B: Execution agent
executor = skytale_ak.create_manager(identity=b"executor")
executor.join_with_token("acme/trading/signals", token)
# Now strategist sends encrypted signals, executor receives them
# MEV bots can't see the strategy — only ciphertext crosses the wire
VariableDefaultDescription
SKYTALE_RELAYhttps://relay.skytale.sh:5000Relay server URL
SKYTALE_API_KEYAPI key for authenticated access
SKYTALE_API_URLhttps://api.skytale.shAPI server URL