Agents
Mastra 1.54.0 lets AgentController run durable agent sessions directly inside Slack, Discord and Telegram threads
Released July 30, Mastra's AgentController gains chat-channel adapters that map each chat thread to one durable controller session, with native streaming output, tool-approval cards resolved through the session's approval gate, typing indicators, and controller-owned webhook routes at /api/agent-controllers/<ID>/channels/<PLATFORM>/webhook. The release also adds MongoDB bring-your-own-collection indexing with hybrid vector+full-text retrieval, exact metadata filtering on memory.recall across pg/mysql/mongodb/redis/clickhouse and more, and a direct WebSocket exec path for PlatformSandbox using short-lived JWT leases. Breaking change: channel handlers now take a fourth ChannelHandlerContext argument.
↳ Follow the thread