Coder

May 9, 2026 ยท View on GitHub

The coder family is what makes OpenHuman a viable coding partner instead of a chat window that pretends to know the codebase.

Tools in the family

ToolWhat it does
file_readRead a file (with line numbers, like cat -n).
file_writeWrite a new file.
edit_fileTargeted edits - match-and-replace with strict uniqueness checks.
apply_patchApply a unified diff.
glob_searchFind files by glob pattern.
grepRipgrep-style search across the tree.
list_filesWalk a directory tree.
read_diffDiff between two files or revisions.
git_operationsStatus, diff, log, blame, branch, commit.
run_linterRun the project's linter.
run_testsRun the project's test command.
csv_exportExport query results as CSV.

Why these are native, not shell-only

A shell tool plus cat/sed/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.
  • 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.

Workspace scoping

Filesystem tools respect a workspace boundary - the agent can't read or write outside it without explicit permission. Same boundary the rest of the app uses for OPENHUMAN_WORKSPACE.

See also