Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(native-tools): add pages for agent coordination and other tools

Steven Enamakela3d1e54778d4
diff --git a/gitbooks/features/native-tools/agent-coordination.md b/gitbooks/features/native-tools/agent-coordination.md
index 3deb5bc5b8..46d88efb56 100644
--- a/gitbooks/features/native-tools/agent-coordination.md
+++ b/gitbooks/features/native-tools/agent-coordination.md
@@ -1,43 +1,43 @@
---
-description: Tools the agent uses to plan, delegate, and ask for help.
+description: Tools the agent uses to plan, delegate and ask for help.
icon: sitemap
---
-# Agent Coordination
+# Agent coordination
-Beyond doing the work, the agent has tools for _organising_ the work - planning multi-step jobs, delegating to specialists, spawning subagents, and pausing to ask the user when something is genuinely ambiguous.
+Besides doing the work, the agent has tools for organizing it: planning multi-step jobs, delegating to specialists, spawning sub-agents, and pausing to ask you when something is genuinely unclear.
-## Tools in the family
+## Tools in this family
-| Tool | What it does |
-| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
-| `todo` | Rewrite the session todo list across a long task; the chat shows it as a checklist that ticks off as work progresses. |
-| `spawn_subagent` | Delegate to a reusable async specialist by default; creates a fresh worker only when incompatible or requested. |
-| `spawn_async_subagent` | Lower-level reusable async delegation surface with the same durable session identity. |
-| `steer_subagent` / `wait_subagent` | Message or collect a running worker by durable `subagent_session_id` or transient `task_id`. |
-| `list_subagents` / `close_subagent` | Inspect reusable workers for the parent thread or explicitly retire one. |
-| `spawn_worker_thread` | Explicit background work tracked as a separate worker thread. |
-| `delegate` | Hand a task to a specialist (e.g. an archetype with different prompts/tools/permissions). |
-| `spawn_parallel_agents` | Fan one task out to several specialists at once and merge what they return. |
-| `use_skill` | Load an inline skill's playbook and tools (coding, web3, system, scheduling, docs, mcp) and call them directly. |
-| `ask_user_clarification` | Pause and ask the user a precise question instead of guessing. |
-| `plan_exit` | Exit a planning phase and start executing. |
+| Tool | What it does |
+| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
+| `todo` | Rewrites the session to-do list across a long task. The chat shows it as a checklist that ticks off as work progresses. |
+| `spawn_subagent` | Delegates to a reusable async specialist. It creates a fresh worker only when the work is incompatible or you ask. |
+| `spawn_async_subagent` | A lower-level reusable async delegation tool with the same durable session identity. |
+| `steer_subagent`, `wait_subagent` | Message or collect a running worker by durable `subagent_session_id` or transient `task_id`. |
+| `list_subagents`, `close_subagent` | Inspect the reusable workers for the parent thread, or retire one. |
+| `spawn_worker_thread` | Explicit background work tracked as a separate worker thread. |
+| `delegate` | Hands a task to a specialist, such as an archetype with different prompts, tools or permissions. |
+| `spawn_parallel_agents` | Fans one task out to several specialists at once and merges what they return. |
+| `use_skill` | Loads an inline skill's playbook and tools (coding, web3, system, scheduling, docs, mcp) so the agent can call them. |
+| `ask_user_clarification` | Pauses and asks you a precise question instead of guessing. |
+| `plan_exit` | Leaves the planning phase and starts executing. |
-`spawn_subagent` and archetype delegation calls accept an optional `model` field for a one-off exact model pin. If it is omitted, the harness uses config-level per-agent pins when present and otherwise falls back to the normal model-routing hints. Model, sandbox mode, parent thread, action root, and task key are part of reusable sub-agent compatibility, so materially different work gets a separate worker.
+`spawn_subagent` and archetype delegation calls accept an optional `model` field to pin an exact model for one call. If you leave it out, the harness uses per-agent pins from config when present, and otherwise falls back to normal model-routing hints. Model, sandbox mode, parent thread, action root and task key all affect whether a sub-agent can be reused, so materially different work gets its own worker.
-Reusable delegation returns both a transient `task_id` and a durable `subagent_session_id`. Prefer the durable id for cross-turn follow-ups. Pass `fresh: true` only when the user or task needs a clean worker; pass `blocking: true` only when the parent must wait inline for the child result.
+Reusable delegation returns a transient `task_id` and a durable `subagent_session_id`. Use the durable id for follow-ups in later turns. Pass `fresh: true` only when you or the task needs a clean worker. Pass `blocking: true` only when the parent must wait for the child's result.
-## Why these are tools, not implicit behaviour
+## Why these are tools
-Long tasks fall apart when the agent tries to keep everything in one head. Splitting work via TODOs and subagents means:
+Long tasks fall apart when an agent tries to hold everything in one head. Splitting work with to-dos and sub-agents helps in three ways:
-- Each subagent keeps useful local context for the same logical job instead of being respawned every turn.
+- Each sub-agent keeps useful local context for the same job instead of being respawned every turn.
- The main thread keeps a high-level view of progress.
-- Failures in one branch don't poison the rest.
+- A failure in one branch does not spoil the rest.
-Asking for clarification is a tool too, on purpose: it makes "I should ask the user" a _visible_ decision the agent can be steered toward, not an emergent behaviour.
+Asking for clarification is a tool on purpose. It makes "I should ask the user" a visible decision the agent can be steered toward, instead of something that only happens by chance.
## See also
-- [Coder](coder.md) - the coding tools, most of them loaded through the `coding` skill.
-- [Cron & Scheduling](cron.md) - how background agent runs get scheduled.
+- [Coder](coder.md): the coding tools, most of them loaded through the `coding` skill.
+- [Cron and scheduling](cron.md): how background agent runs are scheduled.
diff --git a/gitbooks/features/native-tools/browser-and-computer.md b/gitbooks/features/native-tools/browser-and-computer.md
index e6a5c356dc..4f0077d87f 100644
--- a/gitbooks/features/native-tools/browser-and-computer.md
+++ b/gitbooks/features/native-tools/browser-and-computer.md
@@ -2,102 +2,102 @@
description: >-
Read and drive a real browser and a real desktop: accessibility snapshots,
element references, bounded tasks that stop at a payment page, and a small
- decision model picking each step.
+ decision model that picks each step.
icon: display
---
-# Browser & Computer Control
+# Browser and computer control
-When the agent needs to _use_ a machine the way a person would, open a page, read what is on screen, click a button, type a phrase, these tools are how it does it. Both surfaces come from one loadable module, **TinyComputer**, which serves desktop and browser control over a single interface and is downloaded on first use.
+When the agent needs to use a computer the way a person would, by opening a page, reading the screen, clicking a button or typing a phrase, these tools do it. Desktop and browser control both come from one loadable module, TinyComputer. It downloads on first use.
## Two surfaces, one model
-Desktop and browser produce the same kind of "screen": a compact list of the things a person could interact with, each with a role, a name, a value, its states, the actions it supports, and the labels of the boxes it sits in, capped at 254 controls. Both offer the same short action list (click, type, check, uncheck, expand, collapse, scroll, wait, press), so the agent learns one vocabulary.
+Desktop and browser produce the same kind of "screen": a compact list of things a person could interact with. Each item has a role, a name, a value, its states, the actions it supports, and the labels of the boxes it sits in. The list is capped at 254 controls. Both surfaces offer the same short list of actions (click, type, check, uncheck, expand, collapse, scroll, wait, press), so the agent learns one vocabulary.
-Elements are addressed by **reference**, never by coordinates or CSS selectors. A desktop reference like `@s8f3k2p9:e1` is bound to the snapshot that produced it: acting on it either reaches the element that was described, or fails with a stale-reference error telling the agent to look again. It never clicks whatever has since moved into that position. Browser references survive a redraw, because they are marks that last as long as the element is on the page.
+Elements are addressed by reference, never by coordinates or CSS selectors. A desktop reference like `@s8f3k2p9:e1` is tied to the snapshot that produced it. Acting on it either reaches the element that was described or fails with a stale-reference error telling the agent to look again. It never clicks whatever has moved into that spot since. Browser references survive a redraw, because they are marks that last as long as the element is on the page.
## Browser
-The browser is a real Chrome or Chromium, driven over the Chrome DevTools Protocol by a library linked into the module. Chrome is its own process, as it has to be, but nothing sits between it and the module: no driver binary, no local HTTP bridge, no second OpenHuman process.
+The browser is a real Chrome or Chromium, driven over the Chrome DevTools Protocol by a library built into the module. Chrome runs as its own process, but nothing sits between it and the module: no driver binary, no local HTTP bridge and no second OpenHuman process.
-- **Open** a session: launch a fresh browser (headless or headed), or **attach to the Chrome you already have running**. Attaching matters more than it sounds: plenty of sites turn away a fresh automated browser and serve a person's own. On task end an attached browser is only disconnected, never closed.
-- **Snapshot** the page. The default perception mode, `sight`, runs a small in-page script that reads the page the way a person sees it: real links, buttons and fields, plus anything with a pointer cursor, a click handler or a tab stop. Hidden, zero-size, transparent and disabled things are dropped; things below the fold are marked offscreen and things behind a dialog are marked covered. It falls back to the accessibility tree when it cannot read a page, and `perception: "tree"` forces the tree.
-- **Act**: click (optionally into a new tab), fill, type, press, select, check, hover, scroll, wait, read, go back.
+- **Open** a session. You can launch a fresh browser (headless or headed) or attach to the Chrome you already have running. Attaching matters because many sites turn away a fresh automated browser but serve a person's own. When a task ends, an attached browser is only disconnected, never closed.
+- **Snapshot** the page. The default mode, `sight`, runs a small in-page script that reads the page the way a person sees it: real links, buttons and fields, plus anything with a pointer cursor, a click handler or a tab stop. It drops hidden, zero-size, transparent and disabled items. It marks items below the fold as offscreen and items behind a dialog as covered. It falls back to the accessibility tree when it can't read a page, and `perception: "tree"` forces the tree.
+- **Act**: click (optionally into a new tab), fill, type, press, select, check, hover, scroll, wait, read and go back.
- **Read** the page as text, Markdown or serialized DOM, and **evaluate** JavaScript.
-- **Downloads**: list the browser's download events, and wait for a completed file. A page snapshot alone does not prove a file finished.
+- **Downloads**: list the browser's download events and wait for a completed file. A page snapshot alone doesn't prove a file finished.
-Screenshots are never returned inline. A reply carries a handle the agent reads in chunks and releases when done.
+Screenshots are never returned inline. A reply carries a handle that the agent reads in chunks and releases when done.
-Sessions are bounded: the module allows up to 8 at once, and OpenHuman keeps at most 6 per conversation thread with a 30-minute idle timeout, so a long chat reuses one browser instead of opening a new one per turn. A session can be restricted to a set of origins.
+Sessions are bounded. The module allows up to 8 at once. OpenHuman keeps at most 6 per conversation thread with a 30-minute idle timeout, so a long chat reuses one browser and doesn't open a new one every turn. A session can be restricted to a set of origins.
## Desktop
-Desktop control reads the operating system's **accessibility tree**, the same interface a screen reader uses: running apps, windows, displays, Notification Center entries, the clipboard, and screenshots.
+Desktop control reads the operating system's accessibility tree, the same interface a screen reader uses. It covers running apps, windows, displays, Notification Center entries, the clipboard and screenshots.
-Actions go through the accessibility API rather than synthesized input, so by default they do **not** steal focus, move your cursor or touch the pasteboard, and a run can proceed while you use the machine. A "headed" mode and real mouse and key events exist for apps that need them, and are the exception.
+Actions go through the accessibility API and not through synthesized input. By default they don't steal focus, move your cursor or touch the clipboard, so a run can continue while you use the machine. A headed mode and real mouse and key events exist for apps that need them, but they are the exception.
-For dense apps, a skeleton snapshot caps the walk at three levels and returns structure without leaf detail, which is the difference between tens of thousands of tokens and a few hundred.
+For dense apps, a skeleton snapshot stops at three levels and returns structure without leaf detail. That is the difference between tens of thousands of tokens and a few hundred.
## Tasks
-Above the primitives sits a bounded task loop. You describe the outcome; the module plans the steps and a small decision model ([Jev](../../developing/jev.md)) picks every click. A task starts and returns immediately with a status, which the agent polls and answers:
+Above these basics sits a bounded task loop. You describe the outcome, the module plans the steps, and a small decision model ([Jev](../../developing/jev.md)) picks every click. A task starts and returns at once with a status, which the agent polls and answers:
-| Status | What it means |
-| ----------------- | ----------------------------------------------------------------------- |
-| `running` | Working. |
-| `needs_input` | A field it cannot fill without you. |
-| `needs_approval` | An irreversible step. Only an explicit approval releases it. |
-| `needs_human` | A captcha, OTP, 2FA or login. No model can get past it. |
-| `needs_plan` | Plain language with no planner configured. |
-| `checkpoint` | Stopped on purpose, with the page left open. |
-| `done` / `failed` / `cancelled` | Terminal. |
+| Status | What it means |
+| ------------------------------- | ----------------------------------------------------------------- |
+| `running` | Working. |
+| `needs_input` | A field it can't fill without you. |
+| `needs_approval` | An irreversible step. Only an explicit approval releases it. |
+| `needs_human` | A captcha, OTP, 2FA or login. No model can get past it. |
+| `needs_plan` | Plain language with no planner configured. |
+| `checkpoint` | Stopped on purpose, with the page left open. |
+| `done`, `failed`, `cancelled` | Final states. |
-Two properties are worth stating plainly:
+Two rules hold for every task:
-- **Reaching a payment page always stops the task.** It becomes a checkpoint that cannot be continued, with the page left open for a person. The agent does not pay.
-- **Secret values never reach a model.** Facts you mark secret are shared as `${name}` templates; the planner, the decision model and the rescue model see the name, and the value is typed locally into the field.
+- **Reaching a payment page always stops the task.** It becomes a checkpoint that can't be continued, with the page left open for a person. The agent does not pay.
+- **Secret values never reach a model.** Facts you mark secret are shared as `${name}` templates. The planner, the decision model and the rescue model see only the name, and the value is typed locally into the field.
-Page and screen text is treated as data, never as instructions, and the safety rules are plain code rather than model judgement.
+Page and screen text is treated as data, never as instructions. The safety rules are plain code, not model judgment.
## Agent tools
| Tool | What it does |
| --- | --- |
-| `browser` | Everything above on one `action` argument: `open`, `snapshot`, `read_page`, `click`, `fill`, `type`, `get_text`, `get_title`, `get_url`, `wait`, `press`, `hover`, `scroll`, `is_visible`, `find`, `task`, `task_continue`, `task_cancel`, `confirm_pending`, `list_downloads`, `wait_download`, `close`. |
-| `browser_open` | Open a URL and get a session back. |
+| `browser` | Everything above through one `action` argument: `open`, `snapshot`, `read_page`, `click`, `fill`, `type`, `get_text`, `get_title`, `get_url`, `wait`, `press`, `hover`, `scroll`, `is_visible`, `find`, `task`, `task_continue`, `task_cancel`, `confirm_pending`, `list_downloads`, `wait_download`, `close`. |
+| `browser_open` | Opens a URL and returns a session. |
| `desktop_list_apps`, `desktop_list_windows` | What is running and where. |
-| `desktop_launch` | Start an app. |
-| `desktop_snapshot`, `desktop_find` | Read the screen, or look for one thing on it. |
-| `desktop_goal`, `desktop_continue_goal` | Run a desktop task and answer its stops. |
+| `desktop_launch` | Starts an app. |
+| `desktop_snapshot`, `desktop_find` | Reads the screen, or looks for one thing on it. |
+| `desktop_goal`, `desktop_continue_goal` | Runs a desktop task and answers its stops. |
-Irreversible steps go through OpenHuman's [Approval Gate](../approval-gate.md), bound to a digest of the exact action and URL. If no approval gate is installed, the action is **denied**, not allowed.
+Irreversible steps go through OpenHuman's [approval gate](../approval-gate.md), tied to a digest of the exact action and URL. If no approval gate is installed, the action is denied.
## Platform support
| Platform | Desktop | Browser |
| --- | --- | --- |
-| macOS | Yes. Needs **Accessibility** permission, plus **Screen Recording** for screenshots and **Automation** for the Notification Center opener. | Yes |
+| macOS | Yes. Needs Accessibility permission, plus Screen Recording for screenshots and Automation for the Notification Center opener. | Yes |
| Windows | Yes | Yes |
| Linux | No | No |
-A permission check runs before the first read, because an accessibility API called by an unauthorized process usually returns an *empty tree* rather than an error, which is indistinguishable from an app with no buttons. A missing permission produces a named refusal that says which setting to change.
+A permission check runs before the first read. An accessibility API called by an unauthorized process usually returns an empty tree, not an error, and that looks the same as an app with no buttons. A missing permission produces a named refusal that says which setting to change.
-Linux is not in the shipped surface: the module registry publishes no Linux artifact, so neither desktop control nor browser automation is available there even though the browser engine itself would run.
+Linux is not supported. The module registry publishes no Linux build, so neither desktop control nor browser automation is available there, even though the browser engine itself would run.
## Settings
-**Connections → Computer Control** holds all of it: the module's status and contract version, the decision model (Jev, OpenJEV or Levanto Sage) and which route it bills through, the planner and rescue models, and the browser section (executable path, perception mode, allowed domains).
+**Connections > Computer Control** holds all of it: the module's status and contract version, the decision model (Jev, OpenJEV or Levanto Sage) and which route it bills through, the planner and rescue models, and the browser section (executable path, perception mode and allowed domains).
-`[desktop] approvals_enabled` defaults to `false`, and it governs one narrow thing: the module's own mid-goal confirmation stop on the **desktop** surface, which the core then auto-continues after the module re-observes and re-validates the exact target. Setting it `true` surfaces that stop as an approval card instead. It does not weaken the [Approval Gate](../approval-gate.md): an irreversible step still needs an approval, and with no gate installed it is denied. Desktop goal confirmations are single-use and expire after 10 minutes.
+`[desktop] approvals_enabled` defaults to `false`. It governs one narrow thing: the module's own confirmation stop in the middle of a desktop goal. When it is off, the core continues automatically after the module re-observes and re-validates the exact target. When it is `true`, that stop shows as an approval card. It does not weaken the [approval gate](../approval-gate.md). An irreversible step still needs approval, and with no gate installed it is denied. Desktop goal confirmations are single-use and expire after 10 minutes.
-## What it's good for
+## What it is good for
- Driving sites that have no API and no [native integration](../integrations/README.md).
-- Multi-step UI flows where each snapshot tells you the next actionable element.
+- Multi-step UI flows where each snapshot shows the next element to act on.
- Automating a local app from inside a chat.
## See also
-- [Web Scraper](web-scraper.md): when you only need the article, not the whole page.
+- [Web scraper](web-scraper.md): when you only need the article, not the whole page.
- [Jev](../../developing/jev.md): the decision model that picks each step.
-- [Approval Gate](../approval-gate.md): what gets parked, and what happens with no gate installed.
+- [Approval gate](../approval-gate.md): what gets parked, and what happens with no gate installed.
diff --git a/gitbooks/features/native-tools/coder.md b/gitbooks/features/native-tools/coder.md
index e90e661356..1de3519181 100644
--- a/gitbooks/features/native-tools/coder.md
+++ b/gitbooks/features/native-tools/coder.md
@@ -1,43 +1,47 @@
---
-description: A complete toolset for working on real codebases - read, write, edit, search, git, lint, test.
+description: >-
+ A complete toolset for working on real codebases: read, write, edit, search,
+ git, lint and test.
icon: code
---
# Coder
-The coder family is what makes OpenHuman a viable coding partner instead of a chat window that _pretends_ to know the codebase.
+The coder tools make OpenHuman a real coding partner and not a chat window that only pretends to know your codebase.
-## Tools in the family
+## Tools in this family
-| Tool | What it does |
-| ---------------- | ----------------------------------------------------------------- |
-| `file_read` | Read a file (with line numbers, like `cat -n`). |
-| `file_write` | Write a new file. |
-| `edit` | Targeted edits - match-and-replace with strict uniqueness checks. |
-| `apply_patch` | Apply a unified diff. |
-| `glob` | Find files by glob pattern. |
-| `grep` | Ripgrep-style search across the tree. |
-| `list` | Walk a directory tree. |
-| `read_diff` | Diff between two files or revisions. |
-| `git_operations` | Status, diff, log, blame, branch, commit. |
-| `run_linter` | Run the project's linter. |
-| `run_tests` | Run the project's test command. |
-| `csv_export` | Export query results as CSV. |
+| Tool | What it does |
+| ---------------- | --------------------------------------------------------------------- |
+| `file_read` | Reads a file, with line numbers like `cat -n`. |
+| `file_write` | Writes a new file. |
+| `edit` | Makes targeted edits by match and replace, with strict uniqueness checks. |
+| `apply_patch` | Applies a unified diff. |
+| `glob` | Finds files by glob pattern. |
+| `grep` | Searches the tree, ripgrep style. |
+| `list` | Walks a directory tree. |
+| `read_diff` | Shows the diff between two files or revisions. |
+| `git_operations` | Status, diff, log, blame, branch and commit. |
+| `run_linter` | Runs the project's linter. |
+| `run_tests` | Runs the project's test command. |
+| `csv_export` | Exports query results as CSV. |
-## Why these are native, not shell-only
+## Why these are native
-A shell tool plus `cat`/`sed`/`awk` could _technically_ do all of this. The native tools exist because:
+A shell tool plus `cat`, `sed` and `awk` could technically do all of this. The native tools exist because:
-- Edits go through a uniqueness check, so the agent can't accidentally clobber the wrong line.
+- Edits go through a uniqueness check, so the agent can't clobber the wrong line.
- Reads come back with line numbers the agent can refer to in follow-ups.
-- Git operations parse output into structured data, instead of leaving the agent to scrape porcelain.
-- Lint and test runs are wired to the project's actual commands, not generic guesses.
+- Git output is parsed into structured data, so the agent doesn't scrape porcelain output.
+- Lint and test runs use the project's real commands, not generic guesses.
## Workspace scoping
-Filesystem tools act inside the agent's **working folder** (`action_dir`), not the workspace directory, which holds internal state and is never a tool target. With the autonomy policy on, `workspace_only` confines them to that folder and anything outside it needs an explicit trusted root. With the policy off (the default) that confinement is not enforced, and the thing that still holds either way is the hard floor: credential stores (`~/.ssh`, `~/.gnupg`, `~/.aws`) and system roots are unreachable, as are `..` traversal and null bytes in a path. See [Approval Gate](../approval-gate.md).
+File tools act inside the agent's working folder (`action_dir`). The workspace directory holds internal state and is never a tool target.
+
+With the autonomy policy on, `workspace_only` confines the tools to the working folder, and anything outside it needs an explicit trusted root. With the policy off (the default), that confinement is not enforced. One floor holds either way: credential stores (`~/.ssh`, `~/.gnupg`, `~/.aws`) and system roots are unreachable, as are `..` traversal and null bytes in a path. See [Approval gate](../approval-gate.md).
## See also
-- [System & Utilities](system-and-utilities.md) - `shell`, `node_exec`, `npm_exec`, `python_exec` for the rest of the dev loop.
-- [Agent Coordination](agent-coordination.md) - `todo_write`, `spawn_subagent` for larger refactors.
+- [System and utilities](system-and-utilities.md): `shell`, `node_exec`, `npm_exec` and `python_exec` for the rest of the dev loop.
+- [Agent coordination](agent-coordination.md): `todo` and `spawn_subagent` for larger refactors.
diff --git a/gitbooks/features/native-tools/cron.md b/gitbooks/features/native-tools/cron.md
index fd3a7b41c7..ee90b01f5b 100644
--- a/gitbooks/features/native-tools/cron.md
+++ b/gitbooks/features/native-tools/cron.md
@@ -1,39 +1,39 @@
---
-description: Recurring jobs, one-off reminders, and scheduled agent runs - first-class.
+description: Recurring jobs, one-off reminders and scheduled agent runs.
icon: clock
---
-# Cron & Scheduling
+# Cron and scheduling
-Scheduling is a first-class capability, not a workaround. The agent can set up recurring jobs ("every weekday at 9am, summarise my inbox"), one-off reminders ("nudge me about this in three hours"), and arbitrary agent runs on a cron schedule.
+Scheduling is a built-in capability. The agent can set up recurring jobs ("every weekday at 9am, summarize my inbox"), one-off reminders ("nudge me about this in three hours") and any agent run on a cron schedule.
-## Tools in the family
+## Tools in this family
-| Tool | What it does |
-| ------------- | ------------------------------------------------------------------ |
-| `cron_add` | Create a new scheduled job - cron expression + agent prompt. |
-| `cron_list` | List existing jobs and their next-run times. |
-| `cron_update` | Edit an existing job - change schedule, prompt, or enabled state. |
-| `cron_remove` | Delete a job. |
-| `cron_run` | Run a job once, immediately, regardless of its schedule. |
-| `cron_runs` | Inspect the recent run history - when, how long, what it produced. |
+| Tool | What it does |
+| ------------- | --------------------------------------------------------------------- |
+| `cron_add` | Creates a scheduled job from a cron expression and an agent prompt. |
+| `cron_list` | Lists existing jobs and their next run times. |
+| `cron_update` | Edits a job: its schedule, prompt or enabled state. |
+| `cron_remove` | Deletes a job. |
+| `cron_run` | Runs a job once, right now, whatever its schedule. |
+| `cron_runs` | Shows recent run history: when, how long and what it produced. |
-There's also a one-shot `schedule` tool in [System & Utilities](system-and-utilities.md) for "do this once at time T" cases that don't need a recurring entry.
+For "do this once at time T" cases that don't need a recurring entry, there is also a one-shot `schedule` tool in [System and utilities](system-and-utilities.md).
-Agent jobs run a full model turn every time they fire, so they must be scheduled at least five minutes apart. `cron_add` and `cron_update` reject a tighter cron expression or `every_ms` for an agent job and say which two runs would be too close (`*/7 * * * *`, for instance, fires at :56 and again at :00). Shell jobs have no such floor.
+Agent jobs run a full model turn each time they fire, so they must be at least five minutes apart. `cron_add` and `cron_update` reject a tighter cron expression or `every_ms` for an agent job, and they say which two runs would be too close. For example, `*/7 * * * *` fires at :56 and again at :00. Shell jobs have no such limit.
-## What it's good for
+## What it is good for
-- Daily / weekly digests delivered to your messaging channel of choice.
+- Daily or weekly digests delivered to your messaging channel.
- Polling a slow integration that doesn't push events.
-- Reminders the agent itself owns ("remind me Thursday to follow up with Alice").
-- Recurring research - "every Monday, check what's new on this topic and write me a brief".
+- Reminders the agent owns, such as "remind me Thursday to follow up with Alice".
+- Recurring research, such as "every Monday, check what's new on this topic and write me a brief".
-## How it ties back to the rest
+## How it fits with the rest
-Every cron run is just a normal agent invocation, so it can use any other tool - search the web, query [memory](../memory.md), call a [third-party integration](../integrations/README.md), send a message. Run history is recorded so you can see what each tick produced.
+A cron run is a normal agent run, so it can use any other tool: search the web, query [memory](../memory.md), call a [third-party integration](../integrations/README.md), or send a message. Run history is recorded so you can see what each run produced.
## See also
-- [System & Utilities](system-and-utilities.md) - the one-shot `schedule` tool.
-- [Agent Coordination](agent-coordination.md) - for jobs that fan out into subagents.
+- [System and utilities](system-and-utilities.md): the one-shot `schedule` tool.
+- [Agent coordination](agent-coordination.md): for jobs that fan out into sub-agents.
diff --git a/gitbooks/features/native-tools/documents.md b/gitbooks/features/native-tools/documents.md
index 1b14f613a7..c8b7106880 100644
--- a/gitbooks/features/native-tools/documents.md
+++ b/gitbooks/features/native-tools/documents.md
@@ -1,22 +1,22 @@
---
description: >-
- Write .docx and .pptx files, and read PDF, Word, PowerPoint and Excel back
- in, with every limit stated up front.
+ Write .docx and .pptx files, and read PDF, Word, PowerPoint and Excel files
+ back in, with every limit stated up front.
icon: file-lines
---
# Documents
-Two tools write files a person can open, and the ingest path reads the common office formats back in. Both run in a loadable module rather than in the app binary, which is why the writers' dependencies are in no OpenHuman build.
+Two tools write files a person can open, and the ingest path reads the common office formats back in. Both run in a separate loadable module, not in the app itself.
## Writing
| Tool | Produces |
| --- | --- |
-| `generate_document` | A `.docx` from a structured spec: title, author, headings, paragraphs, bullet lists. |
-| `generate_presentation` | A `.pptx` from slides: titles, bullets, images. |
+| `generate_document` | A `.docx` from a structured spec: title, author, headings, paragraphs and bullet lists. |
+| `generate_presentation` | A `.pptx` from slides: titles, bullets and images. |
-The spec is validated before anything is written, and the limits are part of the contract rather than advice:
+The spec is checked before anything is written. The limits are part of the contract:
| `.docx` | Limit |
| --- | --- |
@@ -36,29 +36,29 @@ The spec is validated before anything is written, and the limits are part of the
| Images per deck | 8 |
| Bytes per image | 5 MiB |
-The aggregate character cap is the load-bearing one: sections times paragraphs times characters per paragraph would otherwise allow a spec that no reader could open.
+The total character cap is the one that matters most. Without it, sections times paragraphs times characters per paragraph would allow a spec that no reader could open.
-The finished file arrives as an [artifact](../chat.md), so it shows up in the thread's files panel with download and reveal-in-folder.
+The finished file arrives as an [artifact](../chat.md). It appears in the thread's files panel with download and reveal-in-folder.
## Reading
-Attach a file, or point a [memory source](../memory.md) at one, and the ingest path extracts text with per-section provenance (a page number for a PDF, the part path for an Office file):
+Attach a file, or point a [memory source](../memory.md) at one, and the ingest path extracts its text. Each piece of text keeps its origin: a page number for a PDF, or the part path for an Office file.
| Format | Notes |
| --- | --- |
-| PDF | Up to 4,096 source pages. A page with no text layer is kept and flagged as a scan candidate, which is a suggestion for vision, not a claim that OCR is needed. |
-| DOCX, PPTX, XLSX | Slide and sheet order comes from the file's own relationship manifest, so an unreferenced slide is excluded rather than guessed at by filename. Spreadsheets read shared and inline strings and use cached cell values; formulas are never evaluated. |
+| PDF | Up to 4,096 source pages. A page with no text layer is kept and flagged as a scan candidate. That flag suggests using vision. It does not claim OCR is needed. |
+| DOCX, PPTX, XLSX | Slide and sheet order comes from the file's own manifest, so an unreferenced slide is left out and not guessed from its filename. Spreadsheets read shared and inline strings and use cached cell values. Formulas are never evaluated. |
-Bounds: 64 MiB in, 256 result sections, 200,000 bytes of text out, and the result says whether it was truncated. Text is never cut mid-character. Rendering PDF pages to images is opt-in per page, at most 8 pages per call and 2,048 pixels on the longest edge.
+The bounds are 64 MiB in, 256 result sections and 200,000 bytes of text out. The result says whether it was truncated. Text is never cut mid-character. Rendering PDF pages to images is opt-in for each page, with at most 8 pages per call and 2,048 pixels on the longest edge.
Nothing is written to disk during extraction, no office application is launched, and there is no network OCR.
## Where it runs
-Document work happens in the `tinydocs` module: a signed native library downloaded on first use and verified against a SHA-256 pinned in the compiled registry. The consequence worth knowing is that the document writers and the PDF reader are **not** in OpenHuman's dependency graph in any build configuration, and with the `documents` feature off the two tools are simply absent from the agent's list rather than present and failing, while a PDF attachment degrades to a file reference instead of extracted text.
+Document work happens in the `tinydocs` module. It is a signed native library that downloads on first use and is checked against a SHA-256 pinned in OpenHuman. The document writers and the PDF reader are not part of the app's own code in any build. With the `documents` feature off, the two tools are simply missing from the agent's list instead of failing, and a PDF attachment becomes a file reference instead of extracted text.
## See also
-- [Image & Video Generation](media-generation.md): the other thing that produces a file.
-- [Memory](../memory.md): where a read document ends up if you add it as a source.
+- [Image and video generation](media-generation.md): the other tools that produce a file.
+- [Memory](../memory.md): where a document ends up if you add it as a source.
- [Loadable modules](../../developing/loadable-modules.md): how a module is pinned and loaded.