Building headless automation with Claude Code | Code w/ Claude
- Source
- youtube.com
- Author
- Anthropic
- Date
Context
An Anthropic Claude Code engineer explains in a Code with Claude talk that the SDK runs Claude Code programmatically without a person typing, for example by passing a prompt with the dash p flag or piping a log file into it. By default it has no edit or destructive permissions, so builders pre-approve specific tools, such as running tests or writing files.
Output can be returned as JSON, or streamed, so other software can parse results, and a session ID lets an application resume the same for follow-up feedback. The GitHub action, built on the SDK, was shown starting on a feature request from an issue comment: it replied with a link to its run and produced a to-do list before implementing. The speaker also said the action could review code. The demo's final results were not shown in the part read.
- context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
Checking sign-in…
Loading comments…






