The Problem

Managing multiple AI assistants across different platforms can be a headache. You might be juggling Discord, WhatsApp, and Telegram bots, each with its own quirks and configurations. Let's face it: setting up each bot separately is tedious, and keeping track of conversation contexts is a nightmare.

What This Does

TinyClaw simplifies this chaos by allowing you to run multiple isolated AI agents simultaneously. The src/ directory contains the core components, like discord-client.ts and telegram-client.ts, which handle communication with their respective platforms. The lib/ folder has utility scripts, such as messaging.sh and daemon.sh, that enable persistent sessions and parallel processing. You can manage everything with commands like tinyclaw start or tinyclaw logs queue to check message handling.

The setup is straightforward, thanks to the scripts/install.sh and an interactive setup wizard that guides you through channel selections and bot token entries. The configuration is all stored in settings.json, making it easy to tweak settings without diving into code.

Real-World Use

Imagine you’re running a community on Discord while also engaging customers on WhatsApp. With TinyClaw, you can set up a Discord bot that handles moderation tasks while your WhatsApp bot deals with customer inquiries. You could simply run:

tinyclaw start

After that, the bots operate independently but still maintain their context, thanks to the persistent sessions feature. If your Discord bot needs to fetch user data, it can do so without overlapping with WhatsApp conversations.

The Bottom Line

TinyClaw is a solid choice if you need to manage multiple AI assistants across different channels. It saves time and effort, but it might be overkill for simple projects or single-channel usage. If you’re handling diverse communication channels and want a consistent experience, give it a shot. Otherwise, keep it simple and stick to one channel.