---
title: "Discussion on \"Can an AI Agent Fix a Failing CI Pipeline? I Tested Antigravity + Harness\" | Hashnode"
description: "Discussion on \"Can an AI Agent Fix a Failing CI Pipeline? I Tested Antigravity + Harness\". AI coding agents are getting pretty good at writing code.\nBut what happens when the code they help write breaks CI?\nI decided to find out. And yes, I deliberately broke something. 😅\nOne tiny bug. One"
url: "https://hashnode.com/posts/can-an-ai-agent-fix-a-failing-ci-pipeline-i-tested-antigravity-harness/6b0672cca95460e866df02ab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Can an AI Agent Fix a Failing CI Pipeline? I Tested Antigravity + Harness](https://shibamd.hashnode.dev/can-an-ai-agent-fix-a-failing-ci-pipeline-i-tested-antigravity-harness?utm_source=hashnode&utm_medium=feed)

AI coding agents are getting pretty good at writing code. But what happens when the code they help write breaks CI? I decided to find out. And yes, I deliberately broke something. 😅 One tiny bug. One

1d ago · 3 min read · shibamd.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#testing](https://hashnode.com/tag/testing)
-   [#google-antigravity](https://hashnode.com/tag/google-antigravity)

## Written by

[Shibam Dhar](https://hashnode.com/@ShibamD)

@ShibamD · India

  
[View profile](https://hashnode.com/@ShibamD)

Extraordinary DevRel Engineer

Driven by a passion for technology and a hunger for diverse knowledge, I transitioned into Developer Relations, where I embraced the role of a Developer Evangelist. This transition allowed me to combine my technical expertise with a fervor for community engagement. Beyond the world of code, I find joy in sharing jokes, embarking on foodie adventures, exploring new places through travel, and unapologetically declaring, "I Like Cake." Let's connect, collaborate, and share our passion for technology and community!

## Responses 1

Markdown supported · ⌘↵ to post

[Halfcycle](https://hashnode.com/@halfcycle)

[1d ago](https://hashnode.com/posts/can-an-ai-agent-fix-a-failing-ci-pipeline-i-tested-antigravity-harness/6b0672cca95460e866df02ab/comment/6b0706da637dbe1c88e3498c)

The bug is the interesting part: subtotal before or after the discount is a decision, not a typo. A test caught it here because someone had written the rule down. When nobody has, the agent's code and the agent's test agree on whichever version it guessed. That's why Halfcycle has a person approve rules like that before any code is written. In your runs, did the worker agent ever try to change the test instead of the code?
