Use case
Build an agent that analyses your data.
An agent that can run code can do real analysis: load the file, try something, look at the result and try again. Upload the data, and download the chart.
The problem
Ask a model about a spreadsheet and it will guess at the numbers. Ask it to compute them and it needs somewhere to run the code, with the file within reach.
That place has to accept an upload, run for a while and give back files, not just text.
How Annex does it
Upload the file
Send the data into the sandbox as a file. It can be large; it goes in as it is.
The agent analyses it
It installs what it needs, writes the script, runs it, reads the output and tries again until the answer holds up.
Download what it made
The chart, the cleaned file or the report comes back out as a file. Stop the sandbox and the data on it is gone with it.
What it looks like
Put a file in, and take the result out.
From your own code
curl -X PUT "$ANNEX/sandboxes/sbx_…/files/content?path=/home/user/sales.csv" \
-H "Authorization: Bearer $KEY" --data-binary @sales.csv
curl "$ANNEX/sandboxes/sbx_…/files/content?path=/home/user/chart.png" \
-H "Authorization: Bearer $KEY" -o chart.pngRelated use cases
Add a code interpreter to your app
Let the model in your product write code and run it: start a sandbox for the conversation, run what it wrote, and show the answer and any files it made.
Read more →Collect data from the web
Let an agent fetch pages, run a headless browser and parse what it finds in a sandbox, then hand you the results as a file.
Read more →Split a big job across a fleet
Migrate five hundred files, or read ten thousand documents, with fifty sandboxes sharing one queue of work and one place for results.
Read more →