Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 823 Bytes

File metadata and controls

22 lines (14 loc) · 823 Bytes

Data Persistence & Sync Examples

This directory demonstrates how to synchronize files between your local machine and the remote AGB session, ensuring data persistence across sessions.

Overview

AGB provides a powerful synchronization mechanism that can:

  • Upload: Automatically upload local files to the cloud session.
  • Download: Automatically download generated files from the cloud session back to your local machine.
  • Watch: (Optional) Continuously sync changes.

Examples

File Archive Mode

Demonstrates the simplest way to persist data: downloading specific files (like generated charts or logs) after execution.

<<< ./file_archive_mode.py

Context Sync Demo

Shows bidirectional synchronization (uploading inputs, processing them, and downloading outputs).

<<< ./context_sync_demo.py