Hi all, I am new to Koog and just finished watchin...
# koog-agentic-framework
g
Hi all, I am new to Koog and just finished watching the two live streams. I would like to create an agent that will have two system messages or personas. The first persona produces some output that is then passed to the 2nd in my strategy graph. Is there a way to completely replace the previous system message in an agent, or does it need to be done similar to what was done in the 2nd live stream where different structured (xml, json, etc) instructions were used in separate nodes?
a
Hi! You can do the system message replacement inside the strategy via
llm.writeSession { rewritePrompt {...} }
construction (see Updating the prompt).
g
Thank you!
🙌 3