Feature Request
Problem
Currently, inline buttons can only be added via the message tool with explicit buttons parameter. There is no way to:
- Add a persistent button to every agent response automatically
- Show a "Stop" button before the agent starts processing
This means users have no quick way to interrupt a running agent or subagent mid-processing.
Proposed Solution
Add a configuration option to define persistent inline buttons that appear on every outgoing message (or at least on agent responses):
{
"channels": {
"telegram": {
"persistentButtons": [
{ "text": "🛑 /stop", "sendText": "/stop" },
{ "text": "📋 /agents", "sendText": "/agents" }
]
}
}
}
Or alternatively, a pre-response button that appears immediately when a user sends a message (before the agent starts generating a response), allowing the user to cancel.
Use Case
- User sends a long task to the main agent
- Agent spawns a subagent (takes 2-5 minutes)
- User wants to stop it but has no quick UI affordance
- With persistent buttons: tap 🛑 /stop → subagent killed immediately
Notes
- Telegram supports
InlineKeyboardMarkup on any message
- Button click should send the configured text as a regular message (not callback_data), so the agent receives and processes it normally
- This is a UX quality-of-life improvement for power users managing multiple agents
Platform: Telegram
Version: 2026.3.1
Feature Request
Problem
Currently, inline buttons can only be added via the
messagetool with explicitbuttonsparameter. There is no way to:This means users have no quick way to interrupt a running agent or subagent mid-processing.
Proposed Solution
Add a configuration option to define persistent inline buttons that appear on every outgoing message (or at least on agent responses):
{ "channels": { "telegram": { "persistentButtons": [ { "text": "🛑 /stop", "sendText": "/stop" }, { "text": "📋 /agents", "sendText": "/agents" } ] } } }Or alternatively, a pre-response button that appears immediately when a user sends a message (before the agent starts generating a response), allowing the user to cancel.
Use Case
Notes
InlineKeyboardMarkupon any messagePlatform: Telegram
Version: 2026.3.1