Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(agent): add graph harness module

Steven Enamakelb36f0e356bbb
diff --git a/crates/openhuman-core/src/agent/harness/graph.rs b/crates/openhuman-core/src/agent/harness/graph.rs
index 600981a9be..b68220c0d1 100644
--- a/crates/openhuman-core/src/agent/harness/graph.rs
+++ b/crates/openhuman-core/src/agent/harness/graph.rs
@@ -59,6 +59,7 @@ pub(crate) async fn run_channel_turn_via_graph(
origin: Option<crate::agent::turn_origin::AgentTurnOrigin>,
sandbox_mode: tinyagents_definition::SandboxMode,
approval: crate::security::approval::ApprovalTurnContext,
+ memory_identity: crate::memory::scope::MemoryIdentity,
) -> Result<crate::agent::tinyagents::TinyagentsTurnOutcome> {
let extra_arc = Arc::new(extra_tools);
@@ -142,6 +143,7 @@ pub(crate) async fn run_channel_turn_via_graph(
let mut run_context = crate::agent::tinyagents::host::OpenHumanRunContext::new();
run_context.origin = origin;
run_context.approval = approval;
+ run_context.memory_identity = Some(memory_identity);
run_context.sandbox_mode = Some(sandbox_mode);
run_context.workspace = attachment_workspace.map(tinytools::WorkspaceDescriptor::new);
seed_channel_attachments(&mut run_context, &prepared);