Internal containers of the Grok Bot platform.
C4Container
title Grok Bot Container Diagram
System_Boundary(b, "Grok Bot Platform") {
Container(bot_runtime, "Bot Runtime", "Agent engine", "Named persistent agents with memory, files, browser sessions. End-to-end task execution, approval requests.")
Container(cloud_vm, "Cloud VM", "Persistent VM", "Shared cloud computer per user. Browser, filesystem, terminal. All Bots share one VM with own screens for parallel work.")
Container(coord, "Coordination Layer", "Messaging", "Bots message each other in threads and group chats. Share context, pass ownership. No human router needed.")
Container(skills, "Skills and Routines", "Workflow persistence", "Learn multi-step workflows by watching user. Persists as routine. Re-runs on schedule or demand.")
Container(approvals, "Approval Gateway", "Human-in-the-loop", "Pauses for user judgment on sensitive actions. User approves or corrects via app.")
}
Container(client_desktop, "Desktop App", "Native", "macOS/Linux/Windows client. Message Bots, review work, approve.")
Container(client_ios, "iOS App", "Mobile", "Same Bot threads, mobile access.")
Container(grok_build, "Grok Build CLI", "Rust binary", "Terminal coding agent. TUI, headless, ACP. Shares Grok LLM.")
System_Ext(x_api, "Grok LLM", "xAI models")
System_Ext(external_apps, "External Apps", "Gmail Slack GitHub Salesforce browsers")
System_Ext(mcp_servers, "MCP Servers", "Tool servers")
Rel(client_desktop, bot_runtime, "Messages, reviews, approves")
Rel(client_ios, bot_runtime, "Same threads mobile")
Rel(bot_runtime, cloud_vm, "Executes tasks on cloud computer")
Rel(bot_runtime, coord, "Coordinates with other Bots")
Rel(bot_runtime, skills, "Saves and runs workflows")
Rel(bot_runtime, approvals, "Pauses for approval")
Rel(bot_runtime, x_api, "LLM inference")
Rel(cloud_vm, external_apps, "Signs in and uses apps")
Rel(bot_runtime, mcp_servers, "Structured tool calls")
Rel(grok_build, x_api, "Same Grok LLM for coding")