Integrations · Agents

Agent cost in GitHub Actions

See what review bots and other CI agents cost, on the feature of their pull request.

  • CollectorThe GitHub Action, with tc
  • ReadsClaude Code and Codex session files on the runner
  • Cost lands onThe pull request's feature, or the project

One step after your agent

  1. 1

    Create a service token

    Make one under Settings. Whoever holds it is the person on the messages.

  2. 2

    Add the step

    Name the project, and the feature if the job knows it. The Action installs tc and reports the session files the job wrote.

  3. 3

    Nothing to review

    Messages from the Action count in reports on arrival.

AgentHolds the tokenContractTagCostReview botTOanthropic-apiShop100.00
# .github/workflows/review.yml, after the step that runs your agent - uses: tokencontroller/tokencontroller/packages/github-action@v1 with: project: shop feature: ${{ steps.plan.outputs.feature }} # optional tags: purpose=code-review # optional token: ${{ secrets.TOKEN_CONTROLLER_TOKEN }}

Where CI cost lands

Reviews follow the pull request

The pull request's number and title are read on the runner. Only the feature keys in the title leave it.

The project as fallback

CI work with no feature lands on its project, as project overhead.

Its own contract

A rule on the agent's name can put the bot under the API account it is paid from.

In the docs

Start alone in minutes. Add your team later.

Solo is free forever and needs no card.