Skip to main content What is a Git Connection?
Git Connections allow AgentOS to pull your agent code directly from your repositories. When you push changes to your repository, AgentOS can automatically deploy the updated version of your agent.
Required Permissions:
Organization/Repository read access
Pull permissions
Commit history access
GitHub
Connect your GitHub repositories to deploy agents from both GitHub Cloud and GitHub Enterprise Server.
Setup Steps
Navigate to Settings > Git Providers
Click Add Git Provider
Select GitHub
Choose between:
GitHub Cloud (github.com)
GitHub Enterprise Server (on-premises)
Enter your Personal Access Token (PAT)
Provide organization/username
Save the connection
GitLab
Deploy agents from GitLab repositories, supporting both GitLab Cloud and self-managed instances.
Setup Steps
Go to Settings > Git Providers
Click Add Git Provider
Select GitLab
Choose between:
GitLab Cloud (gitlab.com)
GitLab Self-Managed (on-premises)
Enter your Personal Access Token (PAT)
Provide group/username
Save the connection
Azure Repos
Integrate Azure DevOps repositories with AgentOS for seamless deployments.
Setup Steps
Navigate to Settings > Git Providers
Click Add Git Provider
Select Azure Repos
Choose between:
Azure DevOps Cloud
Azure DevOps Server (on-premises)
Enter your Personal Access Token (PAT)
Provide organization and project details
Save the connection
ZIP File Deployment (No Git)
For quick deployments without Git integration, use the ZIP upload method alongside your Git providers.
You can use ZIP deployment even when you have Git providers configured. This is useful for:
Quick testing and prototyping
Deploying agents without repository setup
One-off deployments
How to Deploy with ZIP
Create your agent project using upsonic init
Compress the project folder into a ZIP file
Navigate to New Agent Deployment
Select Deploy from ZIP
Upload your ZIP file
Configure deployment settings
Click Deploy
Multiple Deployment Options
AgentOS allows you to configure one Git provider and use ZIP upload alongside it.
You can choose one of the following Git providers:
GitHub
GitLab (Cloud or Self-Managed)
Azure Repos (Cloud or Enterprise)
And use ZIP upload at the same time for quick deployments without Git.
Benefits:
Use Git for version-controlled deployments
Use ZIP for quick testing and prototyping
No need to commit every change during development
Production agents from Git, test agents from ZIP