How startanew7/assay works
Assay is a framework for defining and validating agent-evaluation tasks, then rendering a read-only contract and separate executor/evaluator prompts. The main workflow is task definition → CLI selection and validation → variable construction and template rendering → manual handoff to independent agents. Evaluation is intentionally external: Assay does not invoke models or provide a sandbox. Source excerpts show the core runtime; some broader capabilities are included where the README documents them.
Main entry points: render.py Prompt renderer · cli.py Assay CLI · tasks Task workspace · task.py Load and validate
Components 13
Task authoring
- Task definition
tasks - Task scaffolding
assay/scaffold.py
CLI and task runtime
- Assay CLI
assay/cli.py - Load and validate
assay/task.py
Prompt generation
- Template variables
assay/variables.py - Prompt renderer
assay/render.py - Prompt templates
assay/templates
Agent handoff
- Contract and prompts
- Execution agent
- Task workspace
tasks - Evaluation agent
- Scores and evidence
Other components
- Task author
Connections 15
- Task author → Task definition: defines task
README.md - Task author → Assay CLI: runs commands
README.md - Assay CLI → Load and validate: loads and validates
assay/cli.py - Assay CLI → Task scaffolding: creates skeleton
assay/cli.py - Assay CLI → Prompt renderer: renders task
assay/cli.py - Load and validate → Task definition: reads definition
assay/task.py - Prompt renderer → Template variables: builds variables
assay/render.py - Prompt renderer → Prompt templates: reads templates
assay/render.py - Prompt renderer → Contract and prompts: writes outputs
README.md - Prompt renderer → Task workspace: writes contract
README.md - Contract and prompts → Execution agent: hands off prompt
README.md - Task workspace → Execution agent: provides workspace
README.md - Contract and prompts → Evaluation agent: hands off prompt
README.md - Execution agent → Task workspace: implements task
README.md - Evaluation agent → Scores and evidence: produces assessment
README.md