For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI Binary Analysis in Your CI/CD

LOCI adds AI-based binary analysis to your CI/CD workflow.

It helps teams review performance before issues reach testing or production.

In this section

Start with the workflow. Then use the GitHub pages for setup and examples.


CI/CD Workflow

LOCI fits into your existing build workflow with two steps.

1

Upload

Run this step right after your build.

  • Upload compiled binaries to the LOCI backend.

  • Start analysis immediately.

  • Trigger automatic PR comments when the LOCI GitHub App is installed.

2

Summary

Run this step when you want results in the workflow UI.

  • Wait for analysis to finish.

  • Pull results back into the job.

  • Show the Agent Report and Function Insights in the workflow summary.

Use upload on every run. Add summary when reviewers need results inside GitHub Actions.


CI/CD Benefits

LOCI adds hardware-aware analysis to your pipeline before tests finish.

What you gain

  • Pre-test analysis catches performance and hardware interaction issues early.

  • Autonomous optimization gives concrete suggestions for bottlenecks.

  • Performance gates help block regressions in pull requests. Gates are defined in your repository's Contract Envelope (.loci/contract.yaml) — see contract

Where results appear

  • In the LOCI backend after upload.

  • In the workflow summary when you run summary.

  • In pull requests and checks when the LOCI GitHub App is installed.

This helps teams catch regressions sooner and review performance in the same flow as code changes.

Last updated

Was this helpful?