get_prompt method to fetch the latest content
and uses it as the agent’s system prompt.
Using CozeLoop
VeADK shipsCozeloopPromptManager, which connects the system prompt to
CozeLoop’s cloud prompt management.
Install the CozeLoop Python SDK:
CozeLoop caches prompts locally with a one-minute refresh interval. If fetching
fails, it falls back to VeADK’s default system prompt.
Custom prompt manager
To load prompts from your own configuration service, database, or files, subclassBasePromptManager and implement get_prompt. It is called before
handling each user request, and the returned string becomes the agent’s system
prompt.