WurstScript projects include built-in support for AI coding agents. grill can add an AGENTS.md file to the project root that gives AI assistants (Claude, Copilot, Cursor, and others) the information they need to work effectively with WurstScript code.
AGENTS.md is opt-in: grill generate and grill install ask whether to add it, and you can decide explicitly with the --with-agents / --no-agents flags. The generated file describes:
wurst/, wurst.build, dependencies)AI agents reading this file can answer questions, suggest code, and make changes that fit the conventions of a Wurst project without needing to be trained on WurstScript specifically.
The generated agent instructions point agents at the same small verification commands humans use:
grill typecheck --quiet
grill test --quiet
Quiet mode only prints errors and the final result, keeping agent context small. When something fails, agents rerun narrowly, e.g. grill test NAME for a specific unit test.
For a new project:
grill generate my-map --with-agents
For an existing project:
grill install --with-agents
Without the flag, grill simply asks during setup.
The template is versioned. grill install detects when a project’s AGENTS.md was generated from an older template and suggests refreshing it. Commit the file to version control so the whole team — and their agents — benefit.