<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/reducing-agentforce-debugging-to-one-day-with-query-driven-observability-leacfrxu8" -->

---
title: Reducing Agentforce Debugging to One Day with...
description: Salesforce's Interactive Data Science team built a query-driven observability platform called Einstein Notebooking to debug Agentforce AI agents in production....
canonical: https://daily.dev/posts/reducing-agentforce-debugging-to-one-day-with-query-driven-observability-leacfrxu8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Reducing Agentforce Debugging to One Day with Query-Driven Observability | daily.dev
og:description: Salesforce's Interactive Data Science team built a query-driven observability platform called Einstein Notebooking to debug Agentforce AI agents in production....
og:url: https://daily.dev/posts/reducing-agentforce-debugging-to-one-day-with-query-driven-observability-leacfrxu8
og:image: https://api.daily.dev/og/posts/lEaCfrXu8.png
og:image:alt: Reducing Agentforce Debugging to One Day with Query-Driven Observability
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Reducing Agentforce Debugging to One Day with Query-Driven Observability

**[Salesforce Engineering](https://daily.dev/sources/salesforceeng)** · 7 min read · 4 upvotes · 0 comments

## Summary

Salesforce's Interactive Data Science team built a query-driven observability platform called Einstein Notebooking to debug Agentforce AI agents in production. Traditional logs and metrics couldn't expose the internal retrieval, chunking, and embedding steps that drive agent responses. By enabling direct Spark DataFrame-based queries against production indexes — including vector, keyword, and hybrid search — engineers can now inspect document chunks, embeddings, and session-level signals in a single notebook environment. A notebook-based inner loop replaced a slow multi-stage deployment workflow requiring 10+ manual steps across 3-4 repositories, cutting investigation times from two weeks to a single day. The system enforces strict security via IAM-backed access, mutual TLS, tenant-scoped contexts, and a gRPC gateway, supporting 600 users across 60+ Agentforce features and datasets exceeding 400 million records.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://engineering.salesforce.com/reducing-agentforce-ai-debugging-from-two-weeks-to-same-day-with-query-driven-observability/>

## Similar posts on daily.dev

- [How AI Transformed Database Debugging at Databricks](https://daily.dev/posts/how-ai-transformed-database-debugging-at-databricks-xdhmgnzkw) · ByteByteGo · 8 upvotes · 0 comments
- [How We Debug 1000s of Databases with AI at Databricks](https://daily.dev/posts/how-we-debug-1000s-of-databases-with-ai-at-databricks-c1qxhga8g) · databricks · 1 upvotes · 0 comments
- [How Agentforce Runs Secure AI Agents at 11 Million Calls Per Day](https://daily.dev/posts/how-agentforce-runs-secure-ai-agents-at-11-million-calls-per-day-uhsjtrcrq) · Salesforce Engineering · 9 upvotes · 0 comments
- [Bringing you the Data Agent Kit](https://daily.dev/posts/bringing-you-the-data-agent-kit-2nwdfzwf3) · Google Cloud · 0 upvotes · 0 comments
- [AI Agent Observability: Logging, Tracing, and Debugging Explained](https://daily.dev/posts/ai-agent-observability-logging-tracing-and-debugging-explained-95izimukh) · Machine Learning Mastery · 1 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#apache-spark](https://daily.dev/tags/apache-spark), [#observability](https://daily.dev/tags/observability), [#rag](https://daily.dev/tags/rag), [#salesforce](https://daily.dev/tags/salesforce)

[View this post on daily.dev](https://daily.dev/posts/reducing-agentforce-debugging-to-one-day-with-query-driven-observability-leacfrxu8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Reducing Agentforce Debugging to One Day with Query-Driven Observability","url":"https://daily.dev/posts/reducing-agentforce-debugging-to-one-day-with-query-driven-observability-leacfrxu8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/reducing-agentforce-debugging-to-one-day-with-query-driven-observability-leacfrxu8"},"datePublished":"2026-04-13T21:36:19.754Z","dateModified":"2026-10-14T02:23:20.662Z","description":"Salesforce's Interactive Data Science team built a query-driven observability platform called Einstein Notebooking to debug Agentforce AI agents in production....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1b18a5d9e3c2935587146e532e586b2b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1b18a5d9e3c2935587146e532e586b2b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Salesforce Engineering","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Salesforce Engineering","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/513375817ec24d97b9cdb5efd16f87f2","url":"https://daily.dev/sources/salesforceeng"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/reducing-agentforce-debugging-to-one-day-with-query-driven-observability-leacfrxu8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,apache-spark,observability,rag,salesforce","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Salesforce Engineering","item":"https://daily.dev/sources/salesforceeng"},{"@type":"ListItem","position":3,"name":"Reducing Agentforce Debugging to One Day with Query-Driven Observability"}]}
```

