Loading…
Browse by type
Problem & solution reads
Problem & solution posts on Yomu, summarised newest first.
- 1,087 posts
- 20 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Problem & solution posts
Building Laminar: Ramp's Managed Agents Platform
Ramp, a fintech company, transformed from a traditional SaaS provider into a fully agentic platform, building Laminar as its in-house agent harness to drive this shift. After experimenting with external frameworks such as OpenAI Agents SDK, Claude Agents SDK, LangChain, and multiple internal passion-project agent frameworks, the team found the experience uncohesive and decided to consolidate. In May 2026, they created Laminar, a common platform named to evoke smooth, structured flow, aiming to abstract away common agent infrastructure so developers could ‘build agents, not infrastructure.’ Laminar now serves as the backbone for Ramp’s agentic products, including automating month-end close for accounting firms, tracking and optimizing token spend for finance teams, and providing a personal AI assistant to cardholders via SMS. Additionally, Ramp has built an in-house collaborative cloud coding agent and a desktop agent for knowledge work, all running on Laminar, demonstrating the platform’s power for real-world product development.
Coding-Agent Benchmarks Should Match Their Users’ Task Flows
Coding-agent benchmarks like SWE-Bench Pro focus almost exclusively on single-step bug fixes and feature additions, while real developer use includes planning, code review, and questions. JetBrains Research analyzed 4,782 IDE sessions and found that less than half of developer requests are bugs and features, and tasks often arrive incrementally across multiple messages. SWE-Bench Pro tasks, however, are delivered as a single polished message, missing the interactive flow of actual usage. To bridge this gap, the authors propose SWE-TaskFlow, which rewrites existing issue-based tasks into multiple ordered requests and adds repository questions. Pilot experiments with GPT and Gemini models show that splitting tasks increases cost by 2.0-2.6 times but barely affects resolve rates, demonstrating that progressive disclosure primarily changes effort.
Why We Still Need an IDE
The post argues that IDEs remain essential for agentic development because they provide the project context, code intelligence, and verification tools that isolated agent sessions lack. The author compares the shift to moving from hand-flying to using a flight computer, where the pilot (engineer) still needs a cockpit (IDE) to see the full picture and intervene. As coding agents handle more mechanical work, the engineer’s role shifts from typing syntax to directing intent, requiring an environment that exposes dependencies, type checking, and test results in a connected view. The post introduces the Agent Client Protocol (ACP) as a way for IDEs and agents to communicate through a common interface, and Bring Your Own Keys (BYOK) to let developers choose providers without locking in. Ultimately, the author concludes that agents and IDEs should work together, with the IDE remaining the place where engineers steer, verify, and take ownership of the code.
Cross-store product clustering across millions of stores (2026) - Shopify
Shopify’s cross-store product clustering system groups listings of the same product across different merchants into a single global Universal Product Identifier. The approach avoids comparing every pair by generating candidate pairs using approximate nearest-neighbor search across billions of vector embeddings. Scoring uses three models of increasing cost: L1 is a fast GBDT classifier, L2 is a fine-tuned multilingual cross-encoder that reads both listings together, and L3 adds images. The UPI builder evaluates proposed merges using a trained model that weighs evidence, handling non-transitive pairwise judgments. The system caches scores and uses priority queues for expensive inference, enabling daily cluster updates while background GPU inference continues refining matches.
Securing America's compute advantage: Anthropic’s position on the diffusion rule
Anthropic’s analysis of the Diffusion Rule, a January 2025 export control framework for advanced AI chips and model weights, warns that maintaining America’s compute advantage is essential for national security. The rule creates a three-tier system: Tier 1 allies face few restrictions, Tier 2 moderate limits, and Tier 3 adversarial nations strict controls. Anthropic recommends allowing Tier 2 countries with strong data center security to obtain more chips via government agreements, lowering the no-license threshold of 1,700 NVIDIA H100s, and boosting enforcement funding. The company notes that Chinese labs like DeepSeek, using chips obtained before controls, already face 2-4x higher energy costs and that by 2027 older-chip countries could pay ten times more for AI training. Anthropic warns against delaying implementation past May 15, 2025, as Chinese firms are stockpiling and a pause would weaken controls.
Cutting our inference bill by 68% by being obsessive about optimization
By August 2026, Cloudflare’s AI code reviewer average cost had doubled to $2.46 per review, driven by a switch to Anthropic models and tripled token usage per session. Analysis showed 77% of spend went to prompt caching, yet first-request cache hits were only 14-26% because the shared prefix lacked an independent cache breakpoint. Adding a breakpoint on September 16 enabled cross-repository cache reuse, immediately cutting cost from $2.47 to $2.02. Subsequent changes—inline reference indices, tool removal, parallel file reads, and skipping reviewers on re-reviews—reduced cost by another $0.20 per review. The final result: $0.77 average cost (68% reduction), 1m32s median time (from 4m9s), and code quality at high effort maintained real-problem detection with reduced noise.
The Thin Orchestrator: How We Made Our AI Agents More Reliable by Giving the Router Less to Do
Meta’s thin orchestrator is a 1,300-line deterministic router that handles 20+ workflows across a data column onboarding pipeline spanning three code repositories, three programming languages, and up to six synchronized stages. It delegates all domain reasoning to 14 specialized subagents — each with isolated context loaded from 25+ knowledge files — and follows a fixed 7-step protocol that includes reliability gate checks before any LLM invocation. This architectural separation replaced an earlier monolithic agent that suffered from context interference, achieving only 10-20% success without per-task prompt engineering. The thin orchestrator pattern uses reusable workflow templates so that new use cases, such as pipeline migration, require no new agent code — only a different sequence of existing agents. Configuration preparation dropped from three to four days to under an hour, with roughly two-thirds of changes landing without significant human edits.
Beyond the patch: Protecting your NetScaler gateway against future vulnerabilities
The recent disclosure of CVE-2026-88771 and CVE-2026-88772 in Citrix NetScaler Gateway allowed unauthenticated command execution, forcing administrators to balance patching urgency against potential disruption. The post argues that relying solely on emergency patches and WAF rules is reactive and insufficient as attackers increasingly use AI to discover novel variants and exploit them before signatures are deployed. Instead, it advocates for defense in depth by placing independent access controls, such as Cloudflare Access, in front of the authentication server so that attackers never reach the vulnerable gateway to attempt exploits. Additional measures include restricting origin connections via Cloudflare Tunnel or dedicated egress IPs, and validating Access JSON Web Tokens at the origin to guarantee that every request was authenticated by the access policy. The architecture also requires testing direct-origin access and alternate hostnames to confirm no bypass exists, and recommends periodic re-testing after configuration changes.
How Legora runs 2,000 parallel agent evals on Modal Sandboxes
Legora, an agentic system supporting lawyers, replaced its AI assistant with a full-fledged agent for longer autonomous tasks across thousands of documents. To test this agent, Legora runs every eval in an isolated Modal Sandbox, booting the full application including a DOCX editor, Turbopuffer, PDF conversion, Postgres, blobs, and code sandboxes. A typical experiment uses 100 cases, 4 harness variants, and 5 trials, totaling 2,000 parallel runs that must happen concurrently in the cloud. Legora uses Modal Volumes for shared document storage, snapshotting world state, and deduplicating setup, and an hourly pipeline builds the container image and pre-warms Sandboxes so only the delta needs to be applied. Switching from gVisor to Modal VM Sandboxes eliminated Docker workarounds, and the platform enables a self-improving agent loop that cut agent cost by 30% through smarter compaction and custom tool search.
Building Overexposed: understanding application exposure (2026) - Shopify
Shopify built Overexposed, a scanner that checks which applications have internet-facing endpoints and whether they allow anonymous access. It scans Kubernetes Ingresses on GKE and Cloud Run services by querying GCP’s Cloud Asset Inventory for deployed resources, then sending anonymous HTTP probes—HEAD requests first, up to three redirects, checking for authentication challenges. The scanner classifies each endpoint into six verdicts—exposed, expected, protected, not found, unreachable, or inconclusive—based on the probe response and an allowlist of approved public endpoints. Overexposed reduced inconclusive Ingress results by about 80% within weeks by refining classification rules and testing changes against historical scan data. The project revealed that reading configuration files is insufficient because they show intent, not enforcement; the true inventory must come from what the cloud actually runs, and each verdict includes a reason for investigation.
Strengthening our defenses against distillation attacks
Distillation attacks are covert campaigns to extract capabilities from frontier models like Claude and replicate them in unauthorized models, often using fraudulent account networks that control hundreds of thousands of accounts. These attacks enable companies to mimic frontier capabilities at reduced cost, raising concerns about inadequate safeguards and national security risks when capabilities are integrated into foreign military and surveillance systems, as seen with GLM-5.3. Anthropic developed three defenses: preserved thinking restricting access to reasoning, a two-stage classifier blocking extraction attempts, and stricter enforcement banning accounts often within two hours. After implementation, the reasoning tokens distillers could extract fell by 10 to 100 times, and tens of thousands of accounts were banned. Anthropic acknowledges trade-offs including required integration updates and a less than 0.1% false positive rate for benign requests but considers the costs worth bearing for national security.
Closing the Binary Blind Spot: Domain-Knowledge Injection for LLM Malware Triage in npm Packages
Supply chain attacks on the npm registry are growing, and packages that bundle a binary payload are rare but disproportionately hard for LLMs to triage. The authors built a scanner that combines static analysis with LLM reasoning and introduced capability profiles, which encode malicious techniques as weighted conditions injected into the prompt before the model decides. They tested nine models across seven providers on five adversarial payload types, including credential stealers and reverse shells, at varying obfuscation levels. Without profiles, the budget-tier models failed to reach a malicious verdict on 50 percent of tests, with failures following distinct model-specific patterns rather than random error. With profiles enabled, the failure rate dropped to 4 percent, and 91 percent of prior failures recovered to a detection.
How we connected Notion AI to 160 new apps in three weeks
Notion used the Model Context Protocol (MCP), an open standard for connecting AI tools to other apps, to expand its AI integrations. Previously, each new MCP connection required hours of manual setup, including creating accounts, navigating developer settings, and testing, so only 25 apps were connected. In three weeks, Notion grew that number to 185 by building a Notion agent that automates the pipeline from setup to production. The agent handles sign-ups, browser clicks, and tests, while humans still review code changes, design assets, and partner with vendors. A key lesson was that private developer apps could pass internal tests but fail for customers, so the agent now tests from a second account simulating real users.
Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM
Spotify has been applying generative AI to personalize recommendations across surfaces, using LLMs for podcast discovery with beam search and candidate scoring. Their initial inference stack relied on vLLM for beam search, which suffered from CPU-side bottlenecks and KV block recomputation, and SGLang for efficient multi-item scoring, but no single engine supported all required features. To unify these capabilities, Spotify collaborated with NVIDIA to extend TensorRT LLM with efficient beam search implemented in the sampler, multi-item scoring via the Python API, and soft token personalization using out-of-tree model plugins. On a 1.7B Qwen3 model, the resulting implementation delivered up to 54% cost reduction for beam search workloads and 7% for scoring workloads compared to previous setups. Spotify plans to continue optimizing inference with quantization and NVIDIA Blackwell-specific techniques to support increasingly sophisticated personalization at scale.
Scale OpenShift Dev Spaces in air-gapped environments
Scaling OpenShift Dev Spaces in air-gapped environments requires addressing four friction points: third-party monitoring agents, rootless container runtimes, custom install namespaces, and admission webhooks. Dynatrace OneAgent sidecar conflicts are resolved by labeling all Dev Spaces namespaces with dynatrace.com/inject: “false” to prevent init container injection. Rootless Podman inside workspace pods needs user namespace UID/GID ranges respecting a 65,536 UID ceiling; UDI 3.22 requires a manual script with a corrected range, while UDI 3.26 handles mapping automatically. Stale admission webhooks from a previous operator install namespace must be manually deleted before reinstalling into a different namespace to avoid conflicting definitions. A readiness checklist includes mirroring operator catalogs, deploying an internal Open VSX server with PostgreSQL, configuring PKI trust via ConfigMap, and disabling the default devfile registry.
Building fast filesystems for VMs
Modal’s VM Sandboxes originally used virtio-fs on top of ImageFS, a lazy-loading FUSE filesystem. This stack caused severe performance degradation: recursive chown took over a minute instead of seconds, and tools like bun install and ripgrep ran three times slower. Analysis revealed that every metadata operation like chown required three round trips from the guest VM to the host, each incurring approximately 99 µs overhead. Modal replaced virtio-fs with ImageFS-blk, a block-level solution that presents a virtual block device to the guest, letting the kernel manage its own filesystem. The new approach delivers dramatic speedups: chown dropped from 9.87 to 0.21 seconds, and bun install fell from 12.5 to 1.07 seconds, often exceeding even direct ImageFS performance.
Reducing the noise: How Atlassian built an OCSF security lakehouse on Databricks
Atlassian faced a security data pipeline ingesting 44 billion events daily from 20 years of growth and acquisitions, each with proprietary logging formats. To unify this fragmented telemetry, the team standardized on the Open Cybersecurity Schema Framework (OCSF) and built a security lakehouse on Databricks. They embedded the entire OCSF schema into Go structs (TypeGo), guaranteeing compile-time correctness and reducing AI hallucinations during automated transformation. Table optimization with partitioning and Z-ORDER cut query times by 95%, and Graviton clusters with Photon reduced cost and runtime by two-thirds. The result was a self-service platform where SOC analysts can onboard new data sources in days, and detection teams moved from one-to-one alerts to signal-based clustering using standardized OCSF values.
How our AI Research team uses AI Runtime
Databricks’ AI Research team uses AI Runtime (AIR) to manage hundreds of parallel research workstreams for products like Genie, Smart Routing, and AI Functions, training models from a few billion to nearly a trillion parameters. AIR performs preflight checks on GPU nodes to ensure health and communication before training, and monitors node health during execution to detect issues like NCCL failures or thermal throttling. The AIR CLI and custom Docker containers enable fast experimentation by launching jobs in seconds without rebuilding environments, supporting both supervised fine-tuning and reinforcement learning. MLflow integration automatically tracks experiments, while Unity Catalog FUSE mounting gives governed access to research data across workspaces without changing training code. The team has scaled to agent-led training, where AI agents propose changes, launch trials, and evaluate results, increasing training job volume by 8x across AI Functions research workloads.
Scaling Radar: Fighting fraud with agent-assisted machine learning
Stripe Radar’s Shield model detects transaction fraud using network-wide signals. To improve recall, Stripe expanded training from roughly 800 million to 11 billion transactions, requiring optimizations that cut each epoch from 24 to 4.8 hours through streaming data loading, torch.compile, lower-precision arithmetic, concurrent execution of ResNeXt branches, and memory reductions. The larger dataset initially improved performance, but delayed fraud reports caused label immaturity, forcing a rollback because the model learned late-reported fraud as legitimate. Stripe built Agentic MLE, enabling AI agents to autonomously investigate failures, implement features, train models, and evaluate results using model explanations and prior experiment data. Using these agents, Stripe identified a training configuration change combining stochastic weight averaging at epoch 0 and shortening training to eight epochs, improving Shield’s recall by over 8% and estimating tens of millions in additional fraud prevention annually.
Agentic Development: Time to Shift the Focus
The post argues that the ability to go from idea to pull request using AI agents is now a commoditized problem, with two main approaches: vibe coding for rapid prototyping and human-supervised agentic development for mature products. The real challenges lie in deciding what to build—using criteria such as customer value, clear objectives, product fit, and financial strategy—and validating that the generated code is safe to ship. Validation must cover functional correctness, performance, security, resilience, compliance, and internal code quality using tools like unit tests, contract tests, AI-generated runtime tests, DAST, SAST, dependency scanning, code quality analysis, LLM-based code review, progressive rollout, and formal methods. A risk-based approach applies deeper validation to high-risk components—such as security-critical or data-damaging code—while allowing automated merges for low-risk areas like documentation or demo apps. The focus should shift from code generation to crisp product definition and robust verification pipelines.
Top topics
- Architecture852
- Performance851
- LLMs749
- AI Agents713
- Machine Learning644
- AI632
- Open Source599
- Developer Experience461
Weekly digest
The best engineering reads, once a week.