Your data
Build a dataset
Ask your agent to turn your sources into a dataset you own, can open and can review.
You build datasets by asking your agent. It has dataset tools for this, and it asks you before it reads a source or removes anything.
Create a dataset
In a chat:
Create a training dataset called "Support replies" from my recorded runs.
Add more sources to the same dataset at any time:
Add my Memory page to "Support replies", 20 practice requests.
Add the examples in ~/Documents/examples.jsonl to "Support replies".
Each request shows an approval card first. After it runs, the agent reports the counts, what was left out and why, and what was redacted.
You can also ask it to list your datasets, describe one, or remove one.
Two forms
| Form | Use it for |
|---|---|
| On-device | Training a model that will run on your device. Instructions are replaced with the app's on-device instructions, only the tools on-device models have are kept, and runs that used any other tool are left out, so the examples match how your model will run. |
| As recorded | Keeping the instructions and tools exactly as they were. |
Splits
Examples are split 80% training, 10% validation and 10% test. The split comes from the conversation each example belongs to, by a fixed rule, so:
- every run from one conversation lands in the same split;
- building twice from the same inputs gives the same dataset;
- adding a source later never moves an example into or out of the test set.
The dataset folder
Each dataset is a folder you own:
~/Library/Application Support/AlphaProxy/Training/Datasets/<name>/
├── manifest.json name, sources, counts, redaction totals, checksums
├── train.jsonl training examples, one per line
├── valid.jsonl validation examples
├── test.jsonl held-out test examples
└── ledger.jsonl for every example: its source, its split, what was redacted
The example format
One example is one whole run, on one line, in the chat format with tools: the messages, the tools that were offered, each tool call with its result, and the final answer. Shown here across several lines for reading:
{
"messages": [
{"role": "system", "content": "You are AlphaProxy…"},
{"role": "user", "content": "Draft a reply to Sam about Friday's review."},
{"role": "assistant", "tool_calls": [{"type": "function", "function": {"name": "memory_search", "arguments": "{\"query\": \"Sam review Friday\"}"}}]},
{"role": "tool", "content": "Sam asked to move the review to 3 pm…"},
{"role": "assistant", "content": "Hi Sam, 3 pm on Friday works…"}
],
"tools": [{"type": "function", "function": {"name": "memory_search", "parameters": {"type": "object"}}}]
}
To import examples you already have, write them in this format, one per line, and add the file as a source.