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
Merge pull request #6343 from senamakel/remove-threads
Steven Enamakelea5281f65754
diff --cc crates/openhuman-core/src/agent/tinyagents/README.mdindex a0846c60ae,b310d5bc50..ba332ef48f--- a/crates/openhuman-core/src/agent/tinyagents/README.md+++ b/crates/openhuman-core/src/agent/tinyagents/README.md@@@ -46,10 -46,10 +46,10 @@@ The **adapter seam** between OpenHuman| `steering_forwarder.rs` | `SteeringForwarderGuard`: forwards `RunQueue` steer/collect messages into the harness `SteeringHandle`; abort-on-drop so drop-based cancellation always deregisters it (issue #4456). || `stop_hooks.rs` | `StopHookMiddleware`: evaluates OpenHuman `StopHook`s after each model call and pauses the run via steering on the first `Stop` decision. || `summarize.rs` | `ModelSummarizer` / `FaultTolerantCachingSummarizer` plus a context-window-aware `SummarizationPolicy` driving the crate's `ContextCompressionMiddleware`. |-| `embeddings.rs` | `ProviderEmbeddingModel`: adapts `crate::inference::embeddings::EmbeddingProvider` onto the crate's `EmbeddingModel` trait. |+| `embeddings.rs` | `ProviderEmbeddingModel`: adapts `crate::inference::embedding_host::EmbeddingProvider` onto the crate's `EmbeddingModel` trait. || `retriever.rs` | `recall_through_facade` / `build_retriever`: wraps `Memory::recall`, projects onto the crate's `ScoredDoc`, applies the `path_scope` dedupe rule, emits `MemoryLoaded`. || `thread_context.rs` | Task-local ambient `thread_id` (`with_thread_id`, `current_thread_id`) read by the OpenAI-compatible provider when serialising request bodies. |- | `todos.rs` | `todos_store` / `scratch_todos_store` (the crate `Store` behind per-thread task boards, `tinyagents_graph::todos`) and `migrate_legacy_task_boards`, the one-shot import run at startup. |+ | `todos.rs` | `todos_store` / `scratch_todos_store` (the crate `Store` behind per-thread agent todos, `tinyagents_graph::todos`). || `config.rs` | Maps OpenHuman's `Config` (including model pins) onto `tinyagents_harness::config` structs. || `*_tests.rs` | Sibling test suites for each file/part group above. |diff --cc crates/openhuman-core/src/skills/e2e_run_tests.rsindex f6443ef08b,0aa307ba57..288bae2568--- a/crates/openhuman-core/src/skills/e2e_run_tests.rs+++ b/crates/openhuman-core/src/skills/e2e_run_tests.rs@@@ -38,12 -40,10 +40,10 @@@ use crate::config::{MultimodalConfig, Muse crate::inference::provider::factory::test_provider_override;use crate::skills::runtime::{await_run_outcome, spawn_workflow_run_background};use crate::skills::schemas::resolve_workspace_dir;- use crate::threads::todos::ops as board_ops;- use crate::threads::todos::ops::{BoardLocation, CardPatch};use crate::tools::traits::Tool;-use tinyinference::message::AssistantMessage;-use tinyinference::model::{ChatModel, ModelProfile, ModelRequest, ModelResponse};-use tinyinference::tool::ToolCall;+use tinyinference_llm::message::AssistantMessage;+use tinyinference_llm::model::{ChatModel, ModelProfile, ModelRequest, ModelResponse};+use tinyinference_llm::tool::ToolCall;/// Serialize this module's tests (each touches process-global state).fn serial() -> &'static tokio::sync::Mutex<()> {diff --cc tests/raw_coverage/inference_agent_raw_coverage_e2e.rsindex 97e7067741,76edf915c5..2f489e9ea9--- a/tests/raw_coverage/inference_agent_raw_coverage_e2e.rs+++ b/tests/raw_coverage/inference_agent_raw_coverage_e2e.rs@@@ -173,10 -163,10 +169,10 @@@ use openhuman_core::agent::profiles::};use openhuman_core::security::SecurityPolicy;use openhuman_core::agent::tinyagents::thread_context::{current_thread_id, with_thread_id};- use openhuman_core::threads::todos::ops::BoardLocation;+ use openhuman_core::agent::todos::ops::BoardLocation;use openhuman_core::inference::tokenjuice::AgentTokenjuiceCompression;use openhuman_core::tools::{Tool, ToolResult, ToolSpec};-use tinyinference::model::{ChatModel, ModelProfile, ModelRequest, ModelResponse};+use tinyinference_llm::model::{ChatModel, ModelProfile, ModelRequest, ModelResponse};static ENV_LOCK: &std::sync::OnceLock<std::sync::Mutex<()>> = &crate::SHARED_ENV_LOCK;