Loading...
Loading...
Builds and debugs Letta Code channels, including first-party channel adapters and dynamic user channel plugins under ~/.letta/channels. Use when adding Telegram, WhatsApp, Bluesky, Slack, Discord, or custom channel support; testing channel routing, pairing, MessageChannel, runtime dependencies, or channel plugin manifests.
npx skill4agent add letta-ai/skills creating-letta-code-channels~/.letta/channels/<id>/src/channels/<id>/telegramslackdiscord~/.letta/channels/telegram-testwhatsapp-communitycustom-chat~/letta/letta-codesrc/channels/README.md~/.letta/channels/<id>/channel.json~/.letta/channels/<id>/plugin.mjs~/.letta/channels/<id>/accounts.jsonmessageActionsMessageChanneldmPolicy: "pairing"allowlistopenadapter.onMessage(msg)MessageChannelmessageActions.handleActionadapter.sendMessagebun run typecheckbun run lintbun run buildreferences/user-plugins.mdreferences/first-party-channels.mdreferences/testing.md<path-to-this-skill>npx tsx <path-to-this-skill>/scripts/scaffold-user-channel-plugin.ts \
my-channel "My Channel" \
--runtime-package some-sdk@1.0.0 \
--runtime-module some-sdkchannel.jsonplugin.mjsaccounts.example.jsonMessageChannelplugin.messageActionsdescribeMessageTool()handleAction()approvenode_modulesletta channels pair --channel <id> --code <code> --agent <agent-id> --conversation <conversation-id>pairing.yamlrouting.yaml