---
sidebar:
  hidden: true
title: roboto.upload_agent
---
Upload agent: a command-line program that uploads directories on a local machine to Roboto as datasets.

Run `roboto-agent configure` (or `python -m roboto.upload_agent configure`) once to choose the directories the agent scans, then `roboto-agent run` to upload each directory under them that contains an upload config file (`.roboto_upload.json` by default) to a dataset of its own. The agent writes `.roboto_upload_complete.json` into each directory it finishes and skips that directory on later runs. This package exports nothing: to upload from Python, import [`UploadAgent`](/docs/reference/python-sdk/roboto/upload_agent/agent#roboto.upload_agent.agent.UploadAgent) from `roboto.upload_agent.agent` and pass it an [`UploadAgentConfig`](/docs/reference/python-sdk/roboto/upload_agent/files#roboto.upload_agent.files.UploadAgentConfig) from `roboto.upload_agent.files`.

## Submodules

- [roboto.upload_agent.agent](/docs/reference/python-sdk/roboto/upload_agent/agent)
- [roboto.upload_agent.exceptions](/docs/reference/python-sdk/roboto/upload_agent/exceptions)
- [roboto.upload_agent.files](/docs/reference/python-sdk/roboto/upload_agent/files)
