Workshops: Agentic Engineering Practices

Debugging & Root-Cause Analysis with AI Coding Agents: Workshop

Coding agents propose fixes in seconds, and that is exactly the danger in debugging: a null check or a try-catch makes the symptom vanish while the cause stays. This workshop teaches developers a disciplined debugging loop with Claude Code, OpenAI Codex, Cursor or GitHub Copilot: reproduce first, form hypotheses and gather evidence, then fix the root cause and lock it in with a regression test.

Who is this workshop for?

  • Application developers who spend much of their time on bug tickets
  • Second- and third-level support engineers who trace defects into the code
  • Teams maintaining software with few tests or thin documentation
  • Developers facing intermittent failures, race conditions or memory issues
  • Tech leads who want fewer reopened bugs

What you will take away

  • Have agents turn bug reports into minimal, reproducible failing tests before any fix is attempted.
  • Feed stack traces, logs and error-monitoring data to the agent in a structured, privacy-safe way.
  • Run hypothesis-driven investigations in which the agent proposes experiments and you decide which ones run.
  • Automate regression hunting with git bisect run and agent-written check scripts.
  • Tell root-cause fixes from symptom patches and document the cause for the team.

Agenda

  1. Module 1

    The debugging loop with agents

    • Reproduce, hypothesise, test, fix, guard
    • Why agents rush to fixes and how to slow them down
    • Instruction file rule: explain the cause before changing code
  2. Module 2

    Reproduction

    • Exercise: from vague bug report to failing test
    • Minimising inputs and environment differences
    • When a bug only shows up in production or under load
  3. Module 3

    Gathering evidence

    • Stack traces, logs and dumps as agent context
    • Connecting error monitoring read-only via MCP
    • Temporary instrumentation and removing it cleanly
  4. Module 4

    Hard cases

    • git bisect run with an agent-written check script
    • Flaky tests, race conditions and time-dependent bugs
    • Memory and resource leaks: what the agent can and cannot see
  5. Module 5

    Closing the loop

    • Root cause or symptom? A review checklist
    • Regression test and a short cause write-up in the ticket

Symptom patches are the default failure

Left to itself, an agent optimises for making the error message go away. Typical results are extra null checks, broad exception handlers, retries or raised timeouts. Sometimes that is the right fix; often it hides a deeper problem that resurfaces elsewhere. We practise one simple rule: no code change until the agent can name the cause, show the evidence and predict what the fix will change.

Logs contain personal data

Production logs and error reports often include names, email addresses, IP addresses or customer IDs. Before they reach an agent's context they should be filtered or pseudonymised, and the AI tool should run under a business plan with a data processing agreement. We show practical filters and explain the GDPR considerations; the legal assessment stays with your data protection officer.

  • Read-only access to monitoring and log systems
  • Pseudonymised samples instead of raw exports
  • No production database credentials in the agent's environment

Bring your open bugs

We work on real, reproducible bugs from your backlog or on prepared defects in a sample application. Remote or on-site, in English or German.

Frequently asked questions

Can agents use a debugger?

Agents mostly work with tests, scripts, logs and temporary output rather than interactive breakpoints. Interactive debugging often stays faster in human hands, so we practise combining both: you step through the code, the agent analyses what you found.

Does this replace our incident process?

No. The workshop covers code-level debugging by developers. Incident handling, on-call and postmortems follow their own process, which agents can support but not replace.

Which languages does the workshop cover?

The method works in any stack. We adapt the exercises to your languages, such as Java, C#, Python, JavaScript and TypeScript or Go, and to your logging and monitoring tools.

Workshop

Get in touch

Which bug has been reopened one time too many in your team?

Tell us roughly how many people will join and pick dates that work – we will get back to you within 24 hours with a proposal for content, format and schedule.

Prefer to talk first?

15 minutes, free and without obligation – with our AI Trainers and AI Code Engineers.

Book a call for free (opens in new tab) +49 761 519 751 50 (24/7)

Request a training / workshop

Workshop: Debugging & Root-Cause Analysis with AI Coding Agents: Workshop · 1 day

Dates that work for you (optional)

Suggestions about 2 weeks ahead – pick as many as you like

Reply usually within 24 hours · jocapps is ISO 27001 certified · Privacy