Requirements
- macOS or Linux. Windows is not supported natively: use WSL2 and install Claude Code, uv and Autofit inside it.
- Claude Code 2.1.328 or newer, logged in, in a terminal or in the Code tab of the Claude desktop app. Run
claude updateif yours is older. Claude Code in VS Code does not run plugins. - uv 0.11 or newer. Run
uv self updateif yours is older, or update it the way you installed it (for examplebrew upgrade uv). - A TabPFN API account at platform.priorlabs.ai.
Install the plugin
Slash commands like/plugin and /af only work in Claude Code in a terminal. In the Claude desktop app, you add the plugin from the app and ask Claude for the rest.
- Terminal
- Claude desktop app
1
Add the marketplace and install
In Claude Code, run:Autofit installs itself as soon as the plugin loads, which takes about a minute. The line under the prompt says so, and its tools connect when it is done, without a restart.
2
Sign in to the TabPFN API
/af login again to renew it. If you skip this step, Claude signs you in the first time you ask it to run Autofit.3
Check your setup
TABPFN_TOKEN in the shell you start Claude Code from.
Show the sidebar
The sidebar lists every experiment with its score while a run is going. It is only available in Claude Code in a terminal. It docks next to the chat in Claude Code’s fullscreen layout (/tui fullscreen), in a window at least 110 columns wide, and opens by itself from 144 columns.
In the classic layout or a narrower window, the label under the prompt shows progress and /af prints the session with every experiment.
Install the command line tool
The same engine is also available as a command line tool, an MCP server and a Python package. The agent itself always runs in Claude Code.Uninstall
~/.autofit: sessions, feedback zips, the saved token and the autofit command. Delete that folder to remove them.