Skip to main content
The TestSprite CLI installs instructions into your repository for your coding agent. The coding agent uses the CLI to run saved tests, inspect results and fix your product code. When coverage needs to change, it asks the project’s TestSprite agent for a proposal that you can review and apply.

Install the skills

Run testsprite setup in the root of your repository to connect a workspace and install the skills. To choose one coding agent explicitly, run testsprite setup --agent codex. After setup, you can add targets locally.
By default, agent install installs all three skills. Use --skill testsprite-verify to install only the verification workflow or --dir <path> to choose the repository. The install command works offline.

Supported agents

testsprite agent list lists the targets supported by your CLI version. testsprite agent status shows what is installed in the current repository.

Checking skill health

After upgrading the CLI, run testsprite agent status. Older installations may still instruct your coding agent to use commands from a previous version. For a stale standalone file, reinstall the affected target with --force to keep a backup. For Codex, reinstall to refresh the managed section. Review local modifications before replacing them.
Status exits 1 if any installed skill is stale, modified, unmarked or corrupt. If a Codex section is corrupt, repair its markers before reinstalling.

Give the agent a verification task

Verify the guest checkout change against staging. Use the existing checkout test if it covers the change. If coverage is missing, show me the proposed assertions before applying them. Report the verdict and the result ID for any failure.
For existing coverage, the agent can run testsprite run <test-id> --env staging --wait --output json and inspect a failure with testsprite result get <result-id>. For new coverage it can call testsprite plan with the diff, inspect the proposed steps and run the saved test IDs after testsprite apply. The agent loop. In an automated workflow with several conversations, set PROJECT_ID, CONVERSATION_ID and PROPOSAL_ID to the reviewed plan’s projectId, conversation id and proposal.id. Pass those values explicitly to apply that proposal.