Back to latest

Engineering @ Scale

Sources Airbnb Engineering Amazon AWS AI Blog AWS Architecture Blog AWS Open Source Blog BrettTerpstra.com ByteByteGo CloudFlare Dropbox Tech Blog Facebook Code GitHub …

Sources

Signal of the Day

As agentic workflows multiply internal code delivery speeds, OpenAI is shifting performance engineering away from manual developer profiling to autonomous, always-on AI agents that continuously detect regressions and optimize code at scale. This highlights a critical paradigm shift: when AI automates coding, SRE and performance validation must also be automated to prevent systemic degradation.

Deep Dives

GitHub Hardens npm and Actions Defaults, Drawing Debate over Delays versus Signing · GitHub · InfoQ GitHub needed to defend its ecosystem against supply chain attacks targeting npm packages and GitHub Actions workflows, where attackers exploit loose default settings. To address this, they consolidated a series of npm and Actions security changes shipped between March and July 2026, choosing to harden the platforms’ defaults rather than simply adding optional, opt-in configurations. By changing default behaviors directly, GitHub prioritized baseline security over seamless backward compatibility, which sparked community debate on whether waiting periods are an effective control or merely a suboptimal substitute for author-side cryptographic package signing. For engineering leaders, this highlights that secure-by-default is the most effective posture for ecosystem security, though it requires carefully managing user friction and community-wide transition periods.

Cloudflare’s Precursor Detects Bots and AI Agents Through Continuous Behavioral Analysis · Cloudflare · InfoQ Cloudflare sought to block sophisticated bots and AI agents that easily bypass static, one-time security challenges like CAPTCHAs while maintaining a frictionless user experience. To solve this, they introduced “Precursor,” a client-side behavioral analysis engine that continuously evaluates active session interactions, such as mouse movements and keyboard timing. By shifting from point-in-time challenges to continuous evaluation, Cloudflare trades off client-side instrumentation complexity for seamless, passive bot detection. This architecture demonstrates that continuous behavioral telemetry is a highly generalizable pattern for security teams defending interactive web applications against sophisticated, human-mimicking automated agents.

Keeping ChatGPT Fast as AI Development Accelerates · OpenAI · InfoQ OpenAI faced hidden, systemic performance costs and regression detection bottlenecks at massive global scale as agentic workflows dramatically accelerated their internal code change volume. To maintain product speed and scalability, performance engineer Martin Spier explains how they deployed always-on AI agents that automate profiling, regression detection, and continuous optimization. Automating performance engineering via autonomous agent loops represents a significant shift, trading off traditional human-driven SRE verification for automated, self-optimizing code gates. As organizations increasingly adopt agentic coding to multiply their shipping velocity, this architectural pattern of delegating performance profiling to continuous AI agents becomes essential to handle the massive volume of code changes.

Linked Text and Buttons in TerminalWidget · TerminalWidget · BrettTerpstra.com When designing terminal widgets on macOS and iOS, developers face constraints in turning static informational screens into interactive “control surfaces” without breaking layout structures or reducing hit target usability. TerminalWidget addressed this by introducing inline Markdown link parsing in body text and table cells, alongside a persistent JSON-driven button array footer of up to 12 buttons. Crucially, the layout engine measures column widths using the visible label text instead of raw markdown, and explicitly backs off on text fitting (--fit-text) when links are present to keep hit targets usable. Furthermore, buttons persist in the UI payload across partial updates unless explicitly cleared, reducing rendering loops and simplifying client-side state. This content-aware layout adaptation is a highly generalizable lesson for teams building interactive, constraint-bound client dashboards and developer tools.

Vercel AI Gateway and Vercel Sandbox Now Available on Hermes Agent · Vercel / Nous Research · Vercel Changelog Nous Research needed to run untrusted, LLM-generated agent commands safely for Hermes Agent without risking the developer’s local machine, while managing and monitoring inference costs across 200+ models. To achieve this, they integrated Hermes Agent with Vercel AI Gateway for unified token-cost inference tracking and introduced an opt-in Vercel Sandbox backend where agent commands run in an isolated cloud microVM. Choosing an opt-in cloud-based microVM backend trades off local execution speed and offline capability for complete sandbox isolation and security. To support local development under this model, developers must configure a VERCEL_OIDC_TOKEN to pull development credentials and link runtimes securely. This architecture establishes a clear pattern for AI agent platforms: completely isolate model inference from execution via ephemeral, secure cloud runtimes.

Grok Imagine Image 2.0 Now Available on Vercel AI Gateway · xAI / Vercel · Vercel Changelog Model-generated image pipelines often struggle to maintain subject consistency across repeated edits and fail to render legible typography in dense, multi-part visuals like infographics. To address this, Grok Imagine Image 2.0 Preview was integrated into Vercel AI Gateway, allowing developers to execute image generation and targeted editing workflows through a single gateway layer. The model co-plans typography and layout together to keep small text legible, while enabling targeted canvas editing by accepting an existing image via prompt.images to modify only specific elements. To optimize performance and cost, the API allows specifying resolution tiers (1k or 2k) under provider-specific options. For teams building automated visual generation pipelines, treating text and layout as co-planned features represents a major architectural improvement over treating typography as a post-processing step.

Firebird Launches CIS Region’s Largest AI Factory in Armenia · Firebird · NVIDIA Blog Firebird needed to rapidly deploy hyper-scale AI training and inference infrastructure—targeting over 70,000 GPUs and 300MW of capacity in Armenia—while optimizing energy efficiency to maximize token-per-dollar throughput. In its new AI factory, Firebird codesigned the system on the NVIDIA DSX platform, integrating accelerated computing, networking, power, and cooling as a single unified system. For thermal and power support, Vertiv’s chilled water manager centrally coordinates cooling resources while Schneider Electric’s infrastructure rapidly brings low- and medium-voltage switchgear online. This tight co-design allows running up to 40% more GPUs on the same physical footprint, maximizing revenue per megawatt, though it requires immense physical-layer orchestration and fast regional deployment. As AI workloads scale, treating the entire data center’s thermal, power, and computing layers as a unified, software-controlled system is a vital blueprint for bypassing physical scaling limits.

Patterns Across Companies

This period reveals a strong convergence around securing and scaling autonomous workflows. We see this in OpenAI’s shift toward using always-on profiling agents to handle agent-generated code volume, and in Nous Research’s integration with Vercel to sandbox agent commands in isolated cloud microVMs. Additionally, there is a clear architectural trend toward continuous, passive telemetry—seen in Cloudflare’s continuous behavioral analysis and OpenAI’s autonomous profiling—replacing static, point-in-time gates.

📊 I can compile a comparison matrix of the security strategies covered today—comparing Cloudflare’s continuous behavioral profiling against GitHub’s secure defaults—to analyze how different platforms balance user friction with supply-chain and edge hardening.

Search MacWorks

Enter at least two characters.