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,
•11m read time• From github.com
Table of contents
Table of ContentsSecurity modelInstallationUsageSupported CommandsShell FeaturesDefault LayoutNetwork AccessPython SupportSQLite SupportExecution ProtectionAST Transform PluginsDevelopmentAI Agent InstructionsLicense1 Comment
Sort: