CLI reference
PromptBeat commands, the AgentBeat command contract and release prerequisites, and model-call boundaries.
PromptBeat and AgentBeat have separate product command interfaces. AgentBeat v0.5.0 implements the current HTTP evaluator command; the older v0.3-agentbeat-preview.1 adapter Release does not.
PromptBeat commands
Section titled “PromptBeat commands”| Command | Purpose | Remote-call boundary |
|---|---|---|
promptbeat validate --config <path> | Validate a PromptBeat project | Does not prove remote connectivity |
promptbeat generate --config <project> --output <cases.json> | Generate a deterministic local case preview | No Target or external-backend red-team call |
promptbeat compile promptfoo … | Compile project/input to backend YAML | Local compilation |
promptbeat run --config <project> --output-dir <dir> | Run the full external-backend pipeline | Can call Generator, Target, and Judge providers |
promptbeat run promptfoo … | Execute an existing backend YAML | Calls configured providers |
promptbeat pipeline run … | Explicit full-chain pipeline entry | Calls configured providers |
promptbeat eval … | Evaluate backend YAML with optional Provider overrides | Calls configured providers |
promptbeat report … | Render JSON or HTML from a result | Local artifact generation |
promptbeat dataset build-version … | Build a versioned dataset artifact set | Can generate, evaluate, and call providers |
promptbeat dataset build-cycle … | Run bounded multi-round dataset construction | Can generate, evaluate, and call providers |
promptbeat seed pull … | Pull a collection from a file/URL Registry | Reads the selected Registry source |
promptbeat config inspect … | Inspect effective project configuration | Local configuration read |
promptbeat scenarios list … | List available scenarios | Local listing |
See PromptBeat quickstart for a complete example.
AgentBeat command
Section titled “AgentBeat command”agentbeat eval-run < eval-run-request.json > eval-run-response.jsonAgentBeat exposes this HTTP evaluation contract through the product command. It:
- reads one strict JSON value from stdin;
- requires
AIBEAT_AGENT_TARGET_REGISTRY; - verifies request Target Profile/Capability against the selected Deployment;
- calls the registered HTTP Agent through
business-http-json-v1; - requires
AIBEAT_JUDGE_BASE_URLandAIBEAT_JUDGE_MODEL; - emits one
eval-run-response-v1JSON value to stdout.
It can call a real Agent and LLM Judge and may produce Target side effects or model cost.
Source and release invocation
Section titled “Source and release invocation”If your development checkout actually contains core/go, PromptBeat source commands run from that directory. The currently checked public GitHub snapshot does not include it; new users should use the full package in the PromptBeat quickstart.
go run ./cmd/promptbeat --versiongo run ./cmd/promptbeat --helpDo not insert an extra -- before --version. For an installed AgentBeat distribution, inspect its version and top-level help; a binary named agentbeat alone does not prove eval-run compatibility:
agentbeat --versionagentbeat --helpDiscover exact flags
Section titled “Discover exact flags”Command help is generated by the installed build:
promptbeat --helppromptbeat run --helppromptbeat dataset build-version --helpagentbeat --help