# Simon Willison: Engineering practices that make coding agents work - The Pragmatic Summit

> For agents: start with the [agent guide](https://ratstack.sh/llms.txt). Every page is Markdown by default; add `Accept: text/html` for HTML.

[The Pragmatic Engineer](https://www.youtube.com/@pragmaticengineer) · Published 2026-03-19 · 28:20 · A tier · Agents and MCP

[Watch on YouTube](https://www.youtube.com/watch?v=owmJyKVu5f8) · [All RatTube videos](/tube)

## Summary

Simon Willison discusses engineering practices for working with [coding agents](/lore/agents-explore-tests-remember). He describes red-green [test](/lore/tests-that-earn-their-place)-driven development: first observe a failing test, then have the implementation make it pass.

He argues that people still choose the quality of the code they accept and can direct agents to refactor weak results. The conversation also examines prompt injection through three ingredients: private data, malicious instructions, and a way to send data out.

## Section notes

- [0:50](https://www.youtube.com/watch?v=owmJyKVu5f8\&t=50s): Willison describes a workflow that includes shipping code from his phone.
- [5:18](https://www.youtube.com/watch?v=owmJyKVu5f8\&t=318s): Red-green testing establishes a failing test before the implementation.
- [10:22](https://www.youtube.com/watch?v=owmJyKVu5f8\&t=622s): Accepting or improving generated code remains an engineering choice.
- [15:11](https://www.youtube.com/watch?v=owmJyKVu5f8\&t=911s): The prompt injection discussion combines private data, hostile instructions, and exfiltration.

## Key concepts

- [test](/lore/tests-that-earn-their-place)
- [coding agents](/lore/agents-explore-tests-remember)

## Our take

Simon Willison on the engineering practices that make coding agents work: tests as the core reliability tool, prompt injection and security, and getting more from current models.

## Related videos

- [Code Mode: Let the Code do the Talking - Sunil Pai, Cloudflare](/tube/code-mode-let-code-do-talking)
- [All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI](/tube/all-code-is-slop-except-mine-lauren-tan)
- [How We Build Effective Agents: Barry Zhang, Anthropic](/tube/building-effective-agents-barry-zhang)
- [The Future of MCP — David Soria Parra, Anthropic](/tube/future-of-mcp-david-soria-parra)

Summary based on the transcript. Written 2026-11-15.
