InfraStudio Agents

InfraStudio Agents

From analytics to a reviewed pull request

Connect product evidence to engineering work: signals, findings, approval, a plan, implementation, review and a merge decision.

Last updated

Begin with a question the data can answer

An analytics-to-pull-request workflow connects a product observation to a proposed code change without hiding the decisions between them. InfraStudio Agents reads connected signals and the repository, writes findings with evidence, and lets your team choose what to plan or implement. The output is a reviewable pull request rather than a promise that every detected movement needs code.

Different sources answer different questions. GA4 can describe acquisition, events and conversion patterns. PostHog can supply product events and funnel context. Microsoft Clarity contributes collected aggregate metrics such as dead clicks and rage clicks through daily export snapshots. The runner does not fetch or replay individual session recordings. A person can separately inspect recordings inside Clarity when available. Sentry contributes exceptions, stack traces, affected-user counts, releases and breadcrumbs. Which conclusions are possible depends on what you actually instrument and connect; the agent cannot reconstruct missing events from a dashboard.

Check measurement before interpreting a trend. Duplicate success events, a funnel step fired on page load, a changed event name or a different date range can produce a convincing but misleading story. A report should state its window, segment and source and distinguish measured facts from possible explanations. Multiple sources can support an investigation, but agreement does not automatically establish causation.

Turn observations into findings

The product analytics review runs on request or on an enabled schedule. It reads the available sources, the code, earlier reports and decisions, then proposes ranked findings. A useful finding names the behavior, explains why it matters, identifies the evidence and suggests a change specific enough to plan. It should also say how the team will verify the outcome and where uncertainty remains.

Findings are the unit your team can accept, change or reject. A suspicious pattern can lead to a request for better instrumentation rather than a feature rewrite. An error can be noise or a real bug. The error triage agent handles the Sentry-focused investigation, separating new and rising problems from browser extensions, old versions and unrelated network errors.

Illustrative example: a confusing return path

This is a worked example, not a customer case or a completed InfraStudio Agents analytics run. Imagine that the product team sees fewer completed checkout events in a mobile segment. GA4 shows where that segment enters; PostHog shows the apparent gap between return and success events; Clarity aggregate metrics offer context about repeated interaction; Sentry shows a callback exception. No numbers or business outcome are asserted for this hypothetical project.

The first finding might be “Investigate the checkout return state,” with links to the actual evidence windows. The code review then asks whether the success event is missing, the payment is incomplete, or the UI is failing after a successful payment. Those possibilities imply different changes. Fixing an event name could repair measurement while leaving user behavior unchanged; retrying a payment without understanding state could create a worse problem.

Suppose the code supports a missing-parameter error in the return handler. The plan could propose explicit validation, a recoverable message and tests for incomplete callback input. The team would check that the plan preserves the payment provider contract and avoids duplicate actions before approving implementation. The important output is the reasoning that connects evidence to behavior, not an impressive-looking chart.

After review, CI and a human merge, the team would compare the same event definitions and error group across a suitable release window. A reduced error count might support the technical fix. A conversion claim would require a separate evaluation accounting for traffic mix, instrumentation and other changes. This example does not claim uplift, recovered revenue or a measured reduction in engineering time.

Keep the decision before the code

A workspace admin or owner can request a plan, approve implementation, ask for changes or reject a finding. The plan describes files, steps, risks and verification. Implementation prepares a branch and pull request within the configured limits. The team can inspect the change and ask for revisions before merging. A report's confidence does not grant it authority to change production.

The PR reviewer reads the diff and surrounding code and posts actionable feedback. The CI fixer investigates failed checks; automatic failed-check runs comment a diagnosis unless branch push is enabled. An explicit @app fix request through Mentions can also authorize a guarded branch update, so disable Mentions for a comment-only evaluation. Neither a review verdict nor a green test badge proves correctness. People still need to weigh missing coverage, operational risks and what the evidence actually supports.

Human merge is the default. Auto-merge is a separate, opt-in GitHub-only agent with its own checks and protected paths. Following a deployment is also separate from proving a product outcome: a service can answer its health check while a particular customer journey remains broken. Decide which production signals need inspection when approving the change.

Start with one project and a deliberate schedule

  1. Choose a repository and an admin or owner who will own the first evaluation. New GitHub projects enable the runner and five event agents automatically; decide which triggers you want before connecting if a workspace AI key already exists.
  2. Otherwise, after connecting, open Agents → Settings on the project card and review or disable event triggers before adding an AI key. Manually added GitLab projects need the runner enabled separately.
  3. Connect the relevant analytics and error tools under Integrations. You do not need every source to begin, but the report must respect the gaps. Add the AI key at the intended project or workspace scope.
  4. Run product analytics review manually as an admin or owner. Read its findings against the underlying data. The scheduled analytics and error-triage workflows are off by default; enable them only when their scope and frequency are useful.

Your provider bills token usage, and the platform plan limits runs and concurrency. Choose model and schedule using observed usage from your own project. Read pricing and security before expanding the evaluation. Read-only connectors and scoped credentials reduce what an investigation can change, while the separate implementation workflow applies code-change guards.

What real evidence looks like

Our InfraStudio Agents dogfooding case follows a real billing-webhook finding through a product-authored PR, automated review, successful CI and a human merge. It began with an engineering finding rather than analytics, so it demonstrates the downstream work loop without pretending to validate the illustrative funnel above. The timeline reports observed open-to-merge time and explicitly states that token cost is unavailable.

For your evaluation, keep the same discipline: retain the finding, the approved scope, the code, the review concerns and the check results. Measure provider usage when it is available and describe missing measurements when it is not. Return to the product overview for the whole agent team, or request access to begin with a repository your team can review.

Evaluate the workflow on your repository

Choose your model, inspect the evidence, and decide what ships.

Get started View pricing