News for hackers. Stuff that matters.

Ask HN: How can we make use of AI agents with existing GitLab CI/CD pipelines?

We currently utilize GitLab CI/CD pipelines to deploy our Kubernetes clusters. I am planning to integrate AI agents to gather cluster-related data and automate the deployment process. I am considering two primary approaches:

Replacing GitLab CI/CD with Agentic Workflows: Is this a reliable strategy? With GitLab, we can easily rerun a pipeline from the point of failure after fixing an issue. I am concerned that agentic workflows might lack this granular state management and retry capability.

Invoking GitLab CI/CD via Agents: In this scenario, the agent would trigger the GitLab API to start a pipeline or job. However, this seems to add more complexity than simply triggering them manually. How can I implement this efficiently?

Ultimately, my goal is to use agents to eliminate manual pre-pipeline preparation and to have them autonomously analyze and fix errors when a pipeline fails. Has anyone successfully implemented AI agents for this purpose?

( 2 comments | on HN )
Re:Ask HN: How can we make use of AI agents with existing Gi... by rumpelstiel on Tuesday January 13, 2026 @01:11AM (#46597774)
im not affiliated nor did i dig in deep, but when i saw this tool the first time i thougt of a similar usecase.. zuul ci gatekeeper https://zuul-ci.org/docs/zuul/latest/about.html#about-zuul

Project gating.. https://zuul-ci.org/docs/zuul/latest/gating.html#project-gat...

Re:Ask HN: How can we make use of AI agents with existing Gi... by tbharath on Friday January 16, 2026 @02:48PM (#46651240)
But I think it is not using LLM agents, correct?