agentclash
v0.21.0
Published
AI agent evaluation CLI for races, replay, scorecards, and CI regression gates
Maintainers
Readme
agentclash
Command-line interface for AgentClash, an AI agent evaluation platform for real-task races, replay, scorecards, and CI regression gates.
Install
npm i -g agentclash
# or
npx agentclash --helpThe install pulls exactly one prebuilt binary for your OS/architecture from
the matching optional dependency (@agentclash/cli-<platform>-<arch>). No
postinstall scripts; no downloads at install time.
Supported platforms:
darwin-arm64,darwin-x64linux-arm64,linux-x64win32-arm64,win32-x64
Get started
agentclash auth login
agentclash link
agentclash challenge-pack init support-eval.yaml
agentclash eval start --helpUse a local CLI build against a hosted backend
If you're working on the CLI itself, you can run the local Go binary against a hosted AgentClash API. Production is the default:
export AGENTCLASH_API_URL="https://api.agentclash.dev"
cd cli
go run . auth login --device
go run . link
go run . run list
go run . eval start --help
# When the workspace already has challenge packs and deployments:
go run . eval start --follow--api-url overrides AGENTCLASH_API_URL for one-off commands.
Test before release
cd cli
go build ./...
go vet ./...
go test -short -race -count=1 ./...
go run github.com/goreleaser/goreleaser/v2@latest check
go run github.com/goreleaser/goreleaser/v2@latest release --snapshot --clean
cd ../web && pnpm buildIf you changed npm packaging, rehearse it locally:
node scripts/publish-npm/assemble.mjs v0.0.0-rehearse cli/dist
for p in npm-out/platforms/*/ npm-out/cli; do
(cd "$p" && npm pack --dry-run)
doneRelease flow for maintainers
Routine npm releases should not be manual.
- Land a releasable CLI change under
cli/onmainwith a conventional commit (fix:,feat:, orfeat!:). - Merge the Release Please PR (
chore(main): release x.y.z). - Let
.github/workflows/release-cli.ymlpublish GitHub release assets, npm packages, and smoke installs automatically.
Other install channels
Source, Homebrew, install scripts, and direct downloads are documented at https://github.com/agentclash/agentclash#cli.
The full maintainer playbook, including the one-time npm Trusted Publishing bootstrap, lives at https://github.com/agentclash/agentclash/blob/main/docs/cli-distribution.md.
License
FSL-1.1-MIT — see LICENSE.
Short version: use and modify it for anything except running a competing commercial eval-engine service; each version auto-converts to MIT two years after release.
