Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

System design Remove topic System design Clear all 17 posts RSS

2026

Meta Engineering

The Thin Orchestrator: How We Made Our AI Agents More Reliable by Giving the Router Less to Do

Case study 7 min +70 XP

Meta replaced a single all-knowing AI agent for onboarding data columns across its recommendation pipelines with a deliberately thin, deterministic orchestrator: about 1,300 lines that route 20+ workflows to 14 specialized subagents and do no domain reasoning.

Meta Engineering

An Organizational Second Brain: Building an AI That Learns From Experts

Case study 13 min +130 XP

Meta built a domain-expert AI agent for a compliance domain that separates declarative knowledge files (positions, taxonomies, routing indexes, gateway tests with YAML dependency graphs) from imperative composable "recipes" that encode expert reasoning workflows.

Meta Engineering

Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study

Case study 23 min +230 XP

Meta classifies data assets for privacy enforcement with a hybrid pipeline: it builds structured evidence briefs from code resolution, lineage, ownership and annotations, uses LLMs only for novel or ambiguous assets, and distills stable patterns into versioned, human-reviewed deterministic rules.

2025

2024

Meta Engineering

Logarithm: A logging engine for AI training workflows and services

Case study 11 min +110 XP

Logarithm is Meta's internal serverless, multitenant log indexing service, written in C++20 with coroutines, that ingests over 100 GB/s of logs and serves thousands of queries per second with SLOs on freshness, completeness, durability and latency.

2023

2022

2021

Meta Engineering

How WhatsApp enables multi-device capability

Deep dive 6 min +60 XP

WhatsApp's new multi-device architecture drops the phone as source of truth: each device gets its own identity key, the server maps accounts to device lists, and senders use client-side fanout to encrypt each message separately over pairwise Signal sessions to every sender and recipient device.

The quest for software engineering knowledge.

Look:
Layout: