Skip to main content
The Reminix CLI works in any CI/CD environment. Set environment variables for authentication and use JSON output for scripting.

Environment variables

Configure the CLI for non-interactive environments:
VariablePurpose
REMINIX_PROJECTDefault project (overrides config file)
REMINIX_API_URLAPI URL (for self-hosted instances)
# Set project for the session
export REMINIX_PROJECT=acme/my-app

# Now all commands use this project
reminix agent list
reminix tool list

GitHub Actions

Call agents as steps in your build pipeline.
# .github/workflows/review.yml
name: AI Code Review
on: [pull_request]

jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install Reminix CLI
        run: npm install -g @reminix/cli

      - name: Run AI review
        env:
          REMINIX_PROJECT: ${{ secrets.REMINIX_PROJECT }}
        run: |
          DIFF=$(git diff origin/main...HEAD)
          reminix agent invoke code-reviewer \
            --prompt "Review this diff: $DIFF" \
            -o json > review.json

      - name: Post review comment
        run: |
          COMMENT=$(jq -r '.output' review.json)
          gh pr comment ${{ github.event.pull_request.number }} --body "$COMMENT"

Client tokens

Create and revoke client tokens for browser SDK use, or generate short-lived tokens in CI for downstream services.
# Create a token with metadata
reminix token create --metadata '{"displayName": "CI Bot", "env": "staging"}'

# Create a token with identity scoping
reminix token create --context '{"identity": {"user_id": "ci_bot"}}'

# Custom TTL (default: 1 hour, max: 24 hours)
reminix token create --ttl 7200

# Revoke a token
reminix token revoke tok_abc123

Next steps

Deploy from GitHub

The push-to-deploy alternative when you don’t want CLI in CI.

Scripting

Pipe CLI output through jq and shell scripts.

Coding Assistants

The same patterns from inside Claude Code, Cursor, or Windsurf.

Configuration & Secrets

Manage REMINIX_* env vars and runtime secrets.