
Description
agentforce-observe is a Salesforce agent skill for studying how Agentforce agents behave in production and improving them. It follows three phases. Observe: query session trace data from Data Cloud when available, or fall back to running test suites and previews with local traces. Reproduce: use sf agent preview to replay problem conversations live. Improve: edit the .agent file, validate, publish and verify the fix. It also manages Agent Health Monitoring alerts. Examples use bash, with notes on PowerShell equivalents for Windows and a Python fallback when jq is missing. It is part of the forcedotcom/sf-skills repository.…
Highlights
- Queries session traces from Data Cloud
- Falls back to test suites and local traces
- Replays issues with sf agent preview
- Edits, validates and publishes .agent files
- Manages Agent Health Monitoring alerts
Ratings & Reviews
No ratings yet
Be the first to rate agentforce-observe.
People also visit

agentforce-architecture-analyze
Declared architecture snapshot for one Agentforce agent: planner, topics

sf-ai-agentforce-testing
Agentforce agent testing with dual-track workflow and 100-point scoring

observing-agentforce
Analyze production Agentforce agent behavior using session traces and Data Cloud

developing-agentforce
Build, modify, debug, and deploy agents with Agentforce Agent Script
agentforce-observe FAQ
What does agentforce-observe help with?
Finding and fixing problems in production Agentforce agents using session traces and live preview testing, and managing Agent Health Monitoring alerts.
What is the install command?
Install it with the skills CLI: `npx skills add https://github.com/forcedotcom/sf-skills --skill agentforce-observe`.
What if Data Cloud is not available?
The skill falls back to running test suites and previews with local traces.
Does it work on Windows?
Examples use bash, and the page lists PowerShell or Git Bash equivalents, including replacing python3 with python and jq with a Python one-liner.
Has the skill been security audited?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Warn.
What are the best agentforce-observe alternatives?
Popular alternatives to agentforce-observe include agentforce-architecture-analyze, agentforce-test and sf-ai-agentforce-testing. See all agentforce-observe alternatives


