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
chore: rename tinybrowser and tinydesktop to tinycomputer
Steven Enamakelec21a1738bd5
diff --git a/AGENTS.md b/AGENTS.mdindex 4bbc1283bd..f6828b8254 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -454,11 +454,10 @@ Direct rendered submodules under `vendor/`:| --- | --- || `tinyagents` | Provider-neutral agent harness and durable typed state graph: model/tool loop, tool-call dialects and parsing, middleware, retries, caching, sessions/transcripts, and graph execution. || `tinybox` | Isolated execution environments for code the host does not trust; box lifecycle and isolation backends. |-| `tinybrowser` | Browser automation as a TinyBus module, including browser launch/control, navigation, accessibility snapshots, input, extraction, and screenshots. || `tinybus` | TinyBus runtime and module contracts: discovery/loading, ABI and manifest admission, transport, proxies, lifecycle, and module bus behavior. || `tinychannels` | Portable channel/message contracts, configuration/schema, routing metadata, and channel backend abstractions. OpenHuman owns its concrete product/backend adapters. || `tinyconnectors` | OAuth connector module behavior: account linking, available actions, action execution, and connector webhooks. |-| `tinydesktop` | Native desktop accessibility observation and interaction exposed through TinyBus. |+| `tinycomputer` | Computer use as one TinyBus module: native desktop accessibility observation and interaction, browser sessions and control (the `Browser*` members), and tasks (`StartTask`/`AwaitTask`/`ContinueTask`) driven by a selectable decision model (Jev, OpenJev, Sage) with planner and rescue models. || `tinydocs` | Document extraction and synthesis, including PDF reading and DOCX/PPTX generation. || `tinyflows` | Host-agnostic workflow graph definition, validation, compilation, and execution engine. || `tinyhosts` | Hosting provider APIs and deployment/database/domain/analytics operations, as library and TinyBus module. |@@ -483,8 +482,8 @@ own canonical repositories as well:| `tinyagents/vendor/tinyinference` and `tinymemory/vendor/tinyinference` | Inference/provider, embedding, local model, and voice inference libraries. OpenHuman patches the TinyAgents copy in its Cargo workspace; do not create a competing copy. || `tinymemory/vendor/tinycortex` | TinyCortex engine implementation for the TinyMemory contracts. || `*/vendor/tinybus` | Shared TinyBus contract/runtime dependency; change the owning TinyBus project, not a vendored duplicate. |-| `tinybrowser/vendor/agent-browser` | Browser-control library used by TinyBrowser. |-| `tinydesktop/vendor/agent-desktop` | Cross-platform desktop accessibility and interaction library used by TinyDesktop. |+| `tinycomputer/vendor/agent-browser` | Browser-control library used by TinyComputer. |+| `tinycomputer/vendor/agent-desktop` | Cross-platform desktop accessibility and interaction library used by TinyComputer. || `*/vendor/tinyjevclient` | Shared TinyJEV client used by the browser and desktop modules. || `tinyagents/wiki`, `tinychannels/wiki`, `tinyjuice/wiki` | Project documentation content, not runtime implementation. |diff --git a/crates/openhuman-app/src/lib.rs b/crates/openhuman-app/src/lib.rsindex 994afdeea8..9f3425d15f 100644--- a/crates/openhuman-app/src/lib.rs+++ b/crates/openhuman-app/src/lib.rs@@ -57,7 +57,7 @@ const _: () = assert!();// The desktop shell runs the same in-process core as the CLI. Keep its module-// loader and TinyBrowser host adapter compiled in; the verified release module+// loader and TinyComputer browser adapter compiled in; the verified release module// is resolved by that core at first use.const _: &str = openhuman_core::modules::browser::MODULE_ID;diff --git a/crates/openhuman-core/src/config/schema/desktop.rs b/crates/openhuman-core/src/config/schema/desktop.rsindex ff95803c71..da289ce89f 100644--- a/crates/openhuman-core/src/config/schema/desktop.rs+++ b/crates/openhuman-core/src/config/schema/desktop.rs@@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};#[derive(Debug, Clone, Default, Serialize, Deserialize, JsonSchema)]#[serde(default)]pub struct DesktopConfig {- /// When false, tinydesktop's one-use confirmation stop is continued by+ /// When false, tinycomputer's one-use confirmation stop is continued by/// the core after the module reobserves and validates the target. This is/// the current product default. True enables the trusted Connections/// approval card and explicit continuation RPC.diff --git a/crates/openhuman-core/src/modules/README.md b/crates/openhuman-core/src/modules/README.mdindex 526c490e46..f61e9efdcc 100644--- a/crates/openhuman-core/src/modules/README.md+++ b/crates/openhuman-core/src/modules/README.md@@ -34,7 +34,8 @@ directory on `modules`.| `boot.rs` | What loads at startup: search-path artifacts, then every `LoadPolicy::Eager` record: deliberately not every registry entry || `schemas.rs` | The `modules` RPC namespace (`list`, `status`, `load`) || `documents.rs` | Host half of `tinydocs` (feature `documents`): the three document operations |-| `browser.rs`, `browser_task.rs` | Typed TinyBrowser bus calls, shared website policy, and bounded Jev task routing; the browser engine remains in the loadable module |+| `browser.rs`, `browser_task.rs` | Typed TinyComputer `Browser*` calls, shared website policy, and browser tasks over `StartTask`/`AwaitTask`/`ContinueTask`; the browser engine remains in the loadable module |+| `computer_config.rs` | The private TinyComputer configuration: decision model (`jev`), planner and rescue route (`planner`), and browser executable, rebuilt from `[computer]` and the stored credentials on every call || `wallet.rs` | Host half of `tinywallet` (feature `web3`): confidential and split transaction-signing flows || `voice.rs` | Host half of `tinyvoice` (feature `voice`): the voice primitives |diff --git a/crates/openhuman-core/src/modules/mod.rs b/crates/openhuman-core/src/modules/mod.rsindex fd92935538..afdbc4e7ce 100644--- a/crates/openhuman-core/src/modules/mod.rs+++ b/crates/openhuman-core/src/modules/mod.rs@@ -28,7 +28,7 @@//!//! - [`registry`] — the compiled-in set of loadable modules and their digests.//! - [`documents`] — the host half of the `tinydocs` module's three operations.-//! - [`browser`] and [`browser_task`] — TinyBrowser bus calls and Jev decisions+//! - [`browser`] and [`browser_task`] — TinyComputer browser members and tasks//! without linking the browser engine into the core.//! - [`wallet`] — the host half of the `tinywallet` module, which builds and//! assembles transactions while the signing key stays in this process.diff --git a/crates/openhuman-core/src/modules/registry/README.md b/crates/openhuman-core/src/modules/registry/README.mdindex e865b739ee..5c3f28a6f1 100644--- a/crates/openhuman-core/src/modules/registry/README.md+++ b/crates/openhuman-core/src/modules/registry/README.md@@ -18,8 +18,7 @@ surface with a download step attached.Each `records_*.rs` file defines one or more `pub(crate) const ModuleRecord`values for a family of related modules:-- `records_browser.rs`: `TINYBROWSER`.-- `records_desktop.rs`: `TINYDESKTOP`.+- `records_computer.rs`: `TINYCOMPUTER` (desktop and browser control).- `records_docs_wallet.rs`: `TINYDOCS`, `TINYWALLET`.- `records_extra.rs`: `TINYBOX`, `TINYCHANNELS`, `TINYHOSTS`.- `records_mcp_connectors.rs`: `TINYCONNECTORS`, `TINYMCP`.diff --git a/crates/openhuman-core/src/tools/README.md b/crates/openhuman-core/src/tools/README.mdindex 6459107f82..b52228a2c4 100644--- a/crates/openhuman-core/src/tools/README.md+++ b/crates/openhuman-core/src/tools/README.md@@ -38,7 +38,7 @@ The agent tool layer. Defines the core [`Tool`] trait every agent-callable capab| [`crates/openhuman-core/src/tools/agent_policy/`](agent_policy/README.md) | Per-session tool boundary: classifies every tool against a channel's permission ceiling into allow/require-approval/deny/hide, and renders the prompt-visible boundary section. || [`crates/openhuman-core/src/tools/impl/mod.rs`](impl/README.md) | Aggregates the built-in tool families; glob re-exports `browser`, `filesystem`, `network`, `system` and the two `documents`-gated tools. `meta` is declared `pub` but not glob re-exported: reach it as `implementations::meta`. || `crates/openhuman-core/src/tools/impl/filesystem/` | Tools `file_read`, `file_write`, `edit`, `apply_patch`, `grep`, `glob`, `list`, `read_diff`, `csv_export`, `git_operations`, `run_linter`, `run_tests`, `update_memory_md`. Helper modules (not tools): `git_operations_config`/`git_operations_render`, and `write_sink` (the injectable filesystem-write seam tests use to provoke OS refusals). |-| `crates/openhuman-core/src/tools/impl/browser/` | Deferred `browser` (TinyBrowser bus actions and Jev tasks), deferred `browser_open` (simple TinyBrowser entry point), and direct `image_info`. |+| `crates/openhuman-core/src/tools/impl/browser/` | Deferred `browser` (TinyComputer browser members and tasks), deferred `browser_open` (simple TinyComputer entry point), and direct `image_info`. || `crates/openhuman-core/src/tools/impl/system/` | Tools `shell`, `node_exec`, `npm_exec`, `python_exec`, `install_tool`, `detect_tools`, `current_time`, `resolve_time`, `schedule`, `proxy_config`, `pushover`, `lsp`, `tool_stats`, `update_check`, `update_apply`, `insert_sql_record`, `read_workspace_state`, `retrieve_tool_output`. Helper module (not a tool): `command_output`, the shared exit-code/stdout/stderr formatter for the shell family. || `crates/openhuman-core/src/tools/impl/network/` | Tools `http_request`, `web_fetch`, `curl`, `gitbooks_search`/`gitbooks_get_page`, `mcp_list_servers`/`mcp_list_tools`/`mcp_call_tool` (`mcp`-feature gated), `gmail_unsubscribe`. Helper module: `url_guard` (host allowlist matching, private-address rejection, `validate_url`). || `crates/openhuman-core/src/tools/impl/meta/` | Tools *about* the tool surface itself: `deferred` (the host's half of `ToolExposure::Deferred`; the harness's intrinsic `tool_search` bridge is the lookup half) and `collapse` (multi-action schema/permission merging helpers). |diff --git a/crates/openhuman-core/src/tools/impl/README.md b/crates/openhuman-core/src/tools/impl/README.mdindex cda5bb46f3..7a9b394445 100644--- a/crates/openhuman-core/src/tools/impl/README.md+++ b/crates/openhuman-core/src/tools/impl/README.md@@ -31,7 +31,7 @@ tested but no production assembly site constructs it today.| --- | --- | --- || `system/` | `ShellTool`, `NodeExecTool`, `NpmExecTool`, `PythonExecTool`, `InstallToolTool`, `DetectToolsTool`, `CurrentTimeTool`, `ResolveTimeTool`, `ScheduleTool`, `ProxyConfigTool`, `PushoverTool`, `LspTool`, `ToolStatsTool`, `UpdateCheckTool`, `UpdateApplyTool`, `InsertSqlRecordTool`, `WorkspaceStateTool`, `RetrieveToolOutputTool`; `command_output.rs` is a shared helper, not a tool | `node_exec`/`npm_exec` and `shell`'s PATH injection need the `runtime-node` Cargo feature plus `node.enabled`; `python_exec` needs `runtime_python.enabled`; `LspTool` needs `OPENHUMAN_LSP_ENABLED` (`lsp_capability_enabled`); `ToolStatsTool` needs `learning.enabled` and `learning.tool_tracking_enabled`; `InsertSqlRecordTool` is exported, not registered; the rest are always registered || `filesystem/` | `FileReadTool`, `FileWriteTool`, `EditFileTool`, `ApplyPatchTool`, `GrepTool`, `GlobTool`, `ListFilesTool`, `ReadDiffTool`, `CsvExportTool`, `GitOperationsTool`, `RunLinterTool`, `RunTestsTool`, `UpdateMemoryMdTool` | always registered, except `ReadDiffTool`, `RunLinterTool`, and `RunTestsTool`, which are exported, not registered |-| `browser/` | `BrowserTool` (TinyBrowser bus actions and bounded Jev tasks), `BrowserOpenTool` (simple TinyBrowser navigation), `ImageInfoTool` | Both browser tools need `browser.enabled` and the `modules` feature, and are deferred until `tool_search`; `ImageInfoTool` remains direct. Browser navigation uses the shared `http_request.allowed_domains` policy, with a local module override until TinyBrowser publishes verified release archives. |+| `browser/` | `BrowserTool` (TinyComputer browser members and tasks), `BrowserOpenTool` (simple TinyComputer navigation), `ImageInfoTool` | Both browser tools need `browser.enabled` and the `modules` feature, and are deferred until `tool_search`; `ImageInfoTool` remains direct. Browser navigation uses the shared `http_request.allowed_domains` policy, and the checksum-pinned TinyComputer release module. || `network/` | `HttpRequestTool`, `WebFetchTool`, `CurlTool`, `GitbooksSearchTool`, `GitbooksGetPageTool`, `GmailUnsubscribeTool`, and under the `mcp` Cargo feature `McpListServersTool`, `McpListToolsTool`, `McpCallTool`; `url_guard.rs` is the shared SSRF/allowlist validator, not a tool | `http_request`, `web_fetch`, `curl`, `gmail_unsubscribe` always registered; `gitbooks_*` need `gitbooks.enabled` and, when the active profile sets an `mcp_allowlist`, an entry named `gitbooks`; `mcp_list_servers`/`mcp_list_tools`/`mcp_call_tool` register only when the static `[[mcp_client.servers]]` registry (after the profile allowlist) is non-empty || `document/` (feature `documents`) | `DocumentTool` (`generate_document`) | always registered when compiled. Builds `.docx` bytes via the pure-Rust `engine` module (`docx-rs`, no subprocess) inside `spawn_blocking` + `tokio::time::timeout`; allocates the artifact with `agent::artifacts::create_artifact` (kind `Document`), persists `args.json` next to it for the failed-card Retry path, then `finalize_artifact` or `fail_artifact` || `presentation/` (feature `documents`) | `PresentationTool` (`generate_presentation`) | always registered when compiled. Same shape as `document/` with `ppt-rs` producing `.pptx` and kind `Presentation` |diff --git a/docs/RELEASE-MANUAL-SMOKE.md b/docs/RELEASE-MANUAL-SMOKE.mdindex e0bbab7de9..b3008c2205 100644--- a/docs/RELEASE-MANUAL-SMOKE.md+++ b/docs/RELEASE-MANUAL-SMOKE.md@@ -39,7 +39,7 @@ Applies to every release, all platforms.### Browser module-- [ ] **Browser readiness and setup** — Open Connections → Integrations → Browser Control on each desktop platform and verify the Early Alpha notice. Expected: the checksum-pinned TinyBrowser module loads from the installer on Windows or the release cache on other platforms and passes TinyBus admission, module and Chrome readiness are reported separately, Test works, and saved viewport, profile, download folder, task limits, and allowed websites survive relaunch.+- [ ] **Browser readiness and setup** — Open Connections → Integrations → Computer → Browser on each desktop platform and verify the Early Alpha notice. Expected: the checksum-pinned TinyComputer module loads from the installer on Windows or the release cache on other platforms and passes TinyBus admission, module and Chrome readiness are reported separately, Test works, and saved viewport, profile, download folder, task limits, and allowed websites survive relaunch.- [ ] **Browser task and policy** — With an allowed Selenium test site, use a conversation to submit its web form and download File 1. Expected: `tool_search` discovers `browser`, consequential actions wait for the exact host approval, the submitted page shows “Received!”, and a completed download is verified on disk. Then restrict allowed websites and confirm a disallowed navigation is blocked.### Wallet balancesdiff --git a/gitbooks/developing/architecture.md b/gitbooks/developing/architecture.mdindex 2cdb31d4b6..46a05d6b4b 100644--- a/gitbooks/developing/architecture.md+++ b/gitbooks/developing/architecture.md@@ -27,7 +27,7 @@ OpenHuman is a cross-platform communication and automation platform: a Rust core| **`crates/openhuman-core/src/skills/`** | Skill metadata and run orchestration (`ops_create`, `ops_discover`, `ops_install`, `ops_parse`, `catalog/`, `registry`, `runtime/`, `schemas/`, `types`, `bundled/`, `webhooks/`). The legacy QuickJS / `rquickjs` skill execution runtime was removed; skills contribute metadata + tool descriptors that get injected into agent prompts, while tool execution flows through native Rust handlers and Node-backed helpers via `runtime::node` (Cargo feature `runtime-node`). || **`gitbooks/`** | This book (public product and contributor documentation). || **`docs/`** | Internal maintainer documentation (test-coverage matrix, release smoke checklist, library benchmarking notes). |-| **`vendor/`** | Recursive git submodules for the `tiny*` crate family (`tinyagents`, `tinyflows`, `tinychannels`, `tinyjuice`, `tinymemory`, `tinymcp`, `tinybus`, `tinybox`, `tinybrowser`, `tinydesktop`, `tinyruntime`, `tinydocs`, `tinysearch`, `tinyskills`, `tinyvoice`, `tinywallet`, `tinyhosts`, `tinyconnectors`, `tinyhumans-sdk`) plus `motosan-ai-oauth`. |+| **`vendor/`** | Recursive git submodules for the `tiny*` crate family (`tinyagents`, `tinyflows`, `tinychannels`, `tinyjuice`, `tinymemory`, `tinymcp`, `tinybus`, `tinybox`, `tinycomputer`, `tinyruntime`, `tinydocs`, `tinysearch`, `tinyskills`, `tinyvoice`, `tinywallet`, `tinyhosts`, `tinyconnectors`, `tinyhumans-sdk`) plus `motosan-ai-oauth`. |The desktop app **WebView** loads the UI from `app/`; RPC, agents and skills run in the **`openhuman_core`** core, hosted in-process as a tokio task by the Tauri shell (`crates/openhuman-app/src/core_process.rs`, `run_server_embedded_with_ready`) and reachable over loopback HTTP. The renderer's `coreRpcClient` `fetch()`es `http://127.0.0.1:<port>/rpc` directly; the `relay_http_rpc` Tauri command (backed by `openhuman_rpc::post_json_rpc`) is only the fallback for non-loopback plain-`http://` runtimes that the webview would block as mixed content. The standalone `openhuman-core serve` binary is the CLI/debug path.diff --git a/gitbooks/developing/jev.md b/gitbooks/developing/jev.mdindex b54e306d59..7cb9a455b8 100644--- a/gitbooks/developing/jev.md+++ b/gitbooks/developing/jev.md@@ -82,13 +82,15 @@ would only add a network round trip for no gain.### Browser control-`crates/openhuman-core/src/modules/browser_task.rs` runs bounded browser-tasks through `tinybrowser_control::JevController`, billed on whichever-route the agentic provider resolves to (the user's own OpenRouter credential-directly, or the hosted System One proxy). A consequential step, one that-would submit a form or send something, returns `NeedsConfirmation` with the-exact pending decision instead of acting on it; the caller has to get host-confirmation before the controller proceeds.+`crates/openhuman-core/src/modules/browser_task.rs` hands browser tasks to+TinyComputer's task members (`StartTask`, then `AwaitTask` until the task+pauses or finishes), confined to the browser surface and the allowed websites.+The decision model is chosen in `[computer] decision_model` — Jev (through+the hosted proxy when signed in, or the user's OpenRouter key), OpenJev, or+Sage — and a failed step goes to the rescue model (`[computer] rescue_model`,+up to `max_rescues` times) before the task fails. An irreversible step pauses+as `needs_approval`; the browser tool holds it behind a one-use token and only+`confirm_pending`, through the host approval gate, answers `ContinueTask`.## Measured results