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(native-tools): rewrite native tools pages for clarity
Steven Enamakel9e11fea5f174
diff --git a/gitbooks/features/native-tools/README.md b/gitbooks/features/native-tools/README.mdindex e4cb951594..d9e25bdeba 100644--- a/gitbooks/features/native-tools/README.md+++ b/gitbooks/features/native-tools/README.md@@ -1,46 +1,46 @@---description: >-- The full toolset OpenHuman's agent has out of the box - research, code,- control your machine, schedule jobs, talk back to you, and call into your- connected services.+ The toolset OpenHuman's agent has out of the box: research, code, control+ your machine, schedule jobs, talk back to you, and call your connected+ services.icon: toolbox----# Native Tools+# Native tools-OpenHuman's agent doesn't ship empty. Every model behind the agent has a curated set of tools available the moment you install - no plugin marketplace, no API keys to wire up, no MCP servers to register. The whole toolbelt is in the box.+The agent comes with a full set of tools the moment you install it. There is no plugin marketplace, no API keys to wire up and no MCP servers to register.This page is the index. Each subpage covers one family of tools.-## Why ship them natively+## Why built in-A plugin-only model means tools live in different processes, behind RPC, with their own auth and packaging stories. That's fine for open-ended extensibility, but for the **core** tools every agent needs (read a file, search the web, edit code, set a reminder, drive a browser), shipping them in-process means:+A plugin-only model puts tools in separate processes, behind RPC, each with its own auth and packaging. That suits open-ended extensions. For the core tools every agent needs (read a file, search the web, edit code, set a reminder, drive a browser), running in-process gives you:- Consistent error handling.-- Zero install friction.-- All output passes through [Smart Token Compression](../token-compression.md) for free.-- Predictable security boundary - filesystem tools respect workspace scoping, and network tools use the managed OpenHuman proxy by default unless you opt into a self-hosted path such as SearXNG.+- Nothing to install.+- Output that passes through [token compression](../token-compression.md) for free.+- A predictable security boundary. File tools respect workspace scoping. Network tools use the managed OpenHuman proxy by default unless you opt into a self-hosted path such as SearXNG.## The toolbelt-| Family | What it covers |-| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |-| [Web Search](web-search.md) | Search the live web via the managed proxy (powered by Exa), backend-proxied Parallel, your own Exa/Brave/Querit/Tavily key, or self-hosted SearXNG. |-| [Web Scraper](web-scraper.md) | Pull clean text out of any URL - articles, docs, READMEs. |-| [Coder](coder.md) | Read/write/edit/patch files, glob, grep, git, lint, test. |-| [Documents](documents.md) | Write `.docx` and `.pptx`, and read PDF, Word, PowerPoint and Excel back in. |-| [Browser & Computer Control](browser-and-computer.md) | Open URLs, inspect DOM snapshots, click, type, move the mouse. |-| [Cron & Scheduling](cron.md) | Recurring jobs, one-off reminders, scheduled agent runs. |-| [Voice](voice.md) | Speech-to-text in, text-to-speech out, and a live voice agent you can interrupt. |-| [Memory Tools](memory-tools.md) | Recall, fetch, learn and forget through the single `memory` tool, over [memory](../memory.md). |-| [Third-party Integrations](../integrations/README.md) | The agent's view of the [connected services](../integrations/README.md). |-| [Agent Coordination](agent-coordination.md) | Spawn subagents, delegate to skills, plan, ask the user. |-| [System & Utilities](system-and-utilities.md) | Shell, node, SQL, current time, push notifications, LSP. |+| Family | What it covers |+| --- | --- |+| [Web search](web-search.md) | Search the live web through the managed proxy (powered by Exa), backend-proxied Parallel, your own Exa, Brave, Querit or Tavily key, or self-hosted SearXNG. |+| [Web scraper](web-scraper.md) | Pull clean text out of any URL: articles, docs, READMEs. |+| [Coder](coder.md) | Read, write, edit and patch files; glob, grep, git, lint, test. |+| [Documents](documents.md) | Write `.docx` and `.pptx`, and read PDF, Word, PowerPoint and Excel files. |+| [Browser and computer control](browser-and-computer.md) | Open URLs, inspect DOM snapshots, click, type, move the mouse. |+| [Cron and scheduling](cron.md) | Recurring jobs, one-off reminders, scheduled agent runs. |+| [Voice](voice.md) | Speech-to-text in, text-to-speech out, and a live voice agent you can interrupt. |+| [Memory tools](memory-tools.md) | Recall, fetch, learn and forget through the single `memory` tool. |+| [Third-party integrations](integrations.md) | The agent's view of your [connected services](../integrations/README.md). |+| [Agent coordination](agent-coordination.md) | Spawn subagents, delegate to skills, plan, ask the user. |+| [System and utilities](system-and-utilities.md) | Shell, node, SQL, current time, push notifications, LSP. |## See also-- [Smart Token Compression](../token-compression.md) - what keeps tool output costs bounded.-- [Third-party Integrations](../integrations/README.md) - the user-facing pitch and OAuth flow for the managed catalog.-- [Privacy & Security](../privacy-and-security.md) - the boundary every tool runs inside.-- [Tools domain](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-core/src/tools/README.md) - the Rust module that registers these tools.-- [Agent harness](../../developing/architecture/agent-harness.md) - how tool calls run inside a turn.+- [Token compression](../token-compression.md): what keeps tool output costs bounded.+- [Third-party integrations](../integrations/README.md): the OAuth flow for the managed catalog.+- [Privacy and security](../privacy-and-security.md): the boundary every tool runs inside.+- [Tools domain](https://github.com/tinyhumansai/openhuman/blob/main/crates/openhuman-core/src/tools/README.md): the Rust module that registers these tools.+- [Agent harness](../../developing/architecture/agent-harness.md): how tool calls run inside a turn.diff --git a/gitbooks/features/native-tools/image-tools.md b/gitbooks/features/native-tools/image-tools.mdindex 94ee165e1f..01929cf1e1 100644--- a/gitbooks/features/native-tools/image-tools.md+++ b/gitbooks/features/native-tools/image-tools.md@@ -1,43 +1,43 @@---description: >-- The reading side of images: attachments the model can see natively, local- image metadata, and which model handles vision.+ Show the agent an image: attachments the model can see, local image+ metadata, and which model handles vision.icon: image----# Image Tools+# Image tools-Generating images is [Image & Video Generation](media-generation.md). This page is the other direction: getting an image *into* a turn so the model can look at it.+This page is about getting an image into a turn so the model can look at it. To make images instead, see [Image and video generation](media-generation.md).## Attaching an image-Attach a file in the composer, or point the agent at a path. What happens next depends on the model and the route, not on a setting:+Attach a file in the composer, or point the agent at a path. What happens next depends on the model and the route, not on a setting.-- If the model's facts say it accepts that modality **and** the transport supports it, the image goes up natively as image content.-- If not, it degrades rather than failing: a bounded readout, or a reference to the file with its path and metadata, so the agent can still reason about it and tell you what it cannot see.+- If the model accepts images and the transport supports them, the image goes up natively as image content.+- If not, it degrades instead of failing. The agent gets a bounded readout, or a reference to the file with its path and metadata. It can still reason about the file and tell you what it cannot see.-Uploads are preserved in the acting workspace across a restart, and the ordered references survive in the transcript, so a later turn can still refer to "the second screenshot".+Uploads stay in the acting workspace across a restart. The ordered references stay in the transcript, so a later turn can still refer to "the second screenshot".## `image_info`-One tool, read-only: it reads a local image's metadata (format, dimensions, size) and can return its bytes as base64 text for a model that wants them inline. It is the tool to reach for when the question is "what *is* this file", and it does not need a vision model.+`image_info` is a read-only tool. It reads a local image's metadata (format, dimensions, size) and can return the bytes as base64 text for a model that wants them inline. Use it when the question is "what is this file". It does not need a vision model.## Which model sees it-Vision is a workload with its own provider slot, so you can route it independently of chat:+Vision has its own provider slot, so you can route it separately from chat:```tomlvision_provider = "…" # a provider id, or leave unset to use the chat provider```-If a configured vision model turns out to be chat-only, the call returns a named error rather than silently substituting another model. There is deliberately no default local vision model: a local setup has to name one. [Local models and BYOK](../model-routing/local-and-byok-models.md) lists the ones worth trying.+If a configured vision model turns out to be chat-only, the call returns a named error. It never silently swaps in another model. There is no default local vision model, so a local setup has to name one. [Local models and BYOK](../model-routing/local-and-byok-models.md) lists the ones worth trying.## Delegation-A turn that needs to look at several images, or to work through one carefully, is usually handed to the built-in vision sub-agent rather than done inline, so the main conversation does not carry every pixel of context. Delegation happens on the agent's own judgement; you do not have to ask for it.+When a turn needs to look at several images, or study one closely, the agent usually hands it to the built-in vision sub-agent. That keeps the main conversation from carrying every pixel of context. The agent decides this itself. You do not have to ask.## See also-- [Image & Video Generation](media-generation.md): making images and video rather than reading them.+- [Image and video generation](media-generation.md): making images and video.- [Chat](../chat.md): where attachments live in the UI.-- [Automatic Model Routing](../model-routing/README.md): how the vision slot is resolved.+- [Automatic model routing](../model-routing/README.md): how the vision slot is resolved.diff --git a/gitbooks/features/native-tools/integrations.md b/gitbooks/features/native-tools/integrations.mdindex ec1c939a3d..cb26a6c16b 100644--- a/gitbooks/features/native-tools/integrations.md+++ b/gitbooks/features/native-tools/integrations.md@@ -1,35 +1,35 @@----description: The agent's view of the connected third-party services.+description: How the agent uses your connected third-party services as tools.icon: plug----# Third-party Integrations+# Third-party integrations-OpenHuman's agent can call into [the connected third-party services](../integrations/README.md), Gmail, Notion, GitHub, Slack, Lark/Feishu, Stripe, Calendar and the long tail, through a single proxied tool surface.+The agent can call the [services you connect](../integrations/README.md), such as Gmail, Notion, GitHub, Slack, Lark/Feishu, Stripe and Calendar, through one proxied tool surface.-## How it shows up to the agent+## How the agent sees them-Once you've connected a service via OAuth, its actions become callable tools. The agent doesn't need to know whether a tool talks to Gmail or to a local file - it just calls the tool, the proxy routes the request through the OpenHuman backend with your token, and the result comes back like any other tool output.+Once you connect a service with OAuth, its actions become callable tools. The agent does not need to know whether a tool talks to Gmail or a local file. It calls the tool, the proxy routes the request through the OpenHuman backend with your token, and the result comes back like any other tool output.-A few examples of what becomes available:+Some examples of what you can ask:- "Send a message to #engineering on Slack."- "Create an issue in the openhuman repo."- "What's on my calendar tomorrow?"- "Pull the last 20 Stripe charges over $1000."-## Native vs proxied+## Native and proxied services-Some services have **native providers** - Rust modules that know how to ingest the service into [memory](../memory.md) directly (e.g. Gmail's native ingest path). Others are exposed as **proxied tools** only: the agent can call them, but there's no automatic ingest yet. New native providers are added as features land.+Some services have a native provider. That is a Rust module that ingests the service into [memory](../memory.md) directly, such as Gmail's native ingest path. Other services are proxied tools only. The agent can call them, but nothing is ingested automatically yet.-Lark / Feishu currently has two surfaces: a native real-time channel for message send/receive, and a Composio-proxied workspace toolkit entry for chat, docs, wiki, and meeting actions when the backend allowlist exposes it. Historical chat/doc backfill into memory is not yet a native provider; track that separately from the live channel connector.+Lark/Feishu has two surfaces. One is a native real-time channel for sending and receiving messages. The other is a Composio-proxied workspace toolkit for chat, docs, wiki and meeting actions, available when the backend allowlist exposes it. Backfilling old Lark chat and docs into memory is not a native provider yet.## Privacy boundary-For Composio-proxied integrations, OpenHuman's core never calls any third-party API directly. Requests go through the OpenHuman backend, which handles OAuth tokens and rate limiting. Your tokens never sit on disk in plaintext on your machine, and the agent only sees the _results_ of tool calls, not the credentials. Native channels such as Lark / Feishu use their own local configuration and should be reviewed separately from the Composio OAuth boundary.+For Composio-proxied integrations, the core never calls a third-party API directly. Requests go through the OpenHuman backend, which handles OAuth tokens and rate limiting. Your tokens never sit on your disk in plaintext, and the agent only sees the results of tool calls, never the credentials. Native channels such as Lark/Feishu use their own local configuration, so review them separately from the Composio OAuth boundary.## See also-- [Third-party Integrations (catalog)](../integrations/README.md) - the user-facing pitch, OAuth flow, and connection management.-- [Memory](../memory.md) - how connected services become memory sources (Composio kind).-- [Privacy & Security](../privacy-and-security.md) - the full boundary.+- [Third-party integrations catalog](../integrations/README.md): the OAuth flow and connection management.+- [Memory](../memory.md): how connected services become memory sources.+- [Privacy and security](../privacy-and-security.md): the full boundary.diff --git a/gitbooks/features/native-tools/media-generation.md b/gitbooks/features/native-tools/media-generation.mdindex bf314d1a17..48b9f66329 100644--- a/gitbooks/features/native-tools/media-generation.md+++ b/gitbooks/features/native-tools/media-generation.md@@ -1,34 +1,34 @@---description: >-- Ask for an image or a video and dedicated media agents generate it: image- generation and editing (Seedream / SeedEdit), plus text-to-video and- animate-a-reference-image (Seedance / Veo), saved straight into your- workspace.+ Ask for an image or a video and dedicated media agents generate it, with+ image editing and animation of a reference image, saved into your workspace.icon: clapperboard----# Image & Video Generation+# Image and video generation-OpenHuman can _make_ media, not just read it. Ask the assistant to "generate an image of…", "edit this screenshot to…", or "animate this photo into a short clip" and a dedicated media sub-agent takes over. No plugin, no API key, no separate billing.+OpenHuman can make media, not just read it. Ask for "an image of…", "edit this screenshot to…" or "animate this photo into a short clip", and a dedicated media sub-agent takes over. You need no plugin, no API key and no separate billing.## What it can do-- **Image generation & editing.** Text-to-image and image editing through hosted GMI models (**Seedream** for generation, **SeedEdit** for edits).-- **Video generation.** Text-to-video, or animate a reference image into a clip (**Seedance** / **Veo**). Video is asynchronous: the agent kicks off the render and collects the clip when it's done.-- **Model discovery.** The agent can list the currently available media models and pick the right one for the job.+- **Image generation and editing.** Text-to-image and image editing through hosted GMI models (Seedream for generation, SeedEdit for edits).+- **Video generation.** Text-to-video, or animate a reference image into a clip (Seedance or Veo). Video is asynchronous. The agent starts the render and collects the clip when it is done.+- **Model discovery.** The agent can list the media models available now and pick the right one.## How it works-The `media_generation` domain (`crates/openhuman-core/src/media/generation/`) exposes three agent tools (generate image, generate video, list models) backed by the OpenHuman backend's media-generation provider. The backend owns the provider keys, billing, and rate limiting; your subscription covers it like any other model call.+The `media_generation` domain (`crates/openhuman-core/src/media/generation/`) gives the agent three tools: generate image, generate video and list models. They use the OpenHuman backend's media-generation provider. The backend owns the provider keys, billing and rate limiting, and your subscription covers it like any other model call.-The tools submit the job and then poll on a 4-second cadence (up to 180 s for images, 420 s for video), so the agent, and you, get live progress instead of a hung call. Finished artifacts are downloaded into the agent's `generated-media/` folder in your workspace and returned as local file paths, ready to attach, post, or edit further.+The tools submit a job and then poll every 4 seconds, for up to 180 seconds for images and 420 seconds for video. You and the agent see live progress instead of a hung call. Finished files are downloaded into the `generated-media/` folder of your workspace and returned as local file paths, ready to attach, post or edit further.## Privacy-Prompts and reference media for these tools are sent to the OpenHuman backend and on to the hosted media provider. This is disclosed in the in-app capability catalog (`intelligence.image_generation` / `intelligence.video_generation`, both Beta). Note that [Privacy Mode](../privacy-mode.md)'s local-only enforcement currently covers **inference providers only**. The media tools still call the backend, so avoid using them if you need strict no-egress today. Extending enforcement to integrations and network tools is a planned later slice.+Prompts and reference media go to the OpenHuman backend and on to the hosted media provider. The in-app capability catalog discloses this (`intelligence.image_generation` and `intelligence.video_generation`, both Beta).++[Privacy mode](../privacy-mode.md) local-only enforcement covers inference providers only. The media tools still call the backend, so avoid them if you need strict no-egress today.## See also-- [Image Tools](image-tools.md) covers the reading side: attachments, image metadata, and the vision model slot.-- [Available Tools](README.md) lists the full native toolbelt.-- [Billing, Cost & Usage](../billing-and-usage.md) explains how media jobs are metered.+- [Image tools](image-tools.md): attachments, image metadata and the vision model slot.+- [Native tools](README.md): the full toolbelt.+- [Billing, cost and usage](../billing-and-usage.md): how media jobs are metered.diff --git a/gitbooks/features/native-tools/memory-tools.md b/gitbooks/features/native-tools/memory-tools.mdindex 137a1ebf79..7fe5326cc3 100644--- a/gitbooks/features/native-tools/memory-tools.md+++ b/gitbooks/features/native-tools/memory-tools.md@@ -3,22 +3,24 @@ description: How the agent recalls, fetches, learns and forgets with its singleicon: brain----# Memory Tools+# Memory tools-[Memory](../memory.md) is OpenHuman's knowledge base. The agent talks to it through one tool, `memory`, whose `action` is one of:+[Memory](../memory.md) is OpenHuman's knowledge base. The agent uses it through one tool, `memory`, whose `action` is one of these:| Action | What it does || --- | --- |-| `recall` | Ask a question; returns an answer and the citations it rests on. |-| `fetch` | Raw search (hybrid) over stored items, optionally filtered by metadata. Returns hits. |-| `learn` | Save one durable learning (a preference, fact, procedure or correction). |+| `recall` | Ask a question. Returns an answer and the citations it rests on. |+| `fetch` | Raw hybrid search over stored items, optionally filtered by metadata. Returns hits. |+| `learn` | Save one durable learning: a preference, fact, procedure or correction. || `forget` | Remove items by id. |-The tool is only registered when a memory engine is usable. With none selected, memory is off and the agent never sees it. Each learning is shared with every agent under the same memory root and tagged with the workspace, thread, agent and tool call that produced it.+The tool is registered only when a memory engine is usable. With none selected, memory is off and the agent never sees the tool. Every learning is shared with all agents under the same memory root. It is tagged with the workspace, thread, agent and tool call that produced it.## The tool and the per-turn pack-Every turn already arrives with a small [memory pack](../memory.md#how-the-agent-uses-memory) (`<memory-context>`): the learnings, documents and history most relevant to what you just said. The tool is for going further than the pack: asking a question the pack does not cover ("what do I know about the Stripe webhook?"), searching with metadata filters, or saving something worth remembering next time.+Every turn already arrives with a small [memory pack](../memory.md#how-the-agent-uses-memory) (`<memory-context>`). It holds the learnings, documents and history most relevant to what you just said.++Use the tool to go further than the pack. The agent can ask a question the pack does not cover ("what do I know about the Stripe webhook?"), search with metadata filters, or save something worth remembering next time.External MCP clients get the same abilities from OpenHuman's [MCP server](../../developing/mcp-server.md) as `memory.recall`, `memory.fetch`, `memory.list`, `memory.learn` and `memory.forget`.diff --git a/gitbooks/features/native-tools/system-and-utilities.md b/gitbooks/features/native-tools/system-and-utilities.mdindex a50b7926dd..ee92304160 100644--- a/gitbooks/features/native-tools/system-and-utilities.md+++ b/gitbooks/features/native-tools/system-and-utilities.md@@ -1,36 +1,36 @@----description: Shell, node, SQL, current time, push notifications - the small tools that round out the toolbelt.+description: Shell, node, Python, current time and push notifications, the small tools that round out the toolbelt.icon: gear----# System & Utilities+# System and utilities-The catch-all family. Small, sharp tools the agent reaches for to round out a task.+These are small tools the agent uses to finish a task.## Tools in the family-| Tool | What it does |-| ------------------- | --------------------------------------------------------------------------- |-| `shell` | Run a shell command. Bounded output, captured exit code. |-| `node_exec` | Run a Node.js snippet - useful for one-off scripting. |-| `npm_exec` | Run an `npm`/`pnpm`/`yarn` script. |-| `python_exec` | Run a Python 3 snippet or `.py` script - one-off scripting in Python. |-| `current_time` | Get the current time in any timezone, with formatting options. |-| `schedule` | One-shot "do this once at time T" - for recurring jobs see [Cron](cron.md). |-| `pushover` | Send a push notification to your devices. |-| `lsp` | Query a language server (definitions, references, diagnostics). |+| Tool | What it does |+| --- | --- |+| `shell` | Run a shell command. Output is bounded and the exit code is captured. |+| `node_exec` | Run a Node.js snippet, useful for one-off scripting. |+| `npm_exec` | Run an `npm`, `pnpm` or `yarn` script. |+| `python_exec` | Run a Python 3 snippet or `.py` script. |+| `current_time` | Get the current time in any timezone, with formatting options. |+| `schedule` | Do something once at a given time. For recurring jobs see [Cron](cron.md). |+| `pushover` | Send a push notification to your devices. |+| `lsp` | Query a language server for definitions, references and diagnostics. || `read_workspace_state` | Inspect the current working folder: open files, recent edits, environment. |-| `proxy_config` | Read or change proxy configuration for outbound requests. |-| `tool_stats` | Self-reflection - what tools have been used in this session and how often. |+| `proxy_config` | Read or change proxy configuration for outbound requests. |+| `tool_stats` | Show which tools were used in this session and how often. |-## What it's good for+## What they are good for-- The bits of a workflow that don't fit a richer tool family.+- The parts of a workflow that do not fit a richer tool family.- "Just run this command and tell me what it printed."-- Time-aware behaviour ("what time is it for the user right now?") without baking timezone assumptions into prompts.-- Letting the agent _notify you_ when it's done with a long-running job.+- Time-aware behavior ("what time is it for the user right now?") without baking timezone assumptions into prompts.+- Notifying you when a long-running job is done.## See also-- [Coder](coder.md) - for filesystem-heavy work, prefer the dedicated tools over `shell`.-- [Cron & Scheduling](cron.md) - for anything recurring.+- [Coder](coder.md): for file-heavy work, prefer the dedicated tools over `shell`.+- [Cron and scheduling](cron.md): for anything recurring.