Like AOF? Give us a star!
If you find AOF useful, please star us on GitHub. It helps us reach more developers and grow the community.
Agent Library
AOF includes a production-ready library of 30+ pre-built agents organized by operational domain. These agents are designed by DevOps and SRE experts to solve common operational challenges.
Quick Start
# List available agents
aofctl get agents --library
# Run an agent from the library
aofctl run agent library://kubernetes/pod-doctor
# Run with custom prompt
aofctl run agent library://kubernetes/pod-doctor \
--prompt "Debug CrashLoopBackOff in namespace production"
Agent Domains
| Domain | Agents | Focus Area |
|---|---|---|
| Kubernetes | 5 | Pod debugging, HPA tuning, Network policies |
| Observability | 7 | Alerts, SLOs, Dashboards, Logs, Traces, New Relic, Splunk |
| Incident | 5 | RCA, Postmortems, Runbooks, Escalation |
| CI/CD | 5 | Pipelines, Tests, Builds, Releases |
| Security | 5 | Scanning, Compliance, Secrets, Threats |
| Cloud | 5 | Cost, IAM, Right-sizing, Drift |
| ITSM | 3 | ServiceNow incidents, CMDB, Change management |
Using Library Agents
Direct Execution
# Run with default prompt
aofctl run agent library://observability/log-analyzer
# Run with custom prompt
aofctl run agent library://incident/rca-agent \
--prompt "Investigate the API latency spike at 14:30 UTC"
# Run interactively
aofctl run agent library://kubernetes/pod-doctor --interactive
Extend with Custom Agents
Copy a library agent as a starting point:
# Copy agent to local file
aofctl get agent library://kubernetes/pod-doctor -o yaml > my-pod-doctor.yaml
# Customize and run
aofctl run agent -f my-pod-doctor.yaml
Use in Fleets
Reference library agents in fleet definitions:
apiVersion: aof.sh/v1alpha1
kind: Fleet
metadata:
name: incident-response
spec:
agents:
- ref: library://incident/incident-commander
- ref: library://incident/rca-agent
- ref: library://observability/log-analyzer
strategy:
type: sequential
Agent Configuration
All library agents use a consistent configuration:
- Model:
google:gemini-2.5-flash(optimized for DevOps tasks) - Max Tokens: 8192
- Temperature: 0.1-0.3 (low for operational reliability)
Override defaults in your agent definition:
apiVersion: aof.sh/v1alpha1
kind: Agent
metadata:
name: my-custom-agent
spec:
# Inherit from library agent
extends: library://kubernetes/pod-doctor
# Override settings
model: anthropic:claude-3-sonnet
temperature: 0.1
Environment Variables
Library agents may require environment variables for tool access:
# Kubernetes (uses kubeconfig)
export KUBECONFIG=~/.kube/config
# Observability
export GRAFANA_URL=https://grafana.example.com
export GRAFANA_TOKEN=your-token
export PROMETHEUS_URL=https://prometheus.example.com
# CI/CD
export GITHUB_TOKEN=ghp_xxxx
export GITLAB_TOKEN=glpat-xxxx
# Cloud
export AWS_PROFILE=production
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
Best Practices
- Start with library agents - They encode expert knowledge
- Customize prompts - Tailor to your specific environment
- Extend, don't rewrite - Use
extendsfor modifications - Combine in fleets - Orchestrate multiple agents for complex tasks
- Monitor execution - Review agent decisions in audit logs
Contributing Agents
Submit new agents to the library:
- Follow the Agent Specification
- Include comprehensive system prompts
- Document required tools and environment variables
- Add examples and use cases
- Submit PR to the AOF repository
Next Steps
- Kubernetes Agents - Pod debugging, resource optimization
- Observability Agents - Alerting, SLOs, log analysis
- First Agent Tutorial - Build your own agent