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

  1. Upload the file

    Send the data into the sandbox as a file. It can be large; it goes in as it is.

  2. 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.

  3. 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.png

Related use cases