GitHub | Discord | Forum | Twitter
Workbench is a UI for doing exploratory analysis on open source AI models by applying interpretability techniques. It leverages both NNsight and NDIF to provide an interactive environment for exploring LLM internals and building experiments.
- Node.js >= 18.18.0
- Install uv
- Install bun
- Create a venv using
uv venv - Activate it afterwards using the printed command
- Run
uv sync --extra dev - Setup
.envandworkbench/_api/.envfollowing their respective.env.templatefiles.
Now, run the frontend and backend together, with:
- bash ./scripts/web.sh
- bash ./scripts/api.sh
To use a local SQLite database instead of Supabase, add these to your root .env:
NEXT_PUBLIC_LOCAL_DB=true
LOCAL_SQLITE_URL=./local.dbThen create the database tables:
cd workbench/_web
bunx drizzle-kit generate
bunx drizzle-kit push