Github template for backing up all your tools and agents.
- Create a github repo.
- Copy the
backup.ymlfile to.github/workflows/backup.yml. You can edit the cron settings to change the backup schedule to be more/less frequent. - Copy the
backup.pyfile 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_TOKENandRELEVANCE_REGION. (Optional: By default we only backup public tools and agents, you can turn that off by settingRELEVANCE_PUBLIC_ONLYtofalseas secret) - Push the changes to your repo and the backup will start running.