Loading…

Salesforce
The world's leading cloud-based Customer Relationship Management (CRM) platform that helps businesses manage customer data, interactions, and internal workflows.
- 33 posts summarised
- latest
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.
From their blog
Latest articles
How MuleSoft Rebuilt a Live Observability Platform While Migrating 39 Petabytes of Customer Data
MuleSoft’s observability platform faced operational challenges with nearly 3,000 monitoring clusters and 153 services. The team rebuilt the platform on Salesforce’s Hyperforce, consolidating clusters to 24 and reducing services to 43. They standardized on OpenTelemetry and built a translation layer to preserve existing customer APIs and UI. Automated end-to-end validation compared queries and alerts across both environments during the migration of 39 petabytes of telemetry. The rollout was sequenced across more than 12 regions in customer batches over a year, achieving a 5x gain in infrastructure efficiency and 2X improvement in query latencies.
Supercharging AI Agents: Build a Git-Based Engineering Knowledge Framework in 20 Minutes
Salesforce built the Second Brain, a Git-based engineering knowledge framework, to address scattered engineering decisions that caused AI agents to act on outdated or contradictory information. The system uses LLM-powered skills and a plugin to create domain-specific repositories connected by a knowledge graph, preserving architectural decisions, source evidence, and implementation details. An initial attempt with a single repository failed due to slow retrieval and high token consumption, leading to a shift to 21 smaller, domain-specific brains. The framework helps automate approximately 80% of Kubernetes upgrades, reducing human effort from three months to three weeks. The post provides a tutorial to create an initial Git-based knowledge repository in about 20 minutes, starting with one engineering domain.
5 Lessons in AI Context Engineering: Why More Context Is Not Better
AI agents retrieving customer context from fragmented enterprise systems face latency and accuracy tradeoffs, with traditional approaches like runtime calls or warehouse joins adding seconds to responses; one tenant had over 1,000 SKUs and 800 cancelled orders. Salesforce addressed this by building Data 360 data graphs that precompute identity resolution, entitlement calculations, and joins before agent queries, moving complex data preparation out of the conversational critical path. Production graph lookups achieved a median latency below 200 milliseconds, down from early benchmarks of approximately 400 milliseconds. Storing scores in Data 360 reduced average latency by approximately 48% at five concurrent callers and 40% at 30 compared to zero-copy views. The team automated deployment and validation, uncovering 2,765 tenants with missing account IDs during testing and reducing sandbox recovery from days to about eight minutes.
How an AI Agent Cut Production Change Reviews From 24 Hours to 12 Seconds
Salesforce’s release team faced a dangerous scenario where an AI agent could approve a production change without verifying required signoffs. To solve this, the team built ROAM (Release Operations Agentic Manager), an Agentforce-pattern agent that automates CAB reviews across 18 Salesforce products. ROAM uses deterministic code gates to independently verify each approval requirement, such as QA test runs and architect signoffs, while the LLM only narrates the result. The system reduced median review turnaround from approximately 24 hours to 12 seconds, with the 95th percentile below 45 seconds. Over 550 CAB reviews in 10 weeks, ROAM recorded zero incorrect approvals, leading release engineering to make it mandatory for every production patch.
Building Predictive AI Models When Synthetic Data Is All You Have
Salesforce’s team faced the challenge of building predictive AI models for IT service management without real customer incidents to learn from. They generated synthetic training data by asking product managers for sample scenarios, varying features, and using open-source LLMs to produce additional records. Validation was difficult because SLA breaches are rare, making aggregate accuracy misleading; the team instead tested whether predictions responded correctly to isolated risk factors and whether explanations matched what a service manager would flag. The solution was to ship a training contract—Data Model Object API names, transformation logic, and model structure—so each customer’s incident history determines the learned XGBoost parameters. Data 360 connects data preparation, model training, inference, and presentation through the same template, enabling reusable customer-specific pipelines without sharing trained models.
How AI Slashed 600-Test-Failure Triage From Days to 90 Minutes
Salesforce’s retirement of its SOAP API login mechanism deliberately triggered more than 600 test failures, creating a blast radius where genuine regressions could hide among expected failures. The existing manual triage workflow could process only 50 failures at a time, often created duplicate work items, and sometimes misrouted failures, requiring two or three days of effort by multiple engineers. The team built AI-Assisted Test Failure Buddy as a Python and FastMCP process exposing eight tools to Claude Code or Cursor, connecting to Salesforce’s internal GUS workflow system. Deterministic code handles API operations and regex parsing, while AI interprets novel stack traces and resolves ambiguous ownership across teams. One engineer processed 600 failures in approximately 90 minutes using the tool, which has since been adopted by three or four teams.
6 AI Agent Capabilities to Evaluate Before Enterprise Deployment
Salesforce’s AI Research team built EGI-Bench to evaluate whether an AI agent is truly ready for enterprise deployment. The framework combines eight independently developed enterprise benchmarks into a single scoring system organized around six skill dimensions: task outcomes, tool actioning, planning, grounding, safety, and engineering. EGI-Bench spans more than 20 subdomains and more than 1,500 test tasks, and it provides both a deep mode for comprehensive evaluation and a quick mode for a faster directional signal. Testing 14 LLMs revealed that no single model excelled across all dimensions, that multi-step planning remains a challenge, and that cost-efficient models are increasingly competitive. The framework is available on GitHub with customizable weights so practitioners can prioritize the capabilities most relevant to their use case.
How Salesforce Scaled Engineering AI Adoption Without Stifling Innovation
Salesforce’s Hyperforce Runtime Platform (HRP) organization faced scattered AI experiments across 500 engineers in 70-80 scrum teams, with overlapping efforts and tight delivery commitments. The team established a federated AI adoption model with an AI Steering Committee, AI Champions, and the HRPDX shared Claude Code plugin to distribute AI instructions and skills. Teams contributed capabilities by solving their own pain points, with ownership assigned to the building team for end-to-end delivery and support. Within three months, AI adoption approached 100%, yielding a 26% gain in team throughput, a 32% improvement in inner-loop efficiency, and cycle time cut from 22 days to 11 days. The AI paved path model sustains adoption by continuously connecting emerging bottlenecks to available capabilities through metrics and a feedback loop.
Using AI to Build AI: How Agentforce Engineers Scale Automation Without Sacrificing Reliability
The Agentforce team at Salesforce faced the challenge of using AI to help build and maintain the Atlas Reasoning Engine without compromising reliability. The central risk was that AI could diagnose problems, modify the engine, test fixes, and review its own work while being confidently wrong. To address this, the team built an integrated engineering knowledge base using semantic retrieval to connect fragmented knowledge across incidents, fixes, and discussions. They implemented layered AI evaluation with an agent-as-a-judge model and human oversight, using different models to review work from different perspectives to avoid self-preference bias. As a result, typical bug-resolution time dropped from two to four weeks to one or two days, and system availability reached 100% in weekly reports during the observed period.
Apache Spark Resource Optimization: Lessons From Eight Million Jobs a Day
Salesforce Data 360 processes about eight million Apache Spark executions daily, where successful completion alone does not confirm efficient resource use. The team instrumented the shared Data Processing Controller (DPC) gateway with a DataFlint Spark listener plugin to capture per-executor CPU, memory, shuffle, and zero-task metrics without application code changes. Metrics stream through Kafka into an Iceberg lakehouse, and a curated Silver analytic layer ensures analysis uses only complete, comparable runs and correctly handles retries and missing data. Investigation revealed workloads that repeatedly allocated executors performing zero tasks, enabling targeted reductions like lowering initial executors from forty to four. After staged production rollout monitored for runtime, spill, retries, and platform pressure, weekly compute-cost run rate fell 31% while DPC job starts grew over 7%.
AI Agents Need Memory: Building Persistent Memory for Agentforce
Enterprise AI agents without persistent memory suffer from the “Groundhog Day” problem, repeatedly asking users to re-explain themselves. Agentforce Memory addresses this by giving agents persistent memory that retains user preferences, conversation history, and context across sessions. The team first established a shared terminology document to define concepts like semantic and episodic memory before architectural discussions could proceed. The architecture evolved incrementally, starting with conversation history injection and later adding semantic retrieval to find relevant past information regardless of recency. Memory retrieval uses keyword search during pre-orchestration to balance context quality with low latency, and moving memory into the Reasoner simplified configuration for administrators. Privacy and user trust were treated as architectural requirements from the start, enabling individual user controls over memory creation and management.
How Deterministic Controls Turn AI Output Into Reliable Prompt Templates
Salesforce’s Assistive Authoring aimed to reduce prompt-template creation from 25 minutes to under a minute by using Agent Graph. A router node dispatches natural-language requests to specialized sub-agents for creation, refinement, or clarification while state variables carry context. Deterministic controls prevent the LLM from corrupting routing, record identity, or structured output through guarded transitions and a server-side transpose layer. A discovery service normalizes available data fields into an allowlist, and the LLM can only select from validated references. A human-in-the-loop gate ensures the agent never saves or executes, presenting output as an accept-or-reject diff only.
Engineering Multi-Agent AI Teams That Build and Test Themselves
Salesforce Marketing Cloud’s AI Delivery Lead Sohini Arya and team built Agent Designer, a system that automates the creation and testing of multi-agent AI teams. The orchestrator cannot write agent files itself; instead, seven specialist agents analyze architecture, failure modes, and compliance before the orchestrator synthesizes findings for human review. The system transforms an engineer’s request into a tested multi-agent team in 15-30 minutes, down from 2-4 hours manually, and helped approximately 200 engineers adopt the manager-of-agents model. Governance challenges included enforcing write-scope boundaries via prompts, reconciling independently produced design conflicts, and applying topology-specific budget formulas that account for flat, swarm, or team structures. Verifier agents return structured PASS/WARN/FAIL blocks, and self-healing is limited to two fix attempts and a $3 ceiling to prevent runaway repairs, with the orchestrator’s 500-turn budget divided across analysis, approval, generation, testing, and retries.
How Intelligent Load Shedding Prevents Cascading Failures in Tier-0 Systems
Salesforce’s Cloud Atlas team operates a globally distributed identity data store that must maintain five nines of availability, roughly five minutes of downtime per year. The team redesigned service protection after per-instance rate limiting proved insufficient under autoscaling and increasingly bursty, unpredictable agent-driven traffic. The new approach combines intelligent load shedding, which monitors queue time as an early indicator of system pressure before error rates spike, with coordinator-free global quota management. Servers independently measure and share customer usage to throttle noisy tenants without a centralized coordinator, preventing one customer’s surge from affecting others. This design prevents cascading failures by shedding lower-priority work before overload spreads across dependent services, ensuring graceful degradation rather than widespread outage.
AI Agent Observability: Making Silent Production Failures Visible and Actionable
Agentforce Health Monitoring (AHM) addresses silent availability failures in production AI agents that traditional monitoring misses because agents can appear healthy even when unreachable. The team unified telemetry from approximately five or six locations across sessions, reasoning steps, tool calls, errors, and escalations into a coherent representation. End-to-end alerting latency was reduced from roughly 20 minutes to several minutes by converting Data 360 ingestion to streaming and simplifying query complexity. AHM provides 16+ built-in metrics including agent availability, error rate, response/escalation rate, engagement, and latency, with a drill-down interface connecting alerts to session context. The roadmap includes cost, TTFT/TTLT, toxicity, feedback metrics, RAG Quality Monitoring integration, and eventually a runtime insight agent for root-cause analysis and automated remediation.
How Data 360 Builds Trusted Context: The Enduring Layer for Enterprise AI
Enterprise AI needs a way to assemble the smallest sufficient set of current, relevant, and authorized evidence for each agent turn instead of sending an entire data estate to a model. Salesforce presents Data 360 as a shared Trusted Context runtime spanning Salesforce, external platforms such as Databricks and Snowflake, operational systems, documents, knowledge bases, and live signals. Its progressive pipeline connects data through ingestion and Zero Copy, then harmonizes, unifies, models, retrieves, reconciles, governs, and compiles evidence into a token-fit Context Pack with citations and action contracts. The Agent Context Engine also returns typed interaction traces, promoting only approved facts into durable memory and validated outcomes into learnings. Q2 FY27 production usage is reported at 104.3 trillion connected records, including 81.5 trillion Zero Copy rows, while proposed benchmarking covers correctness, authorization, provenance, freshness, latency, cost, and memory continuity.
How AI Agents Get Trusted Customer Context with Data 360 Data Graphs
Salesforce’s AI Engineering team uses Data 360 data graphs to close the context gap that prevents agents from reliably personalizing customer interactions. The graphs join, aggregate, and apply business logic across fragmented identities, accounts, products, contracts, orders, cases, services, and entitlements, while partitioned data spaces provide a filtered customer-success view. The team designs smaller graphs or multi-graphs around agent access patterns, adds indices, supports semantic or keyword search, and curates context so agents can traverse extensible many-to-many relationships without receiving unnecessary data. Reusable deployment automation and validation practices helped deliver five major releases in six months, with integrations spanning Postman, Apex, Agentforce, and low-code or no-code workflows. Live monitoring later showed P50 performance below 200 milliseconds, compared with an earlier benchmark of about 400 milliseconds.
Engineering Real-Time Mobile Personalization Across iOS, Android, React Native, and Flutter
Building real-time mobile personalization across iOS, Android, React Native, and Flutter required one architecture to handle different rendering models, lifecycles, identity flows, consent requirements, and release cycles without disrupting native app experiences. The team standardized schemas, event semantics, identity behavior, fallback handling, and SDK APIs, using bridge layers so React Native and Flutter could access native iOS and Android capabilities. Developers instrument apps once with constrained content zones and approved native components, while marketers configure templates, targeting, and content through Salesforce UI; metadata is published via a global CDN and rendered dynamically by the SDK. Data 360 performs server-side identity resolution and decisioning, limiting unnecessary raw profile storage on devices. An early customer implemented the system in two months and generated more than 150 million decisions within three weeks, while QR-code previews enabled testing against live profiles without app recompilation.
Enterprise AI Accuracy: Building a More Trustworthy RAG Application
An enterprise RAG pipeline scored above 90% on standard text-retrieval benchmarks but approximately 46% on complex, customer-representative documents, with failures spanning parsing, chunking, enrichment, embeddings, retrieval, and answer generation. The proposed diagnostic traces wrong answers backward from generated response to retrieved context, chunks, and parsed source, using human-validated end-to-end evaluation and changing one stage at a time. Intelligent Parsing routes pages according to complexity and preserves relationships in structures such as multi-page tables; in a staged benchmark, it raised accuracy from 65.1% to 84.4%, while Enriched Indexing raised it to 86.8%. Retrieval improvements include dynamic metadata pre-filters for explicit constraints and GraphRAG for multi-hop evidence, with GraphRAG slated for general availability in November 2026. Across broader improvements, complex-document accuracy exceeded 90%, and service-based Just-in-Time indexing reduced sub-100 MB payload indexing from 30+ minutes to approximately seven to ten minutes.
How Metadata and Runtime Telemetry Reveal Which Enterprise System Problems to Fix First
Salesforce Health Insights addresses enterprise org health monitoring by combining configuration metadata with runtime telemetry to identify and prioritize remediation. The team evolved a static report into an in-app experience with durable finding dispositions, approximately 400+ signals across domains, and standards informed by Well-Architected principles and implementation anti-patterns. A shared harmonization layer reconciles fragmented datasets, connector patterns link runtime activity to metadata components, and the system preserves data origin, freshness, and access requirements while keeping deterministic findings distinct from externally supplied context. Prioritization combines findings with request volume, application and database CPU, call behavior, and peak-business-hour traffic to rank next best actions by criticality and effort. A headless JSON schema supports interfaces including an MCP connection, while the deterministic core is intended to produce dependable recommendations and extend access beyond the primary interface.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.