Life Butler

← Blog

Introducing Developer Portal & Bridge v1: Sandboxed Extensibility for Life Butler

Life Butler Developer Portal and Bridge v1 Architecture

Extensibility is often where product security goes to die. When personal assistants, browsers, or task managers allow third-party add-ons, they frequently compromise user privacy by exposing credentials, tokens, or ambient storage to untrusted scripts.

This week, we deployed a major milestone for Life Butler: the **Developer Portal** at developer.lifebutler.app alongside our hardened **Bridge v1 Execution Engine**. Third-party Butlers can now run directly inside Life Butler with mathematical isolation, supervised permissions, and an asynchronous, zero-runtime-coupling backend.

The Security Shift: Unchecked Add-ons vs. Bridge v1 Probes

Rather than treating external integrations as trusted code, Bridge v1 enforces an asymmetrical containment perimeter:

✕Legacy Plugin Architecture
  • •Direct access to localStorage, session tokens, and shared cookies.
  • •Unrestricted outbound fetch() egress and background telemetry leaks.
  • •Synchronous backend calls coupling plugin availability to host uptime.
  • •Monolithic review queues with no automated containment probes.
✓Life Butler Bridge v1 Architecture
  • •Zero-Storage Sandbox: Butlers run in cross-origin sandboxed iframes.
  • •Strict Bridge Channel: Bidirectional messaging via MessageChannel only.
  • •Containment Probes: 8 automated probes verify storage and egress blocks.
  • •Kafka-Only Core: Decoupled review and release processing via event streams.

What Launched This Week

1. Minimalist Developer Dashboard (`developer.lifebutler.app`)

Built with an Apple-inspired warm linen and hazelnut design system. Developers can manage their profile, generate Sandbox/Production API keys with one-time secrets, configure webhooks with live payload delivery inspection, and track active rollouts.

2. Manifest Builder & Permission Supervised Reviews

Interactive visual manifest editor checking JSON syntax in real time. Developers declare granular capabilities (e.g. tasks:read, tasks:write) and submit user-facing justifications that route directly to our staff review queue.

3. Drag-and-Drop Staged Rollout Center

Bundle uploader with client-side zip analysis. Rollouts advance progressively:Sandbox → 1% → 10% → 50% → 100%, backed by automated crash rate and error rate monitoring with instant Pause and Roll back triggers.

4. Kafka-Only Inter-Service Communication & Database Isolation

We codified our backend architecture invariant: all inter-service coordination travels exclusively through Kafka topics (transactional outbox), with strict database-per-service schema isolation and zero cross-service direct REST calls.

Behind the Scenes: Asynchronous Split Engine

Developer submissions require extensive verification—unzipping bundles, scanning manifest schemas, analyzing Bridge v1 compliance, and verifying cryptographic signatures. To keep the portal responsive, writes take less than 30ms via an asynchronous split architecture:

[Developer UI] ──(POST /submit)──> [developer-api] (202 Accepted < 30ms)
                                         │
                                   Transactional Outbox
                                         ▼
                               [developer.submissions.v1]
                                         │
                                      Consume
                                         ▼
                             [developer-processor]
                           • Unpack & Validate Bundle
                           • 8x Containment Probes
                           • Dispatch Review to Kafka
                                         │
                            [admin.reviews.requested.v1]
                                         ▼
                                    [admin-api]
                           • Staff Approval Dashboard
                           • Outbox Decision Event

Reference Implementation: Notes Butler

To validate the entire lifecycle end-to-end, we published our official reference Butler:Notes. Built on Bridge v1 with zero host-privilege leaks, it demonstrates how to handle secure task attachments, responsive themes, and sandboxed communications.

Ready to build your first Butler? Head over to developer.lifebutler.app to explore the docs, test your manifest in the Sandbox, and submit your bundle.