Skip to main content

Overview

UseSystemPrompt derives the available-tools and guidelines sections from the resolved AgentProfile. The example executes the real prompt hook with a fake driver, proving that the derived text reaches agent state without making a provider request.

Example