Skip to main content
There are two ways to get your AgentMark files to the platform: git sync and CLI deploy. Connect a git repository to your app in the AgentMark dashboard. Prompts deploy automatically when you push.
  1. Push your project to a git repository (GitHub or GitLab).
  2. In the dashboard, navigate to your app’s Settings.
  3. Under “Repository”, connect your repository and select a branch.
Once connected, the platform pulls your files on every push. You can switch branches in the dashboard to deploy different versions. The platform’s visual editor syncs changes back to your repository.

CLI Deploy

For projects that don’t use git — or for CI/CD pipelines that need programmatic control — use agentmark deploy to upload files directly.
agentmark deploy
The command collects all .prompt.mdx, .mdx, .md, and .jsonl files from your AgentMark directory and uploads them to the platform.
# Preview what would be uploaded
agentmark deploy --dry-run

# Deploy with explicit credentials
agentmark deploy --api-key am_live_xxxxx --app-id app_xxxxx
See the CLI reference for all options, authentication resolution, and exit codes.
CLI deploy and git sync are mutually exclusive per app. If your app is connected to a git repository, disconnect it in Settings before using agentmark deploy.

Comparison

Git SyncCLI Deploy
Automatic deploymentYes (on push)Manual (run command)
Branch trackingYesNo (snapshot upload)
Requires gitYesNo
Platform editor syncYes (two-way)No
CI/CD usageVia git pushVia agentmark deploy
SetupConnect repo in dashboardagentmark login + agentmark link

Have Questions?

We’re here to help! Choose the best way to reach us: