Skip to main content

Overview

Run a template-defined coding agent whose UseSystemPrompt capability derives guidance for the provider-familiar read, bash, edit, and write tools. The task lives in goal.md, so it can be revised independently from the PHP wiring. The agent reads examples/A01_Basics/Basic/run.php, creates a different InstructorPHP example under a timestamped /tmp/instructor-php/agent-test/ workspace, runs it, repairs failures, and verifies the result. Repository inputs remain read-only; generated artifacts stay available in /tmp for inspection.

Example