The Integration layer connects the Understanding Workbench to external systems. It has three responsibilities: providing public HTTPS access to services running on the Mac Mini, connecting to LLM providers for AI capabilities, and bridging messaging channels so users can interact with the system from wherever they already work.
The design principle is that the Mac Mini is the brain — it runs the agent runtime (OpenClaw), hosts capability services (FastAPI backends), and manages API keys. The Vercel frontend is a thin presentation layer that routes to the Mac Mini for all substantive work.
Open-source AI agent runtime. Runs as a launchd daemon on the Mac Mini. Provides the Gateway (WebSocket control plane), skill execution, MCP server support, and bridges to 25+ messaging channels.
Exposes local services to the public internet over HTTPS with a stable *.ts.net URL. No port forwarding, no dynamic DNS, no certificates to manage. Built into the OpenClaw ecosystem.
LLM provider for all AI capabilities. Claude models power the Guide agent, the Briefing skill's conversational interface, and LLM-assisted classification in the Enrichment skill.
Secure credential management. API keys are stored in the bot Vault and accessed via OP_SERVICE_ACCOUNT_TOKEN. No secrets in code, no secrets in environment files.
| From | To | Protocol | Purpose |
|---|---|---|---|
| Vercel frontend | Mac Mini | HTTPS (Tailscale Funnel) | Guide chat, capability UIs |
| OpenClaw Gateway | Anthropic API | HTTPS | LLM inference for all agents |
| OpenClaw Gateway | Slack / WhatsApp / etc. | WebSocket / webhooks | Channel bridges for chat access |
| OpenClaw Gateway | FastAPI services | localhost HTTP | Skill invocation (pipeline execution) |
| FastAPI services | Anthropic API | HTTPS | LLM calls for enrichment, briefing |
| OpenClaw Daemon | 1Password | HTTPS | API key retrieval |
OpenClaw bridges messaging channels so the same Guide agent and capability skills are accessible from multiple surfaces. A user can start a conversation in the web UI and continue via Slack, or invoke a Library skill from WhatsApp.
Priority channels for initial deployment:
| Channel | Status | Notes |
|---|---|---|
| Web UI (Vercel) | Live (direct API) | Migrate to route through OpenClaw Gateway |
| OpenClaw WebChat | Available with OpenClaw | Built-in, no additional config needed |
| Slack | Planned | Enterprise pilot channel |
| Planned | Community/individual access |
The Mac Mini infrastructure setup is documented in the Library Skills app's PLAN.md (Phase 0). The same infrastructure serves all capabilities, not just the Library.