# Local Runner

Canonical: https://devtune.ai/product/local-runner

## Test coding agents on your own machines.

The open-source agentpicks CLI runs Agent Picks tests on your machine or in GitHub Actions, each run in a fresh Docker container, with your agents’ own sign-ins or API keys.

#### Open source under Apache-2.0

Read the code that runs on your machine. The agentpicks CLI is licensed Apache-2.0, with its source on GitHub and its package on npm as @devtune/agentpicks.

#### Start from your terminal

Run init to write a setup, run to test the coding agents installed on your machine, and results to see which tool each run picked. With --no-upload you need no DevTune account. See Run tests on your machine.

```bash
npx @devtune/agentpicks init
npx @devtune/agentpicks run error-tracking --no-upload
npx @devtune/agentpicks results
```

#### Tests in GitHub Actions

The devtunehq/agentpicks action runs a setup from your repository in a workflow you can schedule, with the agent you install on the runner, and uploads each run to your DevTune project. See Run tests in GitHub Actions.

```yaml
name: Agent Picks
on:
  schedule:
    - cron: '0 6 * * 1'
  workflow_dispatch:

permissions:
  contents: read

jobs:
  agentpicks:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - run: npm install -g @anthropic-ai/claude-code@2.1.323
      - uses: devtunehq/agentpicks@v0.4.11
        with:
          setup: agentpicks/error-tracking.yaml
          agent: claude-code
          devtune-api-key: ${{ secrets.DEVTUNE_API_KEY }}
          devtune-project-id: ${{ vars.DEVTUNE_PROJECT_ID }}
        env:
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
```

#### Your agents, your keys

Test Claude Code, Codex, OpenCode and Pi with their own sign-ins or API keys. Model calls are charged to that account, and runs spend no DevTune credits.

#### Uploads become Actions

Upload the runs you keep and DevTune reads what each agent picked, then turns your runs into pick rates, loss reasons and Actions.

```bash
npx @devtune/agentpicks login
npx @devtune/agentpicks push error-tracking
npx @devtune/agentpicks upload ./agentpicks-runs
```

- [agentpicks on GitHub](https://github.com/devtunehq/agentpicks)
- [@devtune/agentpicks on npm](https://www.npmjs.com/package/@devtune/agentpicks)
- [Run tests on your machine](https://docs.devtune.ai/agent-picks/run-on-your-machine)
- [Run tests in GitHub Actions](https://docs.devtune.ai/agent-picks/github-action)
- [Pricing](https://devtune.ai/pricing?product=agent-picks)
