Github template for backing up all your tools and agents.
- Create a github repo.
- Copy the
backup.yml
file to.github/workflows/backup.yml
. You can edit the cron settings to change the backup schedule to be more/less frequent. - Copy the
backup.py
file to the root of your repo. - Go to Relevance AI and create API Key.
- Go to your github repo and set the repository secret of
RELEVANCE_AUTH_TOKEN
andRELEVANCE_REGION
. (Optional: By default we only backup public tools and agents, you can turn that off by settingRELEVANCE_PUBLIC_ONLY
tofalse
as secret) - Push the changes to your repo and the backup will start running.