docs: add deep dive article on flow control and reasoning block behavior#12
Merged
elijahbenizzy merged 2 commits intoApr 28, 2026
Merged
Conversation
Add a detailed walkthrough of AgentScript's two-phase execution model (deterministic parse vs. LLM reasoning), covering primitives, flow of control diagrams, a turn-by-turn example conversation with compiled prompts and tool visibility, observability traces, and behavioral observations about pipe-prefixed instructions. Includes 4 diagrams/screenshots and a companion .agent file.
|
Thanks for the contribution! Before we can merge this, we need @NikhilKGupta to sign the Salesforce Inc. Contributor License Agreement. |
elijahbenizzy
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add a detailed walkthrough of AgentScript's two-phase execution model (deterministic parse vs. LLM reasoning), covering primitives, flow of control diagrams, a turn-by-turn example conversation with compiled prompts and tool visibility, observability traces, and behavioral observations about pipe-prefixed instructions.
Includes 4 diagrams/screenshots and a companion .agent file.
Why
Fixes #11
How
apps/docs/docs/dialects/agentforce/ascript-deep-dive-flow.mdwith the full article content, Docusaurus frontmatter, and image paths rewritten to use the static asset convention (/img/agent-script/deep-dive/...)..agentfile toapps/docs/static/img/agent-script/deep-dive/.dialects/agentforce/ascript-deep-dive-flowtoapps/docs/sidebars.ts, positioned after the existing "Flow of Control" page since it serves as a companion deep dive.Test Plan
pnpm docs:devand verified the article renders correctly at http://localhost:27000/dialects/agentforce/ascript-deep-dive-flow.agentfile resolvespnpm buildinapps/docsand confirmed no new broken links or build errors (pre-existing warnings on other pages are unchanged)Checklist