Prior Labs open-sourced Autofit on December 3, 2026: a Claude Code plugin that pairs a background agent with TabPFN-4 inside a strict validation harness so tabular experiments stay comparable. The announcement post is by Philipp Singer, a former repeat Kaggle grandmaster, and the code lives at github.com/PriorLabs/autofit under Apache 2.0.
TL;DR
| Question | Answer |
|---|---|
| What problem? | Agents that rewrite validation or leak labels while chasing leaderboard points |
| Core model | TabPFN-4 via Prior Labs API |
| Agent host | Claude Code plugin with background worker session |
| Install | Marketplace add PriorLabs/autofit, /af login |
| Typical cost | Author cites median ~$2.64 Claude per 40-experiment Kaggle run |
| Output | HTML report, ensemble weights, .pkl export |
| OS | macOS, Linux, WSL2 |
Why Prior Labs built another tabular agent
Philipp Singer, Prior Labs founder, announced Autofit as an open-source Claude Code plugin
Image: Prior Labs
Singer narrative on the release page contrasts gradient-boosted Kaggle stacks with tabular foundation models (TFMs). TabPFN generations, culminating in TabPFN-4, aim for strong accuracy from a single forward pass without learning-rate sweeps. Prior Labs claims TabPFN-4 would have won 7 of 13 historical tabular competitions in their earlier blog analysis.
That strength leaves a different optimization problem: domain features, secondary lookup tables, sample weights, target transforms, and ensembles still move scores on real business tables. Coding agents speed implementation, but Singer argues generic chat sessions change validation mid-flight or fit statistics on full data, destroying comparability.
Autofit is his attempt to encode Kaggle discipline — one clean change at a time, airtight validation — into software that still feels like pair programming.
How Autofit works inside Claude Code
The plugin spawns a second Claude session under your login to write experiments while your main chat stays free for steering. Each run follows five stages per the official post:
- Frame the problem — metric selection from business goal, grouped or time-based splits, leakage column checks with human confirmation before drops.
- Baseline — plain TabPFN-4 on the raw table with locked evaluation.
- Iterative experiments — one idea per attempt: engineered features, joins, TabPFN configuration, transforms; optional human approval per step.
- Greedy ensemble — forward-selected blend using out-of-fold predictions after each batch.
- Deliverables — full-data retrain, live browser dashboard, standalone HTML, and a pickle file for downstream jobs.
Because TabPFN handles scaling and encoding internally, the agent spends cycles on hypothesis quality, not repetitive sklearn boilerplate Singer says wastes generic agents.
Harness rules that block classic agent failures
Prior Labs emphasizes code-enforced guardrails, not prompt pleading:
| Rule | What it prevents |
|---|---|
| Locked folds and metric | Changing evaluation mid-session to fake gains |
| Pipelines fit per fold | Target leakage through global normalization |
| Scoped edit permissions | Opaque whole-notebook rewrites |
| Leakage pause | Silent use of post-outcome columns such as market prices recorded after purchase |
| Report fact-check | Narrative claims that do not match logged scores |
The post highlights Kaggle Don’t Get Kicked! — Autofit flagged market-price columns likely recorded after auction purchase and paused for a human decision. Production models that keep such columns would look brilliant in validation and fail operationally.
Readers building their own agents should compare these mechanics to Datadog Ephyra property-based testing and Drift Monitor advisor gating as parallel answers to untrusted agent edits.
Interactive steering and education modes
Autofit sidebar lists every experiment with score deltas and diffs. You can inject domain facts the CSV lacks, request a specific follow-on idea, or require approval before each run. At session start you pick explanation depth: plain-language concepts, short rationales, or numbers only.
That design targets teams where a senior analyst supervises an agent rather than fully autonomous overnight runs — closer to loop engineering for coding agents than to a black-box AutoML button.
Claimed Kaggle benchmark results
Autofit Kaggle leaderboard chart comparing TabPFN-4 baseline and Autofit ensembles
Image: Prior Labs
Prior Labs reports 16 finished tabular competitions, 40 experiments each, late submissions placed on private leaderboards:
- 10 of 13 single-table sets: Autofit beat plain TabPFN-4.
- Where TabPFN already placed first or second, Autofit held rank on nine; three saw slight score decreases versus TabPFN alone.
- Large rank jumps cited include Prudential (#202 to #1) and BNP Paribas (#46 to #1) when custom metrics and cut points mattered.
- Three multi-table competitions had no plain TabPFN baseline; Autofit reached first on Recruit Restaurant by joining extra tables.
Agent configuration in those runs: Claude Opus 5.5 at high effort, brief competition context, 25–85 minutes wall time, $1.89–$4.28 Claude spend per run (median $2.64).
Treat these as vendor benchmarks. Replicate on your own held-out test if a deal depends on the numbers. For broader open-model context see our DeepSeek policy and open-weight discourse and multi-model evaluation research posts when comparing tabular TFMs to text LLMs.
Install and prerequisites
Official steps from the release post:
- Register at platform.priorlabs.ai.
- Inside Claude Code:
/plugin marketplace add PriorLabs/autofit
/plugin install autofit@priorlabs
/reload-plugins
- Run
/af login. - Open a project folder with your CSV and prompt: “Run Autofit on churn.csv and predict churn.”
Requirements: Claude Code, uv 0.11+, supported OS as above. Data uploads go to TabPFN API for fitting; agent logic stays local under your Claude credentials.
For Claude Code basics and command reference, see our Claude Code commands guide and skill distill workflows if you chain Autofit with custom skills.
Costs, limits, and honest caveats
Money. Plugin is free; spend is Claude tokens + TabPFN API. Singer’s Kaggle cost band is informative, not a quote for your table width or row count.
Scores. All reported numbers are cross-validation on training rows unless you run the documented command to score a held-out labeled test the session never saw.
Model lock-in. December 3 release targets TabPFN-4 and Claude Code only. Singer lists future work: richer EDA, more metrics, other LLM hosts.
Maturity. Version 0.1 — expect rough edges; file GitHub issues if folds reject valid ideas.
Comparison to boosting stacks. On ultra-clean tables where raw features already saturate signal, forty agent experiments may not beat a single TabPFN forward pass — Prior Labs acknowledges three competitions where scores dipped slightly.
Security and data handling notes
Sending tables to Prior Labs API means classifying data under your org’s third-party policy. The harness reduces integrity risk (leakage, metric gaming) but does not replace access control on exported pickle files or HTML reports stored on disk.
Teams already worried about agent path abuse should read our agentic attack detection primer alongside API key scoping for Claude and Prior accounts.
First-session workflow on your own CSV
A practical first run, following Singer instructions:
- Copy data locally — keep PII out of prompts; redact columns you do not want on Prior API if policy requires it.
- Declare the business outcome — churn, fraud, demand, not only the column name, so the agent picks a metric that matches production.
- Confirm split type — i.i.d. rows versus grouped by customer versus time ordering; Autofit asks because random splits lie on temporal business data.
- Let baseline finish — record the TabPFN-only score as your floor before approving feature experiments.
- Approve one change at a time when learning the tool; switch to autonomous mode only after you trust leakage prompts.
- Export pickle and HTML — store both in version control or artifact storage with the fold definition JSON if the plugin exposes it.
If scores jump then collapse on a held-out test, you likely overfit ensembles on CV rows — rerun the documented held-out evaluation command from the release post before presenting results to leadership.
How Autofit compares to generic AutoML and chat-only agents
| Approach | Validation discipline | Tabular TFM native | Transparency |
|---|---|---|---|
| Spreadsheet + chat | Weak unless you enforce splits manually | Maybe via API calls | Low |
| Classic AutoML (grid search) | Strong if configured | Often boosting-centric | Medium |
| Autofit | Locked in harness | TabPFN-4 default | Per-experiment diffs |
Autofit does not replace feature stores or production monitoring. It accelerates offline discovery the way Inkling Codex adapter accelerates coding benchmarks — a harness around a strong base model.
When Autofit is the wrong tool
Skip it when:
- Deep neural nets on images/audio dominate your problem — Autofit targets tables.
- Regulation requires open-source-only inference with no third-party API — TabPFN cloud calls may be barred.
- You need deterministic batch scoring at massive QPS without API latency — export pickle then engineer a batch path.
- Your team lacks Claude Code — wait for Singer promised multi-host support or build a thinner wrapper around the open repo.
Advent challenge and community feedback
Prior Labs runs a December “Impress the Grandmaster” challenge inviting creative Autofit workflows; Singer judges submissions with a 500 EUR gift card prize per the release post. That is marketing, but it will surface real integration patterns worth watching on GitHub discussions.
Related reading
- Claude Code commands reference
- Loop engineering for coding agents
- Skill Distill for Claude/Codex sessions
- Datadog Ephyra property-based agent testing
- Drift Monitor advisor gating for agents
- Decagon Arcus adherence bench for customer agents
- What are agent skills — complete guide
Autofit version, API pricing, and supported hosts may change; verify on Prior Labs site and GitHub before production use.
