JORO — Autonomous Google Cloud Operations Agent
Inspiration
Cloud incidents rarely arrive with a simple answer.
A service can be unhealthy because of a persistent configuration problem, a transient container failure, resource pressure, or a combination of signals. In many operations workflows, an engineer has to inspect health information, examine logs, correlate metrics, decide whether remediation is safe, perform the action, and then verify recovery.
I wanted to explore a different approach:
What if an AI agent could investigate the incident, reason about the evidence, decide whether remediation is appropriate, act when it is safe, and verify the result — instead of simply telling an engineer what to do?
That idea became JORO, an autonomous Google Cloud Operations Agent.
What JORO Does
JORO follows an operational loop:
OBSERVE → INVESTIGATE → CORRELATE → DECIDE → ACT → VERIFY
When an incident is reported, JORO:
- Checks service health and error information.
- Examines recent logs.
- Reviews available performance metrics.
- Correlates the evidence to determine the likely cause.
- Decides whether a corrective action is justified.
- Performs a restart only when the evidence supports it.
- Verifies whether the service recovered after the action.
- Produces a clear incident report explaining its reasoning and actions.
The important part is that JORO does not treat every incident as a restart problem.
Two Different Incident Scenarios
Scenario 1 — Persistent Configuration Failure
For checkout-api, JORO observed:
- Service status: UNHEALTHY
- Error rate: 37%
- CPU utilization: 92%
- Request latency: 4.8 seconds
- HTTP 503 errors
- Container startup failures
- Logs indicating a missing
DATABASE_URLenvironment variable
JORO correlated the evidence and identified the missing configuration as the underlying problem.
It correctly decided:
DO NOT RESTART.
Restarting would not fix the missing configuration and could simply cause the container to fail again.
This demonstrates that JORO can choose not to act when an action would be ineffective or unnecessarily disruptive.
Scenario 2 — Transient Container Failure
For payment-api, JORO observed:
- Service status: UNHEALTHY
- Error rate: 18%
- HTTP 503 errors
- Temporary health-check failures
- Transient container failure
- No configuration errors detected
This time, the evidence indicated a temporary failure rather than a persistent configuration problem.
JORO determined that a restart was safe and justified.
It then:
INVESTIGATED → DECIDED → RESTARTED → VERIFIED
The simulated restart succeeded, and JORO subsequently verified that the service had recovered.
Why This Is an Agent
JORO is not simply a chatbot that generates an incident explanation.
The agent has access to operational tools and can determine which tools are relevant to an incident. It uses their results as evidence, reasons over multiple signals, chooses between different courses of action, invokes a corrective tool when appropriate, and then performs a verification step.
The key distinction is the decision-and-action loop.
For example:
Configuration problem → don't restart.
while:
Transient failure + no configuration issue → restart → verify recovery.
This allows the same agent to behave differently depending on the evidence rather than following a fixed restart rule.
How It Was Built
JORO was built using Google ADK and Gemini, with Google Cloud Monitoring used for real CPU utilization data.
The agent is implemented in Python and exposes operational tools for:
- Service health inspection
- Recent log analysis
- Performance metrics
- CPU utilization monitoring
- Incident detection
- Service restart actions
- Post-action recovery verification
The project also includes controlled incident scenarios so the autonomous decision-making behavior can be demonstrated safely without performing destructive operations on production infrastructure.
The architecture deliberately follows a safety-first approach. JORO is instructed to observe before acting, prefer the least disruptive action, avoid destructive operations and IAM changes, and verify every corrective action it performs.
Safety by Design
Autonomous infrastructure actions need guardrails.
JORO therefore follows explicit operational policies:
- Observe before acting
- Investigate before deciding
- Prefer the least disruptive corrective action
- Never delete resources
- Never modify IAM permissions
- Never change billing or project configuration
- Never expose credentials, secrets, or API keys
- Do not restart a service without supporting evidence
- Always verify recovery after a corrective action
This makes the agent's autonomy bounded rather than unrestricted.
What I Learned
Building JORO helped me understand that an effective operations agent is not just about connecting an LLM to APIs.
The difficult part is designing the decision logic around the tools.
A useful agent needs:
- Reliable observations
- Multiple sources of evidence
- Clear operational policies
- Explicit action boundaries
- A verification step
- The ability to decide that doing nothing is the correct action
I also learned how Google ADK can be used to turn an LLM into a tool-using agent capable of interacting with operational workflows rather than only producing text.
Challenges
One of the biggest challenges was making the two incident scenarios behave differently.
A simplistic implementation could simply restart every unhealthy service. That would demonstrate automation, but it would not demonstrate intelligent operations.
Instead, JORO needed to distinguish between:
A persistent configuration/root-cause issue
and
A transient failure where restarting is reasonable.
Another challenge was ensuring that corrective actions were followed by verification. The agent therefore explicitly calls the recovery verification tool after performing a restart.
The project also required working through the practical integration of Google ADK, Gemini, Google Cloud Monitoring, the Python tool layer, and the API interface used by the demo.
What's Next
JORO is currently a controlled prototype demonstrating autonomous incident investigation and remediation.
The next stage would be to connect the same agent architecture to additional real Google Cloud services and production-grade observability signals, such as Cloud Logging, Cloud Run, alerting systems, and richer incident correlation.
Future versions could also support:
- Automatic incident prioritization
- More remediation actions
- Budget and quota awareness
- Multi-service dependency analysis
- Escalation when autonomous remediation is unsafe
- Persistent incident history
- Human approval for higher-impact actions
- More sophisticated root-cause correlation
The goal is to evolve JORO from an incident-response prototype into a broader AI-powered cloud operations agent.
The Core Idea
JORO is built around a simple principle:
Don't just detect the incident. Understand it, decide what should happen, act safely, and prove that the action worked.
Investigate. Decide. Act. Recover.