Introducing bash-tool for filesystem-based context retrieval
Vercel open-sourced bash-tool, a Bash execution engine that enables AI agents to retrieve context from files using bash-like commands like find, grep, and jq. This reduces token usage and improves agent accuracy by allowing large context to remain in the filesystem while agents fetch only needed slices on demand.
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 bash-like commands over files, then returning only the results of those tool calls to the model.bash-tool
Context windows can fill up quickly if you include large amounts of text into a prompt. As agents tend to do well with Unix-style workflows like , , , and pipes, with you can now keep large context in a filesystem, and let the agent use those commands to retrieve smaller slices of context on demand.findgrepjqbash-tool local,
provides , , and tools for agents, working with both in-memory and sandboxed environments, and:bash-toolbashreadFilewriteFileAI SDK
If you need a real shell, a real filesystem, or custom binaries, you can run the same tool against a Sandbox-compatible API for full VM isolation.
runs on top of , which interprets bash scripts directly in TypeScript without a shell process or arbitrary binary execution
just-bashyou can preload that filesystem with your files at startup, so your agent can search them when needed without pasting everything into the prompt
it supports running in-memory or in a custom isolated VM
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
Updates to Hobby and Pro Terms of Service
Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.
Mercury 3 now available on AI Gateway
Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.
MiniMax M3.1 Flash now available on AI Gateway for free
MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.