Skip to content
PromptBeat · Model & Prompt

Get started with PromptBeat

Download the full package, preview local test cases without an API key, then connect your model and read the evaluation report.

Start with a local example. You do not need a model account or API key to validate the bootstrap project and preview its test cases.

Choose your operating system. These v0.5.0 full packages include the CLI, examples, Skills, Node.js and the evaluation runtime—no separate runtime install for this walkthrough.

Release notes and asset checksums · GitHub repository

Open a terminal in the folder containing your download, then select the matching instructions.

macOS · Apple Silicon

Terminal window
tar -xzf promptbeat-0.5.0-darwin-arm64.tar.gz
cd promptbeat-0.5.0-darwin-arm64
./bin/promptbeat --version

macOS · Intel

Terminal window
tar -xzf promptbeat-0.5.0-darwin-x64.tar.gz
cd promptbeat-0.5.0-darwin-x64
./bin/promptbeat --version

Linux

Terminal window
tar -xzf promptbeat-0.5.0-linux-x64.tar.gz
cd promptbeat-0.5.0-linux-x64
./bin/promptbeat --version

Windows PowerShell

Terminal window
Expand-Archive .\promptbeat-0.5.0-windows-x64.zip -DestinationPath .\promptbeat-unpacked
cd .\promptbeat-unpacked\promptbeat-0.5.0-windows-x64
.\bin\promptbeat.cmd --version

Stay in this package folder for the remaining commands. It contains bin/, examples/, runtime/ and promptbeat-skills/. On macOS, if the operating system blocks the downloaded executable, review its security prompt and your organization’s policy; do not disable system-wide protections.

macOS / Linux

Terminal window
mkdir -p artifacts
./bin/promptbeat validate --config examples/bootstrap/promptbeat.yaml
./bin/promptbeat generate --config examples/bootstrap/promptbeat.yaml --count 5 --output artifacts/cases.json

Windows PowerShell

Terminal window
New-Item -ItemType Directory -Force artifacts | Out-Null
.\bin\promptbeat.cmd validate --config examples\bootstrap\promptbeat.yaml
.\bin\promptbeat.cmd generate --config examples\bootstrap\promptbeat.yaml --count 5 --output artifacts\cases.json

Open artifacts/cases.json in your editor. These are test inputs, not model responses or evaluation scores. --count 5 means up to five cases; a smaller Seed set can produce fewer. Local generate does not call a Target, generator or Judge.

You can stop here. To have a coding assistant guide these steps, load a PromptBeat Skill.

For a real evaluation, use examples/llm-basic/promptbeat.yaml. Read its README, scenarios and provider settings first. This project uses three roles: an attack generator, a Judge and your target model.

Replace every placeholder below with your own local settings. Unlike bootstrap, llm-basic validation requires these variables; validation alone does not check that a remote service or credential works.

macOS / Linux

Terminal window
export ATTACKER_MODEL_NAME='<provider:model>'
export ATTACKER_BASE_URL='https://your-provider.example/v1'
export ATTACKER_API_KEY='<set-locally>'
export JUDGE_MODEL_NAME='<provider:model>'
export JUDGE_BASE_URL='https://your-provider.example/v1'
export JUDGE_API_KEY='<set-locally>'
export TARGET_MODEL_NAME='<provider:model>'
export TARGET_BASE_URL='https://your-provider.example/v1'
export TARGET_API_KEY='<set-locally>'
./bin/promptbeat validate --config examples/llm-basic/promptbeat.yaml
./bin/promptbeat run --config examples/llm-basic/promptbeat.yaml --output-dir artifacts/llm-basic/run

Windows PowerShell

Terminal window
$env:ATTACKER_MODEL_NAME='<provider:model>'
$env:ATTACKER_BASE_URL='https://your-provider.example/v1'
$env:ATTACKER_API_KEY='<set-locally>'
$env:JUDGE_MODEL_NAME='<provider:model>'
$env:JUDGE_BASE_URL='https://your-provider.example/v1'
$env:JUDGE_API_KEY='<set-locally>'
$env:TARGET_MODEL_NAME='<provider:model>'
$env:TARGET_BASE_URL='https://your-provider.example/v1'
$env:TARGET_API_KEY='<set-locally>'
.\bin\promptbeat.cmd validate --config examples\llm-basic\promptbeat.yaml
.\bin\promptbeat.cmd run --config examples\llm-basic\promptbeat.yaml --output-dir artifacts\llm-basic\run

run generates and evaluates cases through the full pipeline. It does not take the preview JSON from step 3 as input.

After a successful full run, open artifacts/llm-basic/run/report.html in your browser. Inspect evaluation_result.json in the same folder for the normalized result. The folder also retains backend configuration and raw evaluation artifacts; filenames depend on the selected project paths.

To render the HTML report again from an existing result:

macOS / Linux

Terminal window
./bin/promptbeat report --input artifacts/llm-basic/run/evaluation_result.json --output artifacts/llm-basic/run/report.html

Windows PowerShell

Terminal window
.\bin\promptbeat.cmd report --input artifacts\llm-basic\run\evaluation_result.json --output artifacts\llm-basic\run\report.html

No report is produced by the local preview alone. If a command fails, check the package folder, the config type and required environment variables before rerunning an evaluation.