Hubot is a framework for building chat bots, automated programs that live in a chat platform and respond to messages or commands. Originally created at GitHub, Hubot connects to popular chat services like Slack, Discord, and Microsoft Teams, and lets you write custom scripts that define what the bot does when it hears certain messages. The framework is distributed as a JavaScript package via npm (Node.js's package manager). You generate a new bot project with a single command, specifying which chat service you want to connect to. You then write scripts, small JavaScript files, that tell the bot how to respond to messages, execute commands, call external APIs, or automate repetitive tasks. Hubot includes a command bus system, which is a structured way to register slash-style commands with named arguments, type validation, and confirmation steps for actions that have side effects (for example, a command that creates a ticket will ask the user to confirm before proceeding). Commands can have permission controls limiting which users or chat rooms can run them. A built-in help command automatically lists and documents all registered commands, making it easy for team members to discover what the bot can do. You would use Hubot to automate repetitive team workflows inside a chat tool, things like deploying software, creating tickets, querying databases, or running reports, all without leaving your chat window. It is written in JavaScript and runs on Node.js.
Generated 2026-05-21 · Model: sonnet-4-6 · Verify against the repo before relying on details.