Code review

Review each push to a pull request with an agent you write.

A code review agent is an agent with a pull request trigger. Its prompt says what to look for.

Review every push

.ellipsis/agents/code-review.yaml
ellipsis:
  kind: agent
  name: code-review

trigger:
  type: react
  pull_request:
    on: [pushed]
    draft: false

session:
  claude_code:
    prompt: |
      Find bugs in this pull request. Post one review with `gh`
      and comment on the line of each bug. Post nothing if you
      find no bugs or if newer commits arrived.
    model: claude-sonnet-5
  permissions:
    github:
      permissions:
        contents: read
        pull_requests: write
  budget:
    session: 3

Each push to a non-draft pull request starts a session that reviews the changes and posts one review as ellipsis-dev[bot]. Edit the prompt to change what it looks for, and add trigger filters to choose which pull requests it reviews.

On this page

Schedule a demo