GitOps Workflow
Station is designed for GitOps - version control your agent configurations, MCP templates, and variables just like infrastructure code.Why GitOps?
| Traditional | GitOps with Station |
|---|---|
| Manual config changes | Version-controlled changes |
| No audit trail | Full Git history |
| Hard to rollback | Easy git revert |
| Single machine | Team collaboration |
| Config drift | Consistent state |
Directory Structure
A typical Station GitOps repository:Getting Started
1. Create a Git Repository
2. Initialize Station
3. Commit Initial Configuration
4. Push to Remote
Team Workflow
Clone and Run
Team members can clone and run Station with your configuration:Making Changes
-
Create a branch:
- Make changes (add agents, update configs)
-
Test locally:
-
Commit and push:
- Create Pull Request for team review
Code Review
Agent changes are reviewable like any code:Configuration Files
config.yaml
Global Station configuration:template.json
MCP server configurations with template variables:variables.yml
Environment-specific values (keep secrets out of Git!):Environment Management
Multiple Environments
Station supports multiple environments for dev/staging/prod:Switching Environments
Environment-Specific Configs
Each environment has its own:- agents/ - Agent definitions
- template.json - MCP server configs
- variables.yml - Environment-specific values
CI/CD Integration
GitHub Actions Example
Deploy on Merge
Secrets Management
Never Commit Secrets
Add to.gitignore:
Use Environment Variables
Template for Team
Create avariables.yml.example:
Best Practices
- One repo per team/project - Keep related agents together
- Use branches for changes - Never commit directly to main
- Review agent changes - Treat prompts like code
- Test before merging - Run agents locally first
- Keep secrets out of Git - Use environment variables
- Document your agents - Use clear descriptions in metadata
- Version your prompts - Git history shows evolution
Rollback
Revert a Change
Restore Previous Version
Next Steps
- Bundles - Package and share agents
- Deployment - Deploy to production
- CI/CD Integration - Automated pipelines

