ToolsThe story, in brief

Introducing bash-tool for filesystem-based context retrieval

Vercel just shipped bash-tool. Here's why agents stop hallucinating when they can search files instead of reading entire contexts.

Paper-cut illustration of a coral software window opening into a three-dimensional drafting space.
New tools for building and creating with AI.AI illustration by KeyNews
The KeyNews take

Why it matters

Vercel open-sourced bash-tool, a filesystem-based context retrieval system that lets AI agents efficiently search large files using Unix commands (find, grep, jq) instead of dumping full text into prompts. This solves a real scaling problem: context windows fill up fast, agent accuracy drops, token costs explode. Now agents can keep gigabytes on disk and pull only what they need on demand.

The key facts

7 to know
  1. Vercel open-sourced bash-tool for AI SDK agents

  2. Reduces token usage and improves agent response accuracy

  3. Supports Unix-style workflows: find, grep, jq, pipes

  4. Works in-memory or sandboxed VM environments

  5. Enables agents to search filesystem without pasting full context into prompt

  6. Built on just-bash (TypeScript bash interpreter, no shell process required)

  7. Supports custom isolated VM execution for real shell/filesystem/binary needs

Go to the source

Vercel Blogvercel.com

Publisher excerpt: We open-sourced , the Bash execution engine used by to reduce our token usage, improve the accuracy of the agent's responses, and improve the agent's overall performance.bash-toolour text-to-SQL agent that we recently re-architected gives your agent a way to find the right context by running…
Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools