Expand description
Opt-in Guide that renders harness_core::UserProfile into the agent’s system prompt.
Add to your loop when you want every model call to know who it’s working for:
ⓘ
AgentLoop::new(model)
.with_guide(std::sync::Arc::new(harness_loop::ProfileGuide))
.run(task, &mut world).await?;The framework deliberately does NOT auto-attach this — World.profile is
a slot the app fills however it wants (env, CLI, app-side config), and
injection into the prompt is also the app’s call.
Structs§
- Profile
Guide - Renders
World.profileas a one-lineUser profile: …block in the agent’sguidessection. No-op when the profile is empty.