> ## Documentation Index
> Fetch the complete documentation index at: https://docs.priorlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> TabPFN-3 and later versions support up to 1,000,000 rows, subject to feature count and checkpoint/API limits.
> For large datasets, use per-estimator subsampling, e.g. inference_config={"SUBSAMPLE_SAMPLES": 100_000}, in TabPFNClassifier or TabPFNRegressor from tabpfn or tabpfn_client.
> Pass raw pandas DataFrames to fit and predict. Categorical strings/categories, raw text, and missing feature values are handled automatically; no manual integer/one-hot encoding, imputation, scaling, or outlier removal is needed.

# Domain context

> Tell the agent what the table does not say: column meanings, earlier results and ideas worth testing.

The agent sees the column names and values. It does not know that `tenure` is in months, that negative charges are refunds, or that you already tried a feature and it did not help. Context fills that gap.

## What to include

* **What a row is** and when the prediction is made.
* **What unclear columns mean**, with units.
* **How the data was collected**, including anything unusual: a synthetic source, a changed definition, a known gap.
* **What has worked so far**: a baseline you want to beat, features that helped, ideas that did not.
* **Ideas to test**, roughly in order of how much you expect from them.
* **What not to do**: rules the agent must follow, such as never mixing rows across dates.

## Give it to Claude

Say it in the chat, or point Claude to a notes file:

```text theme={null}
Run Autofit on train.csv. The notes in DATASET.md describe the columns and what we tried.
```

Claude turns what you said into the context it passes to the agent. The setup summary shows this context word for word. Check it before you start: it is all the agent knows beyond the table.

From a shell, pass `--context`:

```bash theme={null}
autofit start churn.csv --target churn --context "One row per customer. tenure is in months. Negative monthly_charges are refunds."
```

## A good notes file

A short Markdown file works well. An example:

```markdown theme={null}
# Dataset context

## Task
One row per (date, asset). Predict next_day_return, demeaned per date.
Metric: MAE in basis points. Predicting 0 scores 92.5.

## Columns
| column | meaning | expected sign |
| momentum_5d_z | 5-day return trend, z-scored | + |
| funding_signal_z | crowded long positioning | − |

## What has worked so far
Default TabPFN on the raw features: 88.1 on validation.

## Ideas to test next
1. momentum × liquidity interaction
2. volatility scaling of return features

## Do not
- Shuffle rows across dates.
```

## While the session runs

You can add context at any time. The agent reads it after its current step. See [Steer a run](https://docs.priorlabs.ai/autofit/steer-a-run.md).

> [!NOTE]
>
> Context does not remove columns. To keep a leaking column out of the baseline, drop it. See [Leakage](https://docs.priorlabs.ai/autofit/frame-a-task/leakage.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.