Cross-Platform Interaction
Warden is built to work seamlessly across multiple platforms, enabling developers to deploy AI-powered agents in various environments. This flexibility ensures that Warden can integrate into diverse workflows and user interactions.
Supported Platforms
1. Command-Line Interface (CLI)
The CLI platform offers a terminal-based chatbot for direct interactions with agents.
Features:
- Fully interactive conversations in the terminal.
- Choose from different LLMs for specific tasks.
- Test and debug agents quickly.
How to Run:
go run main.go
Choose the CLI Chatbot option from the menu to start chatting with the AI.
2. Discord
Warden includes support for creating Discord bots, allowing users to interact with AI agents directly within Discord servers.
Features:
- Configure and deploy Discord bots easily.
- Engage with AI-powered agents in real-time within Discord channels.
- Enable collaborative tasks between users and agents.
Setup:
- Set the Discord bot token:
export DISCORD_BOT_TOKEN=your_discord_bot_token
- Start the bot:
go run main.go
3. Twitter
Warden provides tools for managing and posting AI-generated content on Twitter.
Features:
- Create and schedule tweets dynamically.
- Manage OAuth authentication for secure access.
- Automate content creation based on AI responses.
How to Use:
- Configure your Twitter API credentials in the settings.
- Use the Twitter tools in Warden to generate and post content.
Adding New Platforms
Warden's extensible design allows developers to integrate new platforms. To add a new platform:
- Create a directory for the platform (e.g.,
new_platform/
). - Implement handlers for the platform’s APIs.
- Register the platform in
main.go
or the CLI.
For example, to add support for Slack, create a slack/
directory, implement the Slack API handler, and integrate it with the Warden framework.
Conclusion
The cross-platform capabilities of Warden make it a versatile framework for deploying AI-powered agents across various environments. Whether you're building a chatbot, automating social media tasks, or creating something entirely new, Warden's flexible architecture has you covered.