원문: https://github.com/facebook/astryx/wiki/Agent-Init-Prompt-Vibe-Testing · 번역 기준: 2026-09-03

Astryx agent init prompt — pnpm astryx initgenerateCompressedIndex()를 통해 CLAUDE.md, .cursorrules, AGENTS.md에 주입하는 블록 — 를 테스트하고 개선하기 위한 경량 루프입니다.

과제를 주면, 에이전트들이 그 prompt + CLI 접근만으로 UI를 만들고, 적대적(adversarial) evaluator가 채점하고, prompt를 손보고, 모든 에이전트가 95점 이상을 받을 때까지 반복합니다.

이것은 전체 Vibe Tests harness와는 별개입니다 — 리포트 파이프라인도, 스크린샷도, CI도 없습니다. 당신과 Cursor, 그리고 채팅 하나면 됩니다.


빠른 시작

Cursor agent 모드에 이것을 붙여넣으세요:

Run a vibe test on the Astryx agent init prompt. Read /Users/joeyfarina/code/astryx/vibe-test-runs/GUIDE.md and follow it exactly. Here are the tasks I want to test:

1. "Build a login page with email and password inputs, a remember me checkbox, and a sign in button"
2. "Build a pricing page with 3 plan cards (Free, Pro, Enterprise) and a monthly/annual toggle"

Run both tasks with 3 parallel agents each. Keep iterating until all 3 score >=95 on each task.

에이전트가 가이드를 읽고 모든 것을 처리합니다: generateCompressedIndex()에서 현재 init prompt 가져오기, 그 prompt + CLI 접근만 볼 수 있는 builder들 spawn하기, 적대적 evaluator 실행하기, 실패 진단하기, agent-docs.mjs에서 prompt 손보기, 그리고 반복.


동작 방식

for each task:
  while any agent scores < 95 AND iterations < 50:
    1. Get current prompt from generateCompressedIndex()
    2. Spawn 3 builder agents in parallel (same task, same prompt, CLI access)
    3. Spawn 1 adversarial evaluator (fresh agent, CLI access, verifies every prop)
    4. If all 3 ≥ 95: move to next task
    5. Else: diagnose failures, tweak prompt in agent-docs.mjs, repeat

Builder 에이전트가 받는 것:

Evaluator 에이전트가 받는 것: