The four tools
Agents get four tools. All four only look: nothing can write, delete, run or end anything.
Every tool takes an optional kind: project, folder, file, image, document, code, or an
extension such as pdf. Every path can be a full path or a few words of a name.
| Tool | Takes | Gives |
|---|---|---|
find |
query, kind, limit (default 20, at most 100) |
One clear match: a project’s summary, or a file’s kind, path, size and project. Several: what each is, why it matched and its full path. None: the closest, if any. |
search_content |
text, path, kind, context (default 2, at most 10), limit |
The best files with their matching lines, nearby lines merged. Skips .git, node_modules, build output and what .gitignore leaves out. |
metadata |
path, kind |
A project: name, place, branch, last commit, run command, stack, parts, commands, docs, live address, deploys, ports in use, and its size without packages. A folder: what it holds. A file: type, size, dates and its project. |
read_file |
path, kind, offset, limit (default 400, at most 2000) |
The lines, numbered. |
How names are matched
Section titled “How names are matched”The same way for every tool: projects first (what projects call themselves in their manifests, README and git remote), then the kind’s rules, then plain file names. A project matched by its own name beats loose files that merely carry the word.
Project summaries
Section titled “Project summaries”Read from the project’s own files, with no AI: main libraries from its manifests, parts such as
frontend/ and backend/, commands from package.json scripts and the like, docs, its live
address, git branch and last commit, and deploy files. Vayu keeps these and refreshes them in the
background, never while Vayu starts.
kind: project with a library name (“projects that use redis”) lists the projects that depend on
it.
