# Access datasets from a coding agent

Canonical: https://interlatent.com/docs/ivy/access-datasets

Describe the dataset you want, ask questions about its recordings, and turn the answers into a selection for vision model work with your MCP-compatible coding agent.

## Describe the dataset. Your agent finds it.

Section: https://interlatent.com/docs/ivy/access-datasets#start

With Ivy connected to your MCP-compatible agent, you can refer to a dataset the way you would with a teammate: when you made it, what it contains, roughly how much footage it has, or where you were working. Your agent looks through your accessible projects and recording metadata, uses the conversation for context, and returns the best match with a link. You do not need to look up a project name or copy an ID.

### Prompt

```text
Find the dataset I made yesterday with about 300 hours of ego data in this environment. Check my Ivy projects and available source metadata, verify the approximate footage volume, and open the best match. Tell me what you found and give me a link. If several datasets fit, show me the likely matches so I can choose.
```

Note: The agent matches your description against available metadata. It can verify footage hours from recording durations; it may need a detail from you when the environment or capture date was never recorded.

- [Connect your MCP agent](https://interlatent.com/docs/ivy/connect)
- [Bring another dataset into Ivy](https://interlatent.com/docs/ivy/import-datasets)

## Let the agent resolve the details

Section: https://interlatent.com/docs/ivy/access-datasets#existing-projects

Ask for the collection you remember. Your agent handles project discovery, recording lists, pagination, and internal IDs. It can compare available names, project creation dates, import sources, tasks, tags, cameras, and durations to narrow the search. A project creation date helps find a recent collection; the agent checks source metadata when you mean the date the footage was captured.

| What you say | What the agent does |
| --- | --- |
| The dataset I made yesterday with about 300 hours of ego data | Finds likely collections and checks recording durations against the approximate volume. |
| The warehouse batch we imported from S3 | Uses project and import-source metadata to identify the collection. |
| Use the dataset we were just reviewing | Resolves the reference from the conversation and keeps working with that selection. |
| The exported version we used for that experiment | Looks for the relevant Dataset snapshot and checks its saved metadata. |

### Prompt

```text
Find the warehouse collection we imported last week. Show me its total footage hours, recording count, available cameras, and tags. Check what annotations are already available and send me the project link.
```

- [Projects, recordings, and cameras](https://interlatent.com/docs/ivy/concepts#recordings)
- [Dataset snapshots](https://interlatent.com/docs/ivy/concepts#snapshots)

## Query your dataset in plain language

Section: https://interlatent.com/docs/ivy/access-datasets#ask-questions

Once the agent has found the data, ask what you want to know. It translates your question into queries over recording metadata, saved annotations, and available per-frame data, then returns the answer with links and supporting time ranges. You can refine the result in the same conversation and use the matching recordings for review, semantic trimming, export, or an experiment. You do not need to write SQL.

| Ask your agent | Use the answer to |
| --- | --- |
| How many hours are in this collection, and which cameras are available? | Check the size and camera coverage before choosing data. |
| Which recordings have a failed inspection in the saved labels? | Find examples to review or use in a vision decision model experiment. |
| Find labeled actions that last longer than 10 seconds. | Inspect unusual durations and refine a training selection. |
| Keep only the placement sections from those recordings. | Turn saved subtask spans into a semantic trimming selection. |
| Save those matches as a tag and give me a link. | Return to the same selection for the next task. |

### Prompt

```text
In that dataset, find recordings where the saved subtask labels show a pick followed by a placement, with the pick lasting more than 2 seconds. How many recordings match, and how much footage is that? Show the matching time ranges and links, then help me make a selection for review.
```

Note: Your agent queries existing evidence first with `run_query`. If the question needs visual labels that are missing, it identifies the gap and proposes analysis before claiming a match.

- [Find and save matching recordings](https://interlatent.com/docs/ivy/find-and-tag)
- [Available query fields and examples](https://interlatent.com/docs/ivy/query-reference)
- [Subtask segmentation and semantic trimming](https://interlatent.com/docs/ivy/subtask-segmentation)
- [Use a selection in an experiment](https://interlatent.com/docs/ivy/experiments)

## Find new datasets by describing the task

Section: https://interlatent.com/docs/ivy/access-datasets#hugging-face

You can also ask your agent to discover datasets on Hugging Face by task, then inspect the candidates and import a small sample. An exact repository ID is useful when you already have one, but it is not required to start a search. Private or gated repositories require your linked Hugging Face account to have access, including any required license acceptance.

### Prompt

```text
Find Hugging Face datasets with tabletop object manipulation that I could use for a vision model experiment. Show the most relevant candidates, their licenses, and available format information. Once I choose one, import a sample of 3 episodes into a separate project and show me the recordings and cameras. Keep that sample limit if conversion is needed.
```

Note: The default search focuses on LeRobot datasets. Supported LeRobot v3 imports directly and supported v2 converts automatically. Other layouts may need a converter; the agent checks whether the format supports the requested sample.

- [Hugging Face import steps](https://interlatent.com/docs/ivy/import-datasets#hugging-face)
- [Access private and gated repositories](https://interlatent.com/docs/ivy/import-datasets#private-datasets)

## Find data across connected sources

Section: https://interlatent.com/docs/ivy/access-datasets#connected-storage

Describe the source you remember, such as the warehouse collection from your connected S3 bucket or a folder shared with Ivy on Drive. Your agent checks existing import locations, storage connections, and directly shared Drive folders to find a match. If the data is already imported, it opens the recordings. For a new source, it helps resolve the folder or prefix and explains the import steps. It asks for a path or link when the source cannot be identified from the available context.

### Prompt

```text
Find the warehouse dataset from our connected storage. Check existing Ivy import locations and shared Drive folders for likely matches. If it is already imported, open it and summarize the recordings. If it still needs importing, show me the source you found and the import plan first.
```

Note: Bucket imports can read in place, while Drive imports copy files. New Drive folders must be shared directly with the Ivy sharing address. Review a Drive copy plan before starting it.

- [Access Amazon S3 datasets](https://interlatent.com/docs/ivy/amazon-s3)
- [Access Google Cloud Storage datasets](https://interlatent.com/docs/ivy/google-cloud-storage)
- [Access a Google Drive folder](https://interlatent.com/docs/ivy/google-drive)
- [Read in place or copy a source](https://interlatent.com/docs/ivy/source-reference#origin-mirror)

## Use data in your coding environment

Section: https://interlatent.com/docs/ivy/access-datasets#local-files

A coding agent with local file access can inspect files available in its working environment. Refer to the dataset directory you have been working with, or provide a path when it needs help finding the files. Your agent can inspect the layout, preserve relative paths and metadata, and help upload the collection to Ivy. Files on another machine need to be transferred or made available through a supported source.

### Prompt

```text
Find the recording dataset in this workspace that we were working with yesterday. Inspect its layout and show me the likely match. Check whether it is already in Ivy. If it needs uploading, explain the upload and any conversion requirements, preserving the directory structure and metadata.
```

- [Upload a local video](https://interlatent.com/docs/ivy/files-and-links#terminal)
- [Upload a recording directory](https://interlatent.com/docs/ivy/files-and-links#directory)
- [Import a direct video link](https://interlatent.com/docs/ivy/files-and-links#https)

## Refine or switch with a follow-up

Section: https://interlatent.com/docs/ivy/access-datasets#switch-datasets

Continue with “use that dataset”, “only the overhead camera”, or “switch back to yesterday’s ego collection”. The agent keeps track of the selected collection and resolves recording IDs and cameras for each new request. When you ask for a comparison, it can find both collections and query each one for the same measures.

### Prompt

```text
Switch back to yesterday’s ego collection. Compare its total footage hours, camera coverage, and saved subtask labels with the warehouse batch we just reviewed. Show me which labels they have in common so I can choose a consistent selection.
```

- [Refine a selection with tags and queries](https://interlatent.com/docs/ivy/find-and-tag)
- [Steer subtask labels with a prompt](https://interlatent.com/docs/ivy/subtask-segmentation)

## Bring the selected data into local code

Section: https://interlatent.com/docs/ivy/access-datasets#download-and-reuse

Ask the agent to download an exported version of the collection you selected. It finds available Dataset snapshots, checks their status and formats, and helps download a suitable ready export into your working environment. If you need a new snapshot with the latest recordings and labels, it prepares a build estimate for review.

### Prompt

```text
Get the latest ready Dataset export for the collection we just selected and help me download and extract it into a new data directory in this workspace. Tell me which snapshot and format you used. If no suitable export exists, show me the build estimate first.
```

Note: Dataset builds and downloads use credits. Training access is separately gated; contact team@interlatent.com to request it before planning a training run.

- [Build and download a Dataset](https://interlatent.com/docs/ivy/review-and-export)
- [Request vision model training access](https://interlatent.com/docs/ivy/vision-model-training#training-access)
