Channel Architecture
Tiny Claw uses a plugin-based channel system:Built-in Web UI
Default channel provided out-of-the-box. Accessible at
http://localhost:3000.Channel Plugins
Extend connectivity to Discord, Friends, and other platforms. Installed separately.
Available Channels
Channel plugins are installed separately from the core Tiny Claw package. Check the plugin documentation for installation instructions.
Discord Channel
Connect your Tiny Claw to Discord servers and DMs.Create Discord Bot
- Go to the Discord Developer Portal
- Create a new application
- Navigate to the Bot section and create a bot user
- Copy the bot token (you’ll need this during setup)
Configure Bot Token
Store your Discord bot token securely:Alternatively, ask your agent conversationally:
Friends Channel
Connect to the Friends network for peer-to-peer agent communication.Channel Management
Listing Active Channels
Ask your agent to show all connected channels:- Channel type (Web, Discord, Friends)
- Connection status
- Configuration details
Enabling/Disabling Channels
Channels can be toggled on or off without uninstalling plugins:- Via Conversation
- Via Config Engine
Channel-Specific Configuration
Each channel plugin may have unique settings:Discord Settings
Discord Settings
- Bot Token: Required for authentication
- Command Prefix: Custom prefix for bot commands (default:
!) - Status Message: Custom presence message
- Allowed Servers: Whitelist of server IDs (optional)
- DM Handling: Enable/disable direct message responses
Friends Settings
Friends Settings
- Network Mode: Public or private discovery
- Max Connections: Limit simultaneous peer connections
- Trust Level: Auto-trust or require approval for new agents
- Share Profile: Control what personality data is shared
Multi-Channel Behavior
Context Isolation
Each channel maintains separate conversation context:- A Discord conversation doesn’t see messages from the web UI
- Friends network messages are isolated from Discord
- The agent remembers who it’s talking to in each channel
Shared Memory
While conversation context is isolated, learned patterns and long-term memory are shared:- If you teach the agent something in Discord, it remembers in the web UI
- Personality traits evolve consistently across all channels
- Background tasks and knowledge are unified
Cross-Channel Notifications
You can enable cross-channel alerts:Message Formatting
Platform-Specific Rendering
The agent adapts message formatting to each platform’s capabilities:- Web UI
- Discord
- Friends
- Markdown rendering
- Code syntax highlighting
- Interactive components (buttons, inputs)
- Real-time streaming responses
Emoji and Reactions
Emoji usage adapts to the channel’s personality:communication.emojiFrequency trait, which the agent can adjust per channel.
Troubleshooting Channels
Channel Not Connecting
Message Delivery Issues
Messages not appearing
Messages not appearing
- Check channel permissions: Ensure the bot has
Send Messagespermission - Verify channel is enabled: Ask “Is Discord channel enabled?”
- Inspect rate limits: Some platforms throttle bot messages
Delayed responses
Delayed responses
- High message volume: Agent may be processing multiple channels
- Model latency: Complex queries take longer to process
- Network issues: Check connectivity to the channel’s platform
Formatting broken
Formatting broken
- Markdown incompatibility: Some platforms have limited markdown support
- Character limits: Long messages may be truncated
- Emoji rendering: Platform may not support all emojis
Channel Development
Want to build your own channel plugin? Tiny Claw’s channel system is extensible:
Check the plugin development documentation for detailed guidance.
Next Steps
Learn how to manage LLM providers and switch models