Back to Browse

Find & Fix Bugs Automatically with Chunk (CI/CD AI Agent Tutorial)

89 views
Apr 23, 2026
9:33

Bugs don’t show up where you write code, they show up in CI. In this Ship Smarter Session, we walk through how Chunk, CircleCI’s autonomous CI/CD agent, finds, diagnoses, and fixes bugs directly in your pipeline by using real failure logs, test results, and build history. You’ll learn the full workflow: -Set up Chunk in a repo -Run the “Fix bugs” preset -Review logs, diffs, and pipeline runs -Open a pull request with fixes that actually pass As AI speeds up code generation, subtle bugs slip through more often and live longer across commits. Chunk closes that gap by operating where failures actually happen: your CI/CD pipeline. If you want faster feedback loops without digging through stack traces, this is where to start. Demo repo: https://circle.ci/4dirM79 Quick start guide: https://circle.ci/4cq78Bg Tutorial: https://circle.ci/4cXBrPY Try Chunk: https://circle.ci/4tKIx0p Get started with CircleCI: https://circle.ci/4w0j4BA -- 00:00 Why bugs get harder to catch as teams ship faster 00:38 What Chunk is and why it lives in CI/CD 01:17 Quick setup (repo + CircleCI project) 04:00 Enabling Chunk + model provider setup 04:58 Running the “Fix bugs” preset 05:39 Reviewing results (summary, logs, diffs) 06:58 Opening and validating the PR 07:22 How Chunk iterates using pipeline feedback 08:00 Using more targeted prompts 08:38 Bigger picture: MCP + closing the loop 09:00 Wrap-up: faster bug detection and resolution

Download

0 formats

No download links available.

Find & Fix Bugs Automatically with Chunk (CI/CD AI Agent Tutorial) | NatokHD