CI/CD integration

Run Videlic automatically on every agent session in your pipeline.

You can integrate Videlic into any CI/CD pipeline that runs AI agents. The CLI supports non-interactive mode for scripted environments.

GitHub Actions

- name: Upload agent session to Videlic
  if: always()
  env:
    VIDELIC_API_KEY: ${{ secrets.VIDELIC_API_KEY }}
  run: |
    npm install -g @videlic/cli
    videlic analyze ./session.jsonl --repo ${{ github.repository }} --ci

Add VIDELIC_API_KEY to your repo secrets. The --ci flag exits non-zero if the trust score is below your configured threshold.

Failing the build

Set a minimum trust score threshold in your project settings. If a session scores below the threshold, videlic analyze exits with code 1, failing the CI step.

GitLab CI

upload-session:
  stage: post-agent
  script:
    - npm install -g @videlic/cli
    - videlic analyze ./session.jsonl --ci
  variables:
    VIDELIC_API_KEY: $VIDELIC_API_KEY
  when: always