Skip to content

007hritik/agentforceInspector

Repository files navigation

Agentforce Inspector

A Chrome Extension that lets you inspect Agentforce conversations, LLM interactions, and event logs on any Salesforce org — no deployment required.

It extracts the Salesforce session from the browser and makes direct REST API calls to surface what's happening under the hood of your Agentforce agents.

How to Use

  1. Open a Salesforce org with Agentforce
  2. Click the extension icon — it opens the inspector in a new tab
  3. Paste any Agentforce session ID in the search bar:
    • MessagingSession ID (e.g. 0MwHs0******7Q3) — for Embedded Messaging conversations
    • AiAgentSession UUID (e.g. 019cfb39-7369-7f4f-aedd-f3dc88******) — for any Agentforce session (Employee, Sales, SDR etc)
  4. Click Load to inspect the session

Views

Conversation (Key: 1)

Chat-style view showing user/agent turns. Click a turn to expand and see LLM steps, planner events, and agent actions. Click an LLM step to open the detail panel on the right — it shows the full prompt, response, message chain, tools, and variable diffs. Drag the panel's left edge to resize it.

Timeline (Key: 2)

Chronological timeline of everything that happened: user messages, LLM calls, planner events, and agent responses. Shows trace IDs and span IDs for each interaction.

Technical (Key: 3)

Data tables with sorting and filtering:

  • LLM Interactions — All request/response pairs with model, tokens, and copy actions
  • Event Logs — Planner events, context setup, and action logs with success/error status
  • Metrics — Token usage, model distribution, error rates

Features

  • Three views for different levels of detail (conversation, timeline, technical)
  • Resizable detail panel in conversation view — drag to widen up to 50%
  • Trace ID & Span ID display across conversation and timeline views
  • SQL copy buttons on every turn, event, and LLM step for quick Data Cloud queries
  • Timezone support — auto-detects from your Salesforce user settings, configurable in Settings
  • Multi-org support — works with multiple Salesforce orgs, matches sessions by domain
  • One-click export of full conversation data as JSON
  • Keyboard shortcuts1/2/3 to switch views, Ctrl+R / Cmd+R to refresh
  • Auto session detection — picks up session info from the active Salesforce tab
  • Settings page — configure timezone, MCP server (coming soon), and manage sessions

Requirements

  • Google Chrome (or Chromium-based browser)
  • A Salesforce org with Agentforce enabled
  • Agentforce session tracing (STDM) must be enabled on the org
  • No Apex, no LWC, no deployment needed

About

Let you inspect Agentforce Sessions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors