Skip to content

feat(bot): Telegram bot for agent control and monitoring#3

Merged
irtassedat merged 1 commit intomainfrom
feat/telegram-bot
Apr 2, 2026
Merged

feat(bot): Telegram bot for agent control and monitoring#3
irtassedat merged 1 commit intomainfrom
feat/telegram-bot

Conversation

@irtassedat
Copy link
Copy Markdown
Owner

Summary

Grammy-based Telegram bot for controlling and monitoring AgentForge agents via chat.

Commands

Command Description
/agents List all agents with status icons
/status System metrics overview
/start_agent <id> Start an agent
/stop_agent <id> Stop an agent
/restart_agent <id> Restart an agent
/tasks Recent 10 tasks
/dlq Dead letter queue
/health API health + latency

Stack

  • Grammy 1.30, TypeScript, Pino logger

Test plan

  • Build passes
  • Lint clean
  • 22 existing tests pass

- Grammy-based Telegram bot with 8 commands
- /agents — list all agents with status indicators
- /status — system metrics (agents, tasks, memory, uptime)
- /start_agent, /stop_agent, /restart_agent — lifecycle control
- /tasks — recent task feed with status icons
- /dlq — dead letter queue viewer
- /health — API health check with latency
- Error handling, session management, graceful shutdown
@irtassedat irtassedat merged commit 4a9034e into main Apr 2, 2026
3 checks passed
@irtassedat irtassedat deleted the feat/telegram-bot branch April 2, 2026 12:56
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