Skip to content

Conversation

@eraykeskinmac
Copy link

Proposed Content
I would like to propose adding strands-telegram-listener to the Community Packages documentation.

This is a production-ready real-time Telegram message processing tool for Strands Agents, with AI-powered auto-responses and background message monitoring. It enables agents to listen for incoming Telegram messages and respond intelligently in real-time.

Key Features:

  • 🎧 Real-time Processing: Long polling for instant message processing
  • 🤖 AI Auto-Replies: Intelligent responses powered by Strands agents
  • 📊 Event Storage: Comprehensive message logging and history (JSONL format)
  • 🔍 Smart Filtering: Message deduplication, own message filtering
  • ⚙️ Configurable: Environment variable control for auto-reply behavior
  • 🧵 Background Processing: Non-blocking operation with thread safety

Package Information:

Installation:

pip install strands-telegram-listener
pip install strands-telegram  # Companion package
pip install 'strands-agents[anthropic]'

Quick Usage Example:

from strands import Agent
from strands_telegram_listener import telegram_listener

agent = Agent(tools=[telegram_listener])

# Start listening for messages
agent("start listening to Telegram messages and respond with AI")

# Get recent message history
agent("show me the last 10 Telegram messages received")

# Check listener status
agent("what's the status of the Telegram listener?")

Location
Community Packages → Tools → Communication & Messaging

Rationale
This package would be valuable for the Strands Agents community because:

  1. Complete Telegram Ecosystem: Pairs with strands-telegram to provide full send/receive capabilities for Telegram bot workflows.

  2. AI-Powered Conversations: Enables sophisticated chatbots with real-time AI responses, perfect for customer support and interactive applications.

  3. Production-Ready: Stable v1.0.1 with thread-safe background processing, comprehensive logging, and error handling.

  4. Real-time Intelligence: Instant message processing enables responsive AI agents that can engage in natural conversations.

  5. Community Benefit: Open-source with detailed documentation. Essential for creating interactive Telegram bots with Strands agents.

Add strands-telegram-listener v1.0.1 - a production-ready real-time Telegram message processing tool with AI-powered auto-responses and background monitoring.

Features:
- Real-time processing with long polling for instant message processing
- AI auto-replies with intelligent responses powered by Strands agents
- Event storage with comprehensive message logging (JSONL format)
- Smart filtering with message deduplication and own message filtering
- Configurable environment variable control for auto-reply behavior
- Background processing with non-blocking operation and thread safety
- Perfect companion to strands-telegram for complete Telegram ecosystems

Package: https://pypi.org/project/strands-telegram-listener/
GitHub: https://github.com/eraykeskinmac/strands-telegram-listener
@eraykeskinmac
Copy link
Author

Closing - using individual .md files per tool instead. See PR #320.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant