Skip to content

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

test(agent_harness_e2e): boot hosted backend transport in stack setup

Steven Enamakel2c68b0f88bd7
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index e936b3a345..52b5b4900d 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -17,6 +17,8 @@ mod env_guard;
mod linked_modules;
#[path = "support/scripted_stack.rs"]
mod scripted_stack;
+#[path = "support/tinyhumans_boot.rs"]
+mod tinyhumans_boot;
use env_guard::EnvVarGuard;
use scripted_stack::{
assert_no_jsonrpc_error, current_user, lock_or_recover, text_completion, tool_calls_completion,
@@ -695,6 +697,10 @@ async fn boot_stack() -> Stack {
const SUPERVISED_AUTONOMY_CONFIG: &str = "[autonomy]\nenabled = true\nlevel = \"supervised\"\n";
async fn boot_stack_with_config(extra_config: &str) -> Stack {
+ // This suite boots the core in-process, so install the hosted backend
+ // transport before any RPC can reach backend-backed providers.
+ tinyhumans_boot::boot();
+
// Ensure the global AgentDefinitionRegistry is populated with built-in
// archetypes (orchestrator, vision_agent, task_manager_agent, etc.) before
// the RPC stack starts. Without this the session builder cannot synthesise