← ClaudeAtlas

spoonos-platform-integrationlisted

Deploy SpoonOS agents to messaging platforms and APIs. Use when integrating agents with Telegram, Discord, Slack, REST APIs, webhooks, or scheduled tasks.
Gabssama12/spoon-awesome-skill · ★ 1 · AI & Automation · score 64
Install: claude install-skill Gabssama12/spoon-awesome-skill
# Platform Integration Connect SpoonOS agents to external platforms. ## Integration Options | Platform | Use Case | Transport | |----------|----------|-----------| | Telegram | Chat bot | Polling/Webhook | | Discord | Server bot | Gateway/Webhook | | Slack | Workspace bot | Events API | | REST API | HTTP interface | FastAPI/Flask | | Webhooks | Event triggers | HTTP POST | | Scheduler | Cron tasks | APScheduler | ## Telegram Bot ### Setup ```bash pip install python-telegram-bot ``` ### Implementation ```python # telegram_bot.py import os import asyncio from telegram import Update from telegram.ext import Application, CommandHandler, MessageHandler, filters from spoon_ai.agents import SpoonReactMCP from spoon_ai.chat import ChatBot from spoon_ai.tools import ToolManager # Initialize agent agent = SpoonReactMCP( name="telegram_agent", llm=ChatBot(model_name="gpt-4o"), tools=ToolManager([]), max_steps=10 ) async def start(update: Update, context): """Handle /start command.""" await update.message.reply_text( "Hello! I'm your SpoonOS agent. Send me a message!" ) async def handle_message(update: Update, context): """Process user messages through agent.""" user_message = update.message.text user_id = update.effective_user.id # Show typing indicator await update.message.chat.send_action("typing") try: # Run agent response = await agent.run(user_message) # Split long messages (Telegram l