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
docs: add engine development and native tool guides
Steven Enamakel5035b16a1e79
diff --git a/gitbooks/developing/engines.md b/gitbooks/developing/engines.mdindex d6129d79ed..2319800191 100644--- a/gitbooks/developing/engines.md+++ b/gitbooks/developing/engines.md@@ -1,133 +1,82 @@---description: >-- The four swappable engine families (models, embeddings, memory, search) and- how each one is selected by config rather than code.+ The four swappable engines (models, embeddings, memory, search) and the+ config key that selects each one.icon: gears---# Pluggable engines-OpenHuman routes four kinds of work, chat and reasoning, embeddings, memory,-and web search, through a config key rather than a hardcoded client. Each has-a managed default that needs no key, plus a bring-your-own-key or local path.-This page is the map of what's supported and the exact key or environment-variable that selects it; the linked pages under Features cover setup and-tradeoffs.+OpenHuman sends four kinds of work through a config key instead of a hardcoded client: chat and reasoning, embeddings, memory and web search. Each has a managed default that needs no key, plus a bring-your-own-key or local option. This page lists what is supported and the key that selects it. The linked Features pages cover setup and tradeoffs.## LLM providers-Chat, reasoning, vision, and coding workloads route through per-workload-provider fields (`chat_provider`, `reasoning_provider`, `agentic_provider`,-`coding_provider`, `vision_provider`, and more), each a string of the form-`<slug>:<model>`. Leaving a field unset, blank, or set to `cloud` keeps it on-the managed default.+Chat, reasoning, vision and coding work each have their own provider field (`chat_provider`, `reasoning_provider`, `agentic_provider`, `coding_provider`, `vision_provider` and more). Each is a string of the form `<slug>:<model>`. A field that is unset, blank or set to `cloud` stays on the managed default.Supported routes:-- **Managed (TinyHumans)**: the default. Access to the OpenRouter model- catalogue with no key to manage.-- **Local**: a runtime the user installs and runs (Ollama, LM Studio, MLX,- OMLX), addressed as `ollama:<model>`, `lmstudio:<model>`, `mlx:<model>` or- `omlx:<model>`, with the endpoint in `[local_ai] base_url`. OpenHuman does- not install the runtime or download models; the user pulls them.-- **A local OpenAI-compatible endpoint**: any server that speaks the OpenAI- chat API, as `local-openai:<model>` or registered with its own slug and- endpoint.-- **Claude Code / Claude Agent SDK**: a provider slug that shells out to an- installed Claude Code CLI instead of calling a hosted API.-- **26 BYOK slugs**, each shipped with a preset endpoint so only a key is- needed: `openai`, `anthropic`, `google`, `openrouter`, `orcarouter`, `groq`,+- Managed (TinyHumans): the default. It gives you the OpenRouter model catalogue with no key to manage.+- Local: a runtime you install and run (Ollama, LM Studio, MLX, OMLX). Address it as `ollama:<model>`, `lmstudio:<model>`, `mlx:<model>` or `omlx:<model>`, and set the endpoint in `[local_ai] base_url`. OpenHuman does not install the runtime or download models. You pull them yourself.+- A local OpenAI-compatible endpoint: any server that speaks the OpenAI chat API. Use `local-openai:<model>`, or register it with its own slug and endpoint.+- Claude Code / Claude Agent SDK: a provider slug that runs your installed Claude Code CLI instead of calling a hosted API.+- 26 bring-your-own-key slugs, each with a preset endpoint so you only need a key: `openai`, `anthropic`, `google`, `openrouter`, `orcarouter`, `groq`,`mistral`, `deepseek`, `together`, `fireworks`, `cerebras`, `xai`,`moonshot`, `gmi`, `huggingface`, `nvidia`, `zai`, `minimax`, `stepfun`,`kilocode`, `deepinfra`, `novita`, `venice`, `vercel-ai-gateway`, `sumopod`,`modelscope`.Provider definitions live under `crates/openhuman-core/src/inference/provider/`-(`factory.rs` resolves a `<slug>:<model>` string to a client; `types.rs` holds-the provider shapes). Full setup and the local-model capability table are-in [Local models & bring your own-key](../features/model-routing/local-and-byok-models.md); routing behavior-and fallback order are in [Automatic Model-Routing](../features/model-routing/README.md).+(`factory.rs` turns a `<slug>:<model>` string into a client, and `types.rs` holds the provider shapes). Setup and the local-model capability table are in [Local models and bring your own key](../features/model-routing/local-and-byok-models.md). Routing and fallback order are in [Automatic model routing](../features/model-routing/README.md).## Embeddings-Embeddings route through a separate provider selection-(`embeddings.update_settings` over RPC, or `embeddings_provider` for-per-workload override), independent of the chat provider:+Embeddings have their own provider setting, separate from the chat provider. Set it with `embeddings.update_settings` over RPC, or override it per workload with `embeddings_provider`.-- **Managed** (default): the OpenHuman backend's Voyage-backed embedding- endpoint. Works on a fresh install with no local daemon.-- **Voyage**: direct Voyage AI API with your own key.-- **OpenAI**: cloud embeddings via the OpenAI API.-- **Cohere**: the Cohere embed API with your own key.-- **Ollama**: a local model the user has pulled, `bge-m3` recommended- (`ollama pull bge-m3`). Memory v2 does not use these; the memory engine- embeds on its own side.-- **Custom**: any OpenAI-compatible embeddings endpoint.+- Managed (default): the OpenHuman backend's Voyage-backed embedding endpoint. It works on a fresh install with no local daemon.+- Voyage: the Voyage AI API with your own key.+- OpenAI: cloud embeddings through the OpenAI API.+- Cohere: the Cohere embed API with your own key.+- Ollama: a local model you have pulled. `bge-m3` is recommended (`ollama pull bge-m3`). The memory engine does not use these, because it embeds on its own side.+- Custom: any OpenAI-compatible embeddings endpoint.-Implementation: `crates/openhuman-core/src/inference/embedding_host/` (`mod.rs`-lists the providers; `factory.rs` builds the client; `schemas.rs` defines the-`embeddings.*` RPC surface, including `set_api_key` per provider slug).+The code is in `crates/openhuman-core/src/inference/embedding_host/`. `mod.rs` lists the providers, `factory.rs` builds the client, and `schemas.rs` defines the `embeddings.*` RPC surface, including `set_api_key` per provider slug.## Memory-Memory v2 (`docs/specs/memory-v2.md`) is Recall, Fetch and Store over a-pluggable engine. The contract is `tinymemory-api` (vendored at-`vendor/tinymemory/`): a `MemoryEngine` trait with `recall`, `fetch`, `store`,-`forget`, `list` and `health`, plus an `EngineDescriptor` that declares whether-the engine is hosted, needs an endpoint or key, and which fetch modes it-supports. `tinymemory::list_engines` and `build_engine` are the registry.+Memory is Recall, Fetch and Store over a pluggable engine. The contract is `tinymemory-api`, vendored at `vendor/tinymemory/`. It defines a `MemoryEngine` trait with `recall`, `fetch`, `store`, `forget`, `list` and `health`. An `EngineDescriptor` says whether the engine is hosted, whether it needs an endpoint or key, and which fetch modes it supports. `tinymemory::list_engines` and `build_engine` are the registry.-Two engines ship, both served by `tinymemory-integrations` (the three TinyMemory crates are `tinymemory-api`, `tinymemory-tools` and `tinymemory-integrations`):+Two engines ship, both served by `tinymemory-integrations`:| id | what | endpoint | key || --- | --- | --- | --- || `tinyhumans` | CortexDB hosted behind the TinyHumans backend (`/memory/*`) | the backend origin | the signed-in session or API key, resolved per request through the host credential seam || `cortexdb` | the user's own CortexDB (direct `/v1/*`) | `[memory.engines.cortexdb] endpoint` (default `https://api-v1.cortexdb.ai`) | stored in the OS keychain as `memory-cortexdb` |-Select one with `[memory] engine` or from Connections > Memory > Engine-(`openhuman.memory_engine_set`). `memory::engine::resolve` binds it: signed out-with no CortexDB key means **memory is off** (the `memory` tool is not-registered, ingestion is a no-op and RPCs answer `MEMORY_OFF`). Built engines-are cached by a fingerprint of engine id, endpoint and credential identity, so-changing any of them rebuilds the engine on the next call. There is no engine-migration: switching engines starts empty, and the one-time import of a v1-store uploads to whichever engine is selected, after explicit consent.+Select one with `[memory] engine` or from Connections > Memory > Engine (`openhuman.memory_engine_set`). `memory::engine::resolve` binds it. If you are signed out and have no CortexDB key, memory is off: the `memory` tool is not registered, ingestion does nothing and RPCs answer `MEMORY_OFF`.-Both engines declare `fetch_modes = [hybrid]` because the CortexDB recall wire-has no keyword/vector switch; asking for another mode fails with `UNSUPPORTED`.+Built engines are cached by a fingerprint of engine id, endpoint and credential identity. Changing any of them rebuilds the engine on the next call. Engines do not migrate, so switching starts empty. The one-time import of an older store uploads to whichever engine is selected, after you consent.++Both engines declare `fetch_modes = [hybrid]`, because the CortexDB recall wire has no keyword or vector switch. Asking for another mode fails with `UNSUPPORTED`.Related pages: [Memory](../features/memory.md) and[Memory architecture](architecture/memory.md).## Web search-`[search] engine` selects the active provider; only one is active at a time,-mirroring the LLM provider model:+`[search] engine` selects the active provider. Only one is active at a time:-- `managed` (default): backend-proxied, no key needed.-- `parallel`: search, extract, chat, research, enrich, and dataset tools- against the Parallel API.+- `managed` (default): proxied through the backend, no key needed.+- `parallel`: search, extract, chat, research, enrich and dataset tools on the Parallel API.- `brave`: Brave Search (web, news, images, videos).- `querit`: Querit web search.-- `exa`: Exa neural search (search, find-similar, contents). Direct to- `api.exa.ai`, never through the managed backend.-- `tavily`: Tavily search and extract (web, news, finance). Direct to- `api.tavily.com`.+- `exa`: Exa neural search (search, find-similar, contents). It calls `api.exa.ai` directly, never through the managed backend.+- `tavily`: Tavily search and extract (web, news, finance). It calls `api.tavily.com` directly.- `disabled`: no search tools registered.-A BYOK engine selected without a stored key falls back to `managed` rather-than leaving the agent with no search tool at all.+If you pick a bring-your-own-key engine without a stored key, search falls back to `managed` so the agent is never left without a search tool.++SearXNG is a separate toggle (`[searxng] enabled`, `base_url`), not a `search.engine` value, because it points at a self-hosted instance instead of a vendor API.-SearXNG is a separate toggle (`[searxng] enabled`, `base_url`) rather than a-`search.engine` value, since it points at a self-hosted instance instead of a-vendor API. The providers themselves live in the `tinysearch` module-(`vendor/tinysearch`), which owns the per-provider transports and the role-dispatch; the host keeps provider resolution and credential policy in-`crates/openhuman-core/src/search/` and-`crates/openhuman-core/src/config/schema/tools/search.rs`, and the host's-provider list is taken from the contract rather than maintained separately.+The providers live in the `tinysearch` module (`vendor/tinysearch`), which owns the per-provider transports and role dispatch. The host keeps provider resolution and credential policy in `crates/openhuman-core/src/search/` and `crates/openhuman-core/src/config/schema/tools/search.rs`. Its provider list comes from the module contract.-See [Web Search](../features/native-tools/web-search.md) for the tool surface-each engine exposes.+See [Web search](../features/native-tools/web-search.md) for the tools each engine exposes.diff --git a/gitbooks/developing/getting-set-up.md b/gitbooks/developing/getting-set-up.mdindex 35f942a4c4..339a9054a6 100644--- a/gitbooks/developing/getting-set-up.md+++ b/gitbooks/developing/getting-set-up.md@@ -1,19 +1,15 @@---description: >-- Building OpenHuman from source: the pinned toolchain, the vendored- submodules, the Tauri CLI wrapper, and local desktop builds, plus the- release installers for each platform.+ Build OpenHuman from source, or install a release: toolchain, submodules,+ desktop builds and the installers for each platform.icon: wrench----# Getting Set Up+# Getting set up-This guide covers the full desktop/source install path plus the release installers, so pick whichever path matches what you're doing:+There are two ways to get OpenHuman running: build it from source, or install the latest release. This page covers both.-1. Build OpenHuman from source-2. Install the latest stable release binaries--If you only need the Rust workspace under `crates/` on a fresh machine (no Node, no Tauri), use [Building the Rust Core](building-rust-core.md) instead. That page has the pinned Rust toolchain, OS package prerequisites, and the exact `cargo` commands for `openhuman-core`.+If you only need the Rust workspace under `crates/` (no Node, no Tauri), use [Building the Rust core](building-rust-core.md). It has the pinned toolchain, OS packages and the `cargo` commands for `openhuman-core`.## Prerequisites@@ -22,7 +18,7 @@ If you only need the Rust workspace under `crates/` on a fresh machine (no Node,- `[email protected]` (see the root `package.json` `packageManager` field)- Rust 1.96.1 through `rustup` with `rustfmt` and `clippy` (see `rust-toolchain.toml`)- CMake, required by native Rust dependencies-- Every `vendor/` submodule listed in `.gitmodules`, initialized recursively (`git submodule update --init --recursive`). The root `Cargo.toml` `[patch]` tables point into that tree, so cargo reads each manifest whether the crate is optional or not; a subset is always a build break+- Every `vendor/` submodule listed in `.gitmodules`, initialized recursively (`git submodule update --init --recursive`). The root `Cargo.toml` `[patch]` tables point into that tree, so cargo reads every manifest, optional crate or not. A partial checkout always fails to build- Platform desktop build tools: Xcode Command Line Tools on macOS, or the Tauri GTK/WebKit/AppIndicator package set on LinuxmacOS Homebrew quick start:@@ -46,7 +42,7 @@ rustup toolchain install 1.96.1 --profile minimalrustup component add rustfmt clippy --toolchain 1.96.1```-## Build from source (local compile)+## Build from sourceRun from the repository root:@@ -55,17 +51,17 @@ Run from the repository root:git clone https://github.com/tinyhumansai/openhuman.gitcd openhuman-# 2) Fetch the vendored tiny* crate submodules+# 2) Fetch the vendored tiny* submodulesgit submodule update --init --recursive-# 3) Install JS deps (workspace)+# 3) Install JS dependenciespnpm install-# 4) Build desktop app artifacts+# 4) Build the desktop apppnpm build```-For local development instead of production build:+For development instead of a production build:```bash# Web-only UI development@@ -78,50 +74,38 @@ pnpm dev:apppnpm tauri build```-## Install latest stable release (macOS/Linux x64)+## Install the latest release on macOS and Linux-Primary install command:+Run the install script:```bashcurl -fsSL https://raw.githubusercontent.com/tinyhumansai/openhuman/main/scripts/install.sh | bash```-Installer behavior:--- Resolves latest stable OpenHuman release for your platform-- Validates artifact digest when available-- Installs locally (no sudo by default)-- macOS: installs `OpenHuman.app` into `~/Applications`-- Linux x64: installs AppImage as `~/.local/bin/openhuman` and writes a desktop entry+The script:-### Arch Linux package recipe+- Finds the latest stable release for your platform.+- Checks the download against its SHA-256 digest.+- Installs without sudo.+- On macOS, installs `OpenHuman.app` into `~/Applications`.+- On Linux x64, installs the AppImage as `~/.local/bin/openhuman` and writes a desktop entry.-The repository includes an `openhuman-bin` AUR recipe at-[`packages/arch/openhuman-bin`](https://github.com/tinyhumansai/openhuman/tree/main/packages/arch/openhuman-bin). It uses the-official x86_64 AppImage as the binary source, extracts the bundled application-tree during `makepkg`, installs a desktop entry, and exposes `/usr/bin/openhuman`.--Until the package is published on AUR, build it locally on Arch:+To preview what it would do without writing files, add `--dry-run`:```bash-cd packages/arch/openhuman-bin-makepkg --syncdeps --install+curl -fsSL https://raw.githubusercontent.com/tinyhumansai/openhuman/main/scripts/install.sh | bash -s -- --dry-run```-After publication, Arch users can install it with:+### Arch Linux-```bash-yay -S openhuman-bin-```--Useful flags:+There is no published AUR package. The repository includes an `openhuman-bin` recipe at [`packages/arch/openhuman-bin`](https://github.com/tinyhumansai/openhuman/tree/main/packages/arch/openhuman-bin). It uses the official x86_64 AppImage, extracts it during `makepkg`, installs a desktop entry and exposes `/usr/bin/openhuman`. Build it locally:```bash-# Preview actions without writing files-curl -fsSL https://raw.githubusercontent.com/tinyhumansai/openhuman/main/scripts/install.sh | bash -s -- --dry-run+cd packages/arch/openhuman-bin+makepkg --syncdeps --install```-## Windows (latest stable)+## WindowsUse PowerShell:@@ -129,17 +113,16 @@ Use PowerShell:irm https://raw.githubusercontent.com/tinyhumansai/openhuman/main/scripts/install.ps1 | iex```-Windows installer behavior:+The script:-- Resolves latest stable release-- Downloads MSI/EXE for x64-- Verifies digest when available-- Runs per-user install where supported by installer package+- Finds the latest stable release.+- Downloads the x64 MSI or EXE.+- Checks its SHA-256 digest.+- Runs a per-user install where the installer supports it.## ARM Linux build (aarch64)-CI builds the `aarch64-unknown-linux-gnu` target on an `ubuntu-24.04-arm` runner-with the same Tauri command as x64 (see+CI builds the `aarch64-unknown-linux-gnu` target on an `ubuntu-24.04-arm` runner with the same Tauri command as x64 (see[`.github/workflows/build-desktop.yml`](https://github.com/tinyhumansai/openhuman/blob/main/.github/workflows/build-desktop.yml)).Locally, with the Linux desktop package set installed:@@ -147,31 +130,23 @@ Locally, with the Linux desktop package set installed:pnpm tauri build --target aarch64-unknown-linux-gnu --bundles deb appimage```-The shell is stock Tauri on Wry, so the resulting binary needs no extra-library path. Install the `.deb` bundle with `dpkg -i`.+The shell is stock Tauri on Wry, so the binary needs no extra library path. Install the `.deb` bundle with `dpkg -i`.-Manual download links (all platforms):--- Website: https://tinyhumans.ai/openhuman-- Latest release: https://github.com/tinyhumansai/openhuman/releases/latest+You can also download any platform's installer from [tinyhumans.ai/openhuman](https://tinyhumans.ai/openhuman) or the [latest release](https://github.com/tinyhumansai/openhuman/releases/latest).## Troubleshooting-### Stale `openhuman` RPC process on the core port--**Symptom**--A previous Tauri build or `openhuman-core run` harness left a process listening on `OPENHUMAN_CORE_PORT` (default `7788`). Until issue #1130 the new Tauri build would silently attach to that listener, leading to version drift and 401s when the new build's `OPENHUMAN_CORE_TOKEN` didn't match.+### Stale `openhuman` process on the core port-**Current behavior (issue #1130)**+A previous Tauri build or `openhuman-core run` can leave a process listening on `OPENHUMAN_CORE_PORT` (default `7788`). If a new build attached to it, you would see version drift and 401s, because the new build's `OPENHUMAN_CORE_TOKEN` would not match.`core_process::ensure_running` now probes the port at startup:-- If `GET /` identifies the listener as an OpenHuman core (JSON body with `"name": "openhuman"`), it is treated as a stale process from a previous run and proactively terminated (`SIGTERM`, then `SIGKILL` after 750ms on Unix; `taskkill /F /T /PID` on Windows). The Tauri host then spawns its own fresh embedded core.-- If the listener is something else (or doesn't speak HTTP), startup fails loudly with the conflict surfaced in the log instead of silently attaching.-- Set `OPENHUMAN_CORE_REUSE_EXISTING=1` to opt back into the legacy attach-to-anything behavior, useful when running `openhuman-core run` as a manual debugging harness.+- If `GET /` identifies the listener as an OpenHuman core (a JSON body with `"name": "openhuman"`), it is treated as a stale process and stopped. On Unix it gets `SIGTERM`, then `SIGKILL` after 750 ms. On Windows it uses `taskkill /F /T /PID`. The Tauri host then starts its own embedded core.+- If the listener is something else, or does not speak HTTP, startup fails and the log shows the conflict.+- Set `OPENHUMAN_CORE_REUSE_EXISTING=1` to attach to whatever is listening instead. This is useful when you run `openhuman-core run` by hand for debugging.-**Manual cleanup (still works)**+To clean up manually:```bashpkill -f "OpenHuman.app/Contents"@@ -182,7 +157,7 @@ pkill -f "openhuman-core"## See also-- [Building the Rust Core](building-rust-core.md): the cargo-only path, without Node or Tauri.-- [E2E Testing Guide](e2e-testing.md): the harness a local desktop build feeds.+- [Building the Rust core](building-rust-core.md): the cargo-only path, without Node or Tauri.+- [E2E testing guide](e2e-testing.md): the harness a local desktop build feeds.- [Architecture](architecture.md): what the shell, the core and the frontend each own.- [Cloud deployment](../features/cloud-deploy.md): running the same core headless on a server.diff --git a/gitbooks/features/native-tools/voice.md b/gitbooks/features/native-tools/voice.mdindex 739a06ee2f..7eca75a802 100644--- a/gitbooks/features/native-tools/voice.md+++ b/gitbooks/features/native-tools/voice.md@@ -1,31 +1,31 @@---description: >-- Native voice: speech-to-text in, text-to-speech out, mascot lip-sync, and a- live voice agent you can interrupt mid-sentence.+ Speech-to-text in, text-to-speech out, mascot lip-sync, and a live voice+ agent you can interrupt mid-sentence.icon: microphone---# Voice-OpenHuman is voice-first when you want it to be. Dictation, reply speech and the live voice agent are part of the core, not a third-party plugin.+You can talk to OpenHuman instead of typing. Dictation, spoken replies and the live voice agent are part of the core, not a plugin.## Speech-to-text-- **Hotkey** - push-to-talk and toggle modes.-- **Audio capture** - cross-platform mic capture with voice-activity detection.-- **Streaming transcription** - words appear as you speak.-- **Hallucination filter** - strips well-known artefacts ("Thanks for watching", silence-induced phrases).-- **Postprocess** - punctuation, capitalisation, dictation cleanup.+- **Hotkey.** Push-to-talk and toggle modes.+- **Audio capture.** Cross-platform mic capture with voice-activity detection.+- **Streaming transcription.** Words appear as you speak.+- **Hallucination filter.** Strips known artifacts such as "Thanks for watching" and phrases invented from silence.+- **Postprocessing.** Punctuation, capitalization and dictation cleanup.-Dictation can replace the active text input on your desktop, or be sent straight into a chat with the agent.+Dictation can replace the active text input on your desktop, or go straight into a chat with the agent.## Text-to-speech-Reply speech routes through a hosted TTS model. The agent's responses can be spoken back in a voice you pick, with natural timing and prosody. Voice selection is configurable per user, and the mascot avatar lip-syncs to the audio stream via a viseme map.+Replies are spoken through a hosted TTS model. The agent can speak back in a voice you pick, with natural timing. Voice selection is set per user, and the mascot lip-syncs to the audio through a viseme map.## Talk to Tiny live-Click Tiny, the mascot in the chat composer, and just talk. Tiny listens and answers out loud in real time, and you can cut in mid-sentence. It uses the same tools as typed chat, under the same tool policy, and anything that needs your approval asks in the conversation. What you both say is saved to the conversation you have open, and Tiny knows what you were just typing about.+Click Tiny, the mascot in the chat composer, and talk. Tiny listens and answers out loud in real time, and you can cut in mid-sentence. It uses the same tools as typed chat under the same tool policy, and anything that needs your approval asks in the conversation. What you both say is saved to the open conversation, and Tiny knows what you were just typing about.Choose how Tiny's voice runs under **Connections → Voice agents**:@@ -40,18 +40,18 @@ Each card has a **Test** button that opens a short session to check the provider## Privacy-- Audio capture is local. Where the audio goes next depends on the provider you picked: the managed routes send it to the OpenHuman backend, and a bring-your-own-key provider such as Gemini Live on a Google API key talks to that vendor directly. Either way no recording is retained beyond the live transcript.-- TTS audio is streamed and discarded: nothing stored.-- What you and the agent say in a live session is saved to the open conversation, and so reaches your memory engine on the same terms as typed chat, when memory is on.+- Audio capture is local. Where the audio goes next depends on the provider you picked. Managed routes send it to the OpenHuman backend. A bring-your-own-key provider such as Gemini Live on a Google API key talks to that vendor directly. Either way, no recording is kept beyond the live transcript.+- TTS audio is streamed and discarded. Nothing is stored.+- What you and the agent say in a live session is saved to the open conversation. When memory is on, it reaches your memory engine on the same terms as typed chat.-There is no local speech-to-text engine. The bundled whisper build was removed; STT is either the hosted route or a third-party API you bring a key for. Text-to-speech still has a local option (Piper).+There is no local speech-to-text engine. Speech-to-text is either the hosted route or a third-party API you bring a key for. Text-to-speech still has a local option (Piper).-## Removed+## Google Meet-The **live Google Meet agent** is gone. It joined a call through the old embedded Chromium webview, transcribed it into memory and spoke back as an outbound camera stream. The frontend surface, the `agent_meetings` domain and the join path were all removed; nothing in the shipped build joins a meeting. The second mascot and its per-mascot voice (the "meeting duo") survive as [mascot](../mascot/README.md) settings.+The live Google Meet agent has been removed. Nothing in the shipped build joins a meeting. The second mascot and its per-mascot voice remain as [mascot](../mascot/README.md) settings.## See also-- [The Mascot](../mascot/README.md): the face that lip-syncs to this audio.+- [The mascot](../mascot/README.md): the face that lip-syncs to this audio.- [Memory](../memory.md): where a spoken conversation ends up.-- [Automatic Model Routing](../model-routing/README.md): live turns want `hint:fast`.+- [Automatic model routing](../model-routing/README.md): live turns want `hint:fast`.diff --git a/gitbooks/features/native-tools/web-scraper.md b/gitbooks/features/native-tools/web-scraper.mdindex 3edf565e63..1534876ec9 100644--- a/gitbooks/features/native-tools/web-scraper.md+++ b/gitbooks/features/native-tools/web-scraper.md@@ -1,17 +1,15 @@---description: >-- The `web_fetch` tool: a single-purpose GET-and-read primitive that returns a- page as Markdown rather than raw HTML, behind an allowlist and an SSRF guard.+ The `web_fetch` tool reads a web page and returns it as Markdown instead of+ raw HTML, behind an allowlist and an SSRF guard.icon: globe----# Web Scraper+# Web scraper-`web_fetch` is the agent's GET-and-read primitive, deliberately separate from `http_request` and `curl`. It exists because the agent rarely wants the markup: it wants the page. HTML comes back converted to Markdown, with links kept and scripts dropped.+`web_fetch` is the agent's tool for reading a page. It is separate from `http_request` and `curl` because the agent rarely wants the markup. It wants the page. HTML comes back as Markdown, with links kept and scripts dropped.-Reach for `http_request` instead when you need POST, custom headers or richer HTTP semantics, and for `curl` when the point is to stream a file to disk.-----+Use `http_request` when you need POST, custom headers or richer HTTP behavior. Use `curl` to stream a file to disk.## Arguments@@ -19,14 +17,12 @@ Reach for `http_request` instead when you need POST, custom headers or richer HT| --- | --- | --- || `url` | Yes | An absolute `http` or `https` URL. || `max_bytes` | No | Truncate the body at this many bytes instead of the configured cap. |-| `raw` | No | Skip the Markdown conversion and return the body as served. It is not a way around the limits: the response cap and any `max_bytes` still truncate, and the result still carries the truncation marker. |-| `summary_focus` | No | An OpenHuman addition that steers the [TokenJuice](../token-compression.md) summary toward a topic. |--The tool is read-only and never prompts for approval. Parallel `web_fetch` calls are safe, since a GET is idempotent.+| `raw` | No | Skip the Markdown conversion and return the body as served. This does not bypass the limits. The response cap and any `max_bytes` still truncate, and the result still carries the truncation marker. |+| `summary_focus` | No | Steers the [TokenJuice](../token-compression.md) summary toward a topic. |-Conversion is driven by the response `Content-Type`, falling back to content sniffing when the header is absent. A response that is explicitly not HTML is returned verbatim.+The tool is read-only and never asks for approval. Parallel `web_fetch` calls are safe, because a GET is idempotent.----+Conversion follows the response `Content-Type`, and falls back to content sniffing when the header is missing. A response that is explicitly not HTML is returned as is.## Limits@@ -37,42 +33,34 @@ Conversion is driven by the response `Content-Type`, falling back to content sni| Text handed to the model in one result | 24,000 characters | `max_result_size_chars` in `web_fetch.rs` || Redirects followed | None | `redirect::Policy::none()` |-The first two are the shipped defaults in `crates/openhuman-core/src/config/schema/tools/http.rs` and are shared with `http_request`. A `0` in either key is treated as unset and falls back to the default, so a stale zero cannot disable every fetch.--Two behaviours are worth knowing:+The first two are the shipped defaults in `crates/openhuman-core/src/config/schema/tools/http.rs`, shared with `http_request`. A `0` in either key counts as unset and falls back to the default, so a stale zero cannot disable every fetch.-- **Oversize pages are truncated, not dropped.** The body is cut at a character boundary, never mid-character, and the result header records `download_capped_at=<N>B` so the agent knows it is looking at a partial page. The cap bounds what reaches the model rather than what is downloaded, since the response is read before it is trimmed. Streaming with a hard download ceiling is `curl`'s job, not this tool's.-- **Past 24,000 characters the remainder is not discarded.** The full extracted page is spilled to an artifact and the result carries the `file_read` call that pages through it.+- **Oversize pages are truncated, not dropped.** The body is cut at a character boundary, and the result header records `download_capped_at=<N>B` so the agent knows the page is partial. The cap bounds what reaches the model, not what is downloaded, because the response is read before it is trimmed. Streaming with a hard download ceiling is `curl`'s job.+- **Past 24,000 characters the rest is kept.** The full extracted page is saved as an artifact, and the result carries the `file_read` call that pages through it.-**Redirects are never followed.** A redirect target can sit on a host the allowlist would refuse, so a 3xx returns as a result naming its `Location` and leaves the decision to the agent. Re-calling `web_fetch` with that URL runs the whole guard again from scratch rather than inheriting the first call's approval.-----+Redirects are never followed. A redirect target can sit on a host the allowlist would refuse, so a 3xx returns a result naming its `Location` and leaves the decision to the agent. Calling `web_fetch` again with that URL runs the whole guard from scratch.## The allowlist and the URL guard-Every fetch passes `tinytools-std`'s URL guard (`vendor/tinyagents/vendor/tinytools/crates/tinytools-std/src/url_guard/`) before any connection is made. It is the same gate `http_request` and `curl` use.--**Shape.** Only `http` and `https` are accepted. URLs carrying whitespace, a backslash, userinfo (`user:pass@`), a percent-encoded authority, or an IPv6 literal host are rejected outright.+Every fetch passes the URL guard in `tinytools-std` (`vendor/tinyagents/vendor/tinytools/crates/tinytools-std/src/url_guard/`) before any connection is made. `http_request` and `curl` use the same gate.-**Allowed websites.** `[http_request].allowed_domains` ships as `["*"]`, so research works out of the box. An exact host also matches its subdomains, `"*"` allows all public sites, and an empty list blocks all web access. If every entry is malformed the list fails closed rather than open. Narrow it from the allowed-websites setting described in [Web Search](web-search.md#settings), which writes the same key.+**Shape.** Only `http` and `https` are accepted. URLs with whitespace, a backslash, userinfo (`user:pass@`), a percent-encoded authority or an IPv6 literal host are rejected.-**Address checks.** The guard resolves the hostname and refuses the fetch if any resolved address is non-global: loopback, RFC1918 private, link-local (which covers the cloud metadata address `169.254.169.254`), CGNAT, the unspecified and broadcast ranges, and the IPv6 equivalents including unique-local, link-local and IPv4-mapped forms. Hostnames such as `localhost`, anything ending in `.localhost`, and anything under a `.local` TLD are refused by name. These checks apply even under `"*"`, so the wildcard opens public hosts and never the private network.+**Allowed websites.** `[http_request].allowed_domains` ships as `["*"]`, so research works out of the box. An exact host also matches its subdomains. `"*"` allows all public sites, and an empty list blocks all web access. If every entry is malformed, the list fails closed. To narrow it, use the allowed-websites setting described in [Web search](web-search.md#settings), which writes the same key.-Under privacy mode's local-only setting the fetch is refused before validation or DNS, so a blocked destination is never even looked up. Rate limiting applies, and the egress disclosure spine records the destination host before the request leaves.+**Address checks.** The guard resolves the hostname and refuses the fetch if any resolved address is non-global. That covers loopback, RFC1918 private, link-local (including the cloud metadata address `169.254.169.254`), CGNAT, unspecified and broadcast ranges, and the IPv6 equivalents including unique-local, link-local and IPv4-mapped forms. Hostnames such as `localhost`, anything ending in `.localhost` and anything under a `.local` TLD are refused by name. These checks apply even under `"*"`, so the wildcard opens public hosts and never the private network.----+Under privacy mode's local-only setting, the fetch is refused before validation or DNS, so a blocked destination is never looked up. Rate limiting applies, and the egress disclosure records the destination host before the request leaves.-## What it's good for+## What it is good for- Reading articles, documentation pages and GitHub READMEs without the surrounding noise.-- Following up on a [Web Search](web-search.md) result.-- Summarising a single known page on demand.-----+- Following up on a [web search](web-search.md) result.+- Summarizing a single known page on demand.## See also-- [Web Search](web-search.md): finds the URLs to feed this tool, and owns the allowed-websites list.-- [Smart Token Compression](../token-compression.md): what trims a long page before it reaches the model.-- [Browser & Computer Control](browser-and-computer.md): for pages that need clicking rather than reading.-- [Privacy & Security](../privacy-and-security.md): the local-only mode and egress disclosure behind the guard.+- [Web search](web-search.md): finds the URLs to feed this tool, and owns the allowed-websites list.+- [Token compression](../token-compression.md): what trims a long page before it reaches the model.+- [Browser and computer control](browser-and-computer.md): for pages that need clicking rather than reading.+- [Privacy and security](../privacy-and-security.md): the local-only mode and egress disclosure behind the guard.