Skip to content

Repository files navigation

Mesa Examples

Example projects showing how to use Mesa. Each subdirectory is a self-contained project with its own dependencies, .env.example, and README.

To get started, pick an example, cd into it, and follow its README:

cd just-bash-shell
npm install
cp .env.example .env
# populate .env with your keys
npm start

just-bash (App-level Mesa virtual filesystem)

These examples use the @mesadev/sdk to mount a Mesa repo as a virtual filesystem. You get ls, cat, grep, find, and every other bash command against files in a Mesa repo. No cloning, no sandbox needed.

ExampleDescription
just-bash-shellInteractive bash REPL over a Mesa repo. No AI, just bash.
py-repl-app-mountInteractive Python bash REPL over a Mesa repo using the Python SDK.
just-bash-ai-sdkAI agent with bash access, built with the Vercel AI SDK
just-bash-mastraAI agent with bash access, built with Mastra
just-bash-langchainAI agent with bash access, built with LangChain

Cloud sandboxes (OS-level Mesa virtual filesystem)

These examples mount Mesa repos inside cloud sandboxes using the Mesa CLI. The CLI runs a FUSE filesystem inside the sandbox. The repo's files appear as a normal directory.

ExampleDescription
runloop-shellInteractive shell in a Runloop devbox
daytona-shellInteractive shell in a Daytona sandbox (TypeScript)
daytona-python-shellInteractive shell in a Daytona sandbox (Python)
blaxel-shellInteractive shell in a Blaxel sandbox
e2b-shellInteractive shell in an E2B sandbox
sprites-shellInteractive shell in a Sprites sandbox
superserve-shellInteractive shell in a Superserve sandbox

Other

ExampleDescription
change-managementCreate changes and bookmarks programmatically
realtime-nextjsLive browser editor and sandbox terminal using MesaFS realtime events

About

Minimal interactive CLI agent using Mesa's cloud filesystem with just-bash

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages