AI Engineering
Advanced
Pro
Headless Mode, CI Automation & the Agent SDK
Running Claude Code without a human in the loop — scripts, pipelines, and the SDK underneath it all
35 min read
9 views
Learn how to run Claude Code non-interactively with -p, parse its structured JSON output, wire it into GitHub Actions and GitLab CI/CD with cost and safety controls, and understand the Agent SDK as the same harness exposed as a Python and TypeScript library — including when to reach for each option.
Practice questions (8)
-
View →
Why a CI Job Needs --bare, Not Just -p
Advanced · Free -
View →
Diagnosing Why Turn Caps Alone Weren't Enough
Advanced -
View →
Interactive vs. Automation Mode in the GitHub Action
Intermediate -
View →
Choosing Between the CLI and the Agent SDK
Advanced -
View →
Why the Nightly Triage Job Opens Draft PRs, Not Merged Ones
Intermediate