The AI Coding Agent for DevOps, SRE, and Platform Engineers.
OpsCode is a terminal-native AI agent built for the complete DevOps and Platform Engineering lifecycle. Ships with built-in subagents for cloud infrastructure and CI/CD, an extensible plugin engine to build custom agents for any stack, autonomous CI/CD rubric grading, and modes to manage human in the loop.
# Launch the interactive terminal UI with live reasoning stream$ opsOpsCode v1.0.0 — DevOps, SRE, and Platform Engineering AgentOrchestrator: LangGraph State Machine | SDK: Deep Agents SDKActive Agent: root (4 global skills) | 6 Domain Subagents loadedops> Investigate failing ArgoCD sync on staging and generate fixed Helm values-> Auto-routed to [k8s-helm-provisioner] with isolated memory[MCP Tool] Querying Kubernetes API: ingress schema deprecation detected-> Generated values.yaml patch (networking.k8s.io/v1 updated)Approval? [Approve Patch] [Inspect Diff] [Reject] (Mode: Manual)
Purpose-Built for DevOps, SRE, and Platform Engineering
A flexible, terminal-native AI runtime that adapts to your team's tooling, manages human-in-the-loop safety, and automates complex multi-step operations.
Extend to Any Stack & Custom Agents
OpsCode is not locked to a fixed set of tools. Define custom subagents with a simple AGENTS.md file, install bundled marketplace plugins with one command, connect external MCP tools, or bind async remote LangGraph subagents for distributed workloads.
Modes Built for Safe Governance
Engineered specifically for infrastructure risk. Switch instantly between Manual Mode (prompt on every mutating action), Auto Mode (read-only fast-tracked with destructive gates), and YOLO Mode with Shift+Tab. Unicode and shell security scanners catch injections before execution.
Rubric Grading & Isolated Memory
Run unattended in CI/CD with self-grading Worker + Grader loops that evaluate acceptance criteria against markdown specs. 6 specialized subagents use isolated BranchMemoryStore sandboxes, keeping intermediate token churn out of your root context.
Engineered for DevOps & Platform Teams
General coding assistants excel at frontend and backend application code, but DevOps, SRE, and infrastructure demand customizable subagents, multi-tier safety governance, and autonomous CI/CD loops.
| Capability | Aider | OpenHands | Claude Code | OpsCodeEXTENSIBLE DEVOPS |
|---|---|---|---|---|
| Core Target & Engineering Scope | Application Code | General Software | General Coding | DevOps, SRE, & Platform Engineering |
| Custom Subagents (.opscode/agents/) | None | Hardcoded Archetypes | None | Custom Subagents via simple AGENTS.md |
| Extensibility & Marketplace Plugins | Limited | Plugin API | MCP Only | Plugins, Marketplace, MCP, Remote Agents |
| Human-in-the-Loop Runtime Modes | Git Revert | Docker Sandbox | Confirm on tool call | Manual, Auto (-y), & YOLO with Shift+Tab |
| Multi-Agent Memory Sandboxes | Monolithic | Multi-Threaded | Monolithic | Isolated BranchMemoryStore per Subagent |
| Skill Hierarchy & Precedence | Single Prompt | System Prompt | Skills / Rules | Deterministic 7-Tier Resolution Order |
| Autonomous CI/CD Rubric Self-Grading | None | Unit Test Runner | None | Worker + Grader Self-Evaluating Loops |
| Multi-Model Hot-Swapping & Reasoning | CLI Flags | Web Dropdown | Single Provider | 20+ Providers with /model & Reasoning |
Extend to Any Stack. Governed by Design.
Deep dive into the architectural principles that make OpsCode the most flexible, extensible, and safe AI runtime for modern DevOps and Platform Engineering teams.
Extend with Custom Subagents
OpsCode is built on a modular LangGraph orchestrator that dynamically routes tasks to specialized subagents. Beyond the 6 built-in agents, you can create custom subagents for any domain (SRE, database ops, observability, compliance) with a simple AGENTS.md file.
- Custom Subagents via AGENTS.md: Define domain personas, scoped skills, and system prompts directly inside your repository.
- Isolated Memory Sandboxes: Each subagent runs in its own
BranchMemoryStore. Intermediate research and tool noise never leak to the root session. - Progressive Disclosure: Subagent skills load on-demand when relevant files appear in your workspace, keeping token overhead minimal.
// Custom Subagent defined via .opscode/agents/sre-incident-responder/AGENTS.md --- name: sre-incident-responder description: Triages Datadog alerts, correlates error logs, and executes runbooks skills: [datadog-alert-parser, loki-log-correlation, runbook-executor] mcp_servers: [prometheus, datadog-api] --- Task: Triage 502 spike on production checkout service Status: Correlated 47 logs across 3 pods | Memory: Isolated BranchMemoryStore
Modes to Manage Oversight
Production infrastructure demands predictable human oversight. OpsCode provides three distinct runtime modes to control the degree of autonomy. Toggle between them anytime mid-session with Shift+Tab.
Every single mutating action (file edit, delete, shell command, or remote API call) stops the agent and prompts for interactive approval. You inspect the exact diff before anything touches the filesystem or cloud accounts.
Autonomous Rubric Self-Grading
Running AI agents in CI/CD pipelines requires objective quality verification. OpsCode implements an autonomous Worker + Grader loop: the Worker generates code, and the Grader model evaluates it against your markdown rubric spec.
- Autonomous Repair Loop: If the Grader scores below threshold, the Worker reads structured feedback and iteratively repairs the output.
- Multi-Model Architecture: Author code with fast models and grade strictly with frontier reasoning models (Claude 3.7 / GPT-4.1 / DeepSeek R1).
- Pipeline Ready: Exits 0 on rubric pass, non-zero on failure with full audit traces for pull request comments.
7-Tier Skill Hierarchy & Plugins
Teach OpsCode new capabilities with simple Markdown files (SKILL.md). A deterministic resolution hierarchy guarantees that your team's repository rules always take precedence.
- Project Overrides: Commit
.opscode/skills/directly to Git so your entire team shares identical agent conventions. - Marketplace Plugins: Install bundled skills, agents, MCP tools, and slash commands with
ops plugin install. - Tool Execution Hooks: Trigger custom security audit scripts before or after any tool executes via
hooks.json.
20+ Model Providers. Zero Lock-In.
Switch model providers on the fly with /model in interactive sessions or --model in CI/CD pipelines. All model streams route through the identical safety gate and subagent memory sandbox.
Frontier & Reasoning Models
Cloud & APIEnterprise Cloud Endpoints
VPC & IAM SecuredHigh-Throughput & Local Offline
Zero Egress & Air-Gappedgemini-2.5-flash or deepseek-v3) for code scaffolding and frontier reasoning models (e.g. claude-3.7-sonnet or o3-mini) as strict rubric graders.What You Can Automate with OpsCode
From SRE incident triage and Kubernetes platform engineering to multi-cloud infrastructure suites, OpsCode delivers battle-tested automation you can govern with confidence.
Incident Triage & Automated Runbooks
Diagnose production incidents across Kubernetes clusters, cloud logs, and observability tools. With custom subagents and Prometheus/Datadog MCP servers, OpsCode correlates traces, identifies root causes, and generates remediation runbooks.
Kubernetes, Helm, & GitOps Delivery
Author hardened Helm charts and ArgoCD applications with Pod Security Standards (Restricted), PodDisruptionBudgets, zero-trust NetworkPolicies, and horizontal autoscaling. Includes automated dry-run linting and recovery loops.
Modular Terraform & OpenTofu Architectures
Generate production-grade Infrastructure as Code with IAM least privilege, multi-AZ VPC topologies, S3/DynamoDB state locking, and KMS key management. Features automated tflint validation loops and Terratest harnesses.
Hardened Pipelines & Custom Platform Skills
Author keyless AWS OIDC GitHub Actions workflows and declarative Jenkins pipelines. In headless CI mode, OpsCode uses autonomous Worker + Grader loops to score generated code against acceptance rubrics before merging.
Ready to Bring AI Safety to Your Infrastructure?
Install the lightweight OpsCode CLI binary on Linux, macOS, or Windows (WSL). Zero external runtime dependencies required.
$ curl -LsSf https://raw.githubusercontent.com/talkops-ai/opscode/main/scripts/install.sh | bash