-
Notifications
You must be signed in to change notification settings - Fork 11
Getting Started
This guide helps you set up and start using the AI DevOps Framework.
Run this single command to install or update:
bash <(curl -fsSL https://raw.githubusercontent.com/marcusquinn/aidevops/main/setup.sh)This handles everything automatically:
- Clones repository to
~/Git/aidevops - Installs the
aidevopsCLI command globally - Detects and uses your package manager (brew, apt, dnf, yum, pacman, apk)
- Configures all supported AI assistants
- Offers to install recommended tools
| Dependency | Purpose |
|---|---|
| git | Version control |
| jq | JSON processing |
| curl | HTTP requests |
| ssh | Remote connections |
| Dependency | Purpose |
|---|---|
| sshpass | Password-based SSH authentication |
| Tool | Purpose |
|---|---|
| Tabby | Modern terminal with AI features |
| Zed | High-performance editor with AI |
| OpenCode for Zed | AI coding extension |
| Tool | Purpose |
|---|---|
| gh | GitHub CLI |
| glab | GitLab CLI |
Setup offers to generate an Ed25519 SSH key if you don't have one.
After installation, you have the aidevops command available globally:
aidevops status # Check installation status
aidevops update # Update to latest version
aidevops uninstall # Remove from system
aidevops version # Show version info
aidevops help # Show all commandsSee CLI Reference for complete documentation.
If you prefer manual setup:
# Clone the repository
mkdir -p ~/Git
cd ~/Git
git clone https://github.com/marcusquinn/aidevops.git
cd aidevops
# Run setup
./setup.shSetup automatically configures these AI assistants:
| Tool | Configuration File |
|---|---|
| OpenCode | ~/.config/opencode/AGENTS.md |
| Cursor | .cursorrules |
| Claude Code | CLAUDE.md |
| Windsurf |
.windsurfrules, WINDSURF.md
|
| Continue.dev | .continuerules |
| Gemini | GEMINI.md |
| Warp | WARP.md |
| Codex | .codex/AGENTS.md |
| Kiro | .kiro/ |
For services requiring authentication:
# Use the secure key management script
bash .agents/scripts/setup-local-api-keys.sh
# Example: Add a service key
bash .agents/scripts/setup-local-api-keys.sh set codacy-api-key YOUR_KEY
# List configured services
bash .agents/scripts/setup-local-api-keys.sh listKeys are stored securely in: ~/.config/aidevops/mcp-env.sh
~/Git/aidevops/ # Repository location
├── AGENTS.md # AI assistant instructions
├── aidevops.sh # CLI source script
├── setup.sh # Installer/updater
├── .agents/ # All AI-relevant content
│ ├── scripts/ # 90+ automation scripts
│ ├── workflows/ # Development process guides
│ ├── memory/ # Context persistence templates
│ └── *.md # Service documentation
├── .github/workflows/ # CI/CD automation
└── configs/ # Configuration templates
~/.aidevops/ # User installation
├── agents/ # Deployed agent files
│ └── AGENTS.md # User guide
└── backups/ # Configuration backups
/usr/local/bin/aidevops # CLI command (or ~/.local/bin/)
-
"Show me what services are available"
- AI reads
.agents/documentation
- AI reads
-
"Help me set up Hostinger hosting"
- AI uses
.agents/hostinger.mdand scripts
- AI uses
-
"Check code quality for this project"
- AI uses quality CLI helpers
-
"Create a new GitHub repository"
- AI uses GitHub CLI helper scripts
You: I want to deploy a WordPress site on Hostinger
AI: I'll help you deploy WordPress on Hostinger. Let me check the framework documentation...
AI reads
.agents/hostinger.mdand useshostinger-helper.shAI: I found the Hostinger helper. First, let's verify your account is configured...
The framework creates organized working directories:
~/.aidevops/.agent-workspace/
├── tmp/ # Temporary session files (auto-cleanup)
├── work/ # Project working directories
│ ├── wordpress/
│ ├── hosting/
│ ├── seo/
│ └── development/
└── memory/ # Persistent AI context
Rule: AI assistants never create files in ~/ root - always in organized directories.
-
CLI Reference - Master the
aidevopscommand - Understanding AGENTS.md - Learn how AI guidance works
- The .agents Directory - Explore the framework structure
- Workflows Guide - Development processes
aidevops statusThis shows the status of all components including version, dependencies, and tools.
Ensure the repository is at the standard location:
ls ~/Git/aidevops/AGENTS.mdchmod +x ~/Git/aidevops/.agents/scripts/*.sh# Verify keys are loaded
source ~/.config/aidevops/mcp-env.sh
env | grep -i apiaidevops update