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
fix(imports): replace tinyagents with tinyagents_harness for common types
Steven Enamakel58c31d07410c
diff --git a/src/openhuman/agent/harness/session/transcript_history.rs b/src/openhuman/agent/harness/session/transcript_history.rsindex 105ffecf94..ef2d41d73c 100644--- a/src/openhuman/agent/harness/session/transcript_history.rs+++ b/src/openhuman/agent/harness/session/transcript_history.rs@@ -154,7 +154,7 @@ use std::sync::Arc;use async_trait::async_trait;use tinyagents_harness::memory::ChatHistory;use tinyinference::message::Message;-use tinyagents::{Result as TaResult, TinyAgentsError};+use tinyagents_harness::{Result as TaResult, TinyAgentsError};use crate::openhuman::agent::message_convert::{history_to_messages, message_to_chat_message};use crate::openhuman::agent::messages::ChatMessage;diff --git a/src/openhuman/agent/orchestration/spawn_parallel_graph_part_01.rs b/src/openhuman/agent/orchestration/spawn_parallel_graph_part_01.rsindex 28906d1c4d..ad3a667654 100644--- a/src/openhuman/agent/orchestration/spawn_parallel_graph_part_01.rs+++ b/src/openhuman/agent/orchestration/spawn_parallel_graph_part_01.rs@@ -14,7 +14,7 @@ use tinyagents_graph::{};use tinyagents_harness::retry::RetryPolicy;use tinyagents_harness::workspace::{WorkspaceDescriptor, WorkspaceIsolation};-use tinyagents::{CancellationToken, TinyAgentsError};+use tinyagents_harness::{CancellationToken, TinyAgentsError};use crate::openhuman::agent::file_state;use crate::openhuman::agent::harness::definition::{diff --git a/src/openhuman/agent/orchestration/workflow_runs/engine_part_01.rs b/src/openhuman/agent/orchestration/workflow_runs/engine_part_01.rsindex e0da13abb2..2824198df2 100644--- a/src/openhuman/agent/orchestration/workflow_runs/engine_part_01.rs+++ b/src/openhuman/agent/orchestration/workflow_runs/engine_part_01.rs@@ -5,7 +5,7 @@ use std::sync::{Arc, Mutex, OnceLock};use anyhow::{anyhow, Context, Result};use serde_json::{json, Value};use tinyagents_graph::parallel::{map_reduce, FailurePolicy, ParallelOptions};-use tinyagents::{CancellationToken, TinyAgentsError};+use tinyagents_harness::{CancellationToken, TinyAgentsError};use crate::openhuman::agent::orchestration::parent_context::with_root_parent;use crate::openhuman::config::Config;diff --git a/src/openhuman/agent/tinyagents/embeddings.rs b/src/openhuman/agent/tinyagents/embeddings.rsindex f7b0b927ba..fcdc5af391 100644--- a/src/openhuman/agent/tinyagents/embeddings.rs+++ b/src/openhuman/agent/tinyagents/embeddings.rs@@ -23,7 +23,7 @@ use std::sync::Arc;use async_trait::async_trait;use tinyinference::embeddings::EmbeddingModel as TaEmbeddingModel;-use tinyagents::{Result as TaResult, TinyAgentsError};+use tinyagents_harness::{Result as TaResult, TinyAgentsError};use crate::openhuman::inference::embeddings::EmbeddingProvider;diff --git a/src/openhuman/inference/provider/openhuman_backend_model.rs b/src/openhuman/inference/provider/openhuman_backend_model.rsindex 7047cb19bf..dfc8184725 100644--- a/src/openhuman/inference/provider/openhuman_backend_model.rs+++ b/src/openhuman/inference/provider/openhuman_backend_model.rs@@ -33,7 +33,7 @@ use tinyinference::model::{ChatModel, Modalities, ModelProfile, ModelRequest, ModelResponse, ModelStream, ProviderError,};use tinyinference::providers::openai::OpenAiModel;-use tinyagents::{Result as TaResult, TinyAgentsError};+use tinyagents_harness::{Result as TaResult, TinyAgentsError};use super::ProviderRuntimeOptions;use crate::api::config::effective_api_url;