The Robot: AI Inside WordPress
The Glass Robot is an AI assistant system built into the WordPress admin. It’s not a chatbot bolted onto a sidebar, it’s a tool-calling AI engine with personas, monitors, approval gates, a relay network for inter-user messaging, and bidirectional Microsoft Teams integration.
The Tool Engine
The Robot’s power comes from its tool registry. Each AJT plugin registers tools, functions the AI can call to read and write data. Stripe Pro registers tools for searching invoices, checking customer balances, creating credit notes. MSP Hub registers tools for looking up tickets, querying service contracts, checking SLA compliance. Glass itself registers tools for searching pages, managing users, building Infinite sections.
The AI model doesn’t guess, it calls tools. When you ask “how many overdue invoices do we have?”, the Robot calls search_invoices with the appropriate filters and returns real data. There’s a hard 5-round limit on the tool loop, so combined tools like get_workflow_builder_kit exist to pack maximum context into minimal rounds.
Personas
Different users need different Robots. The admin gets the full-power Robot with access to everything. Staff get a Staff Robot scoped to their role capabilities. Customers get a Customer Robot that can only access their own data. Each persona has its own system prompt, tool whitelist, and personality configuration.
Monitors & Approval Gates
Monitors are background watchers that trigger on conditions, an invoice goes overdue, a ticket SLA is breached, a contract expires. When a monitor fires, it can notify via Glass Beads, send a Teams Adaptive Card, or kick off a workflow with an approval gate that requires human sign-off before the action executes.
The Teams integration sends Adaptive Cards with interactive buttons, approve or reject directly from the Teams channel. The outgoing webhook bot supports seven commands so engineers can interact with the Robot without leaving Teams.