The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(tinyflows): add agent, llm, and ops capability modules
Steven Enamakelff01fdb4ed9b
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/agent.rs b/crates/openhuman-core/src/flows/tinyflows/caps/agent.rsindex 49f08ec982..6c011a21f7 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/agent.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/agent.rs@@ -567,6 +567,7 @@ impl OpenHumanAgentRunner {}OpenHumanLlm {+ ctx: self.ctx.clone(),config: self.config.clone(),}.complete(request, conn)diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/llm.rs b/crates/openhuman-core/src/flows/tinyflows/caps/llm.rsindex 5c895a6cbb..16301f23f1 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/llm.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/llm.rs@@ -39,6 +39,7 @@ use tinyinference_llm::model::ModelRequest;/// still lets the agent node's `output_parser` sub-port coerce it via the/// schema auto-fix path before enveloping.pub struct OpenHumanLlm {+ pub ctx: crate::core::runtime::DispatchCtx,pub config: Arc<Config>,}@@ -101,7 +102,7 @@ impl LlmProvider for OpenHumanLlm {"[flows] llm.complete: dispatching agent-node completion");- let (chat_model, model) = create_chat_model_with_model_id(role, &self.config, temperature)+ let (chat_model, model) = create_chat_model_with_model_id_in(&self.ctx, role, &self.config, temperature).map_err(|e| EngineError::Capability(e.to_string()))?;// `create_chat_provider` handed back the role's default model. If the node// pinned a raw/BYOK id, forward it verbatim instead (issue #4598).diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rsindex ce7bdb3b6f..70561e5db3 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs@@ -641,6 +641,7 @@ pub fn build_capabilities(Capabilities {llm: Arc::new(OpenHumanLlm {+ ctx: ctx.clone(),config: config.clone(),}),tools: Arc::new(OpenHumanTools {