<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc" -->

---
title: vercel-labs/just-bash: Bash for Agents | daily.dev
description: just-bash is a TypeScript library from Vercel Labs that simulates a bash environment with an in-memory virtual filesystem, designed for AI agents needing a...
canonical: https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: vercel-labs/just-bash: Bash for Agents | daily.dev
og:description: just-bash is a TypeScript library from Vercel Labs that simulates a bash environment with an in-memory virtual filesystem, designed for AI agents needing a...
og:url: https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc
og:image: https://api.daily.dev/og/posts/2PpRgNLgC.png
og:image:alt: vercel-labs/just-bash: Bash for Agents
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# vercel-labs/just-bash: Bash for Agents

**[Hacker News](https://daily.dev/sources/hn)** · 11 min read · 48 upvotes · 2 comments

## Summary

just-bash is a TypeScript library from Vercel Labs that simulates a bash environment with an in-memory virtual filesystem, designed for AI agents needing a secure sandboxed shell. It supports a wide range of Unix commands (file ops, text processing, jq, sqlite3, Python via Pyodide), multiple filesystem backends (InMemoryFs, OverlayFs, ReadWriteFs, MountableFs), optional network access with URL allow-lists, execution protection against infinite loops, AST transform plugins, and a Vercel AI SDK integration via the companion bash-tool package. A CLI binary and interactive shell are also included.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/vercel-labs/just-bash>

## Community discussion

Top comments from developers on daily.dev.

**@petecapecod** · 0 upvotes

> Sweet they've done it again. Seems like a good route to go with agents. They're okay at bash, but more they'll be much better.
>
> Plus you know, sandboxing 👍🏻

## Similar posts on daily.dev

- [Vercel Open-Sources Bash Tool for Context Retrieval Using Local Filesystems](https://daily.dev/posts/vercel-open-sources-bash-tool-for-context-retrieval-using-local-filesystems-tvexfid5q) · InfoQ · 1 upvotes · 0 comments
- [We gave just-bash persistent storage](https://daily.dev/posts/we-gave-just-bash-persistent-storage-cpssi5y1t) · Tigris · 25 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#bash](https://daily.dev/tags/bash), [#typescript](https://daily.dev/tags/typescript), [#vercel](https://daily.dev/tags/vercel)

[View this post on daily.dev](https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"vercel-labs/just-bash: Bash for Agents","url":"https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc"},"datePublished":"2026-02-26T20:04:30.416Z","dateModified":"2026-03-15T03:30:39.123Z","description":"just-bash is a TypeScript library from Vercel Labs that simulates a bash environment with an in-memory virtual filesystem, designed for AI agents needing a...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/169e95fceb07786f12b8a3e33150fa5a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/169e95fceb07786f12b8a3e33150fa5a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":48},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"ai-agents,bash,typescript,vercel","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"vercel-labs/just-bash: Bash for Agents"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/vercel-labs-just-bash-bash-for-agents-2pprgnlgc","comment":[{"@type":"Comment","text":"Sweet they’ve done it again. Seems like a good route to go with agents. They’re okay at bash, but more they’ll be much better.\nPlus you know, sandboxing 👍🏻","datePublished":"2026-03-07T13:04:35.642Z","url":"https://daily.dev/posts/2PpRgNLgC#c-4qnAu6GRy","author":{"@type":"Person","name":"Peter Cruckshank","url":"https://daily.dev/petecapecod","image":"https://media.daily.dev/image/upload/s--ZJhQyKws--/f_auto/v1721235024/avatars/avatar_A9xh33q0QoxtkGoJRCosp"}}]}
```

