Getting Started

Quick Start

Set up OpsCompanion with your coding agent so your app works in production and stays up.

OpsCompanion integrations

Step 1: Install OPC

Install the OpsCompanion CLI in as few commands as possible:

brew tap opscompanion/opc
brew install opc

Step 2: Run Setup

Run the guided setup flow:

opc setup

Step 3: Ask Your Agent To Instrument The App

Ask your agent to start setting up logs and traces across your app.

Tell it to:

  • Capture user actions, API requests, database queries, and external API calls
  • Track the full request flow from frontend to backend to database
  • Log all errors, slow responses, and failed jobs
  • Make sure background tasks and scheduled jobs are also instrumented

You can use a prompt like this:

Set up logs and traces across this app for OpsCompanion. Capture user actions, API requests, database queries, and external API calls. Track the full request flow from frontend to backend to database. Log all errors, slow responses, and failed jobs. Make sure background tasks and scheduled jobs are also instrumented.

What You Get

Once this is in place, OpsCompanion can figure out what happened, how people are using your app, and what changed when something breaks.

You can see:

  • Logs across your application and background workers
  • Traces that show the full flow of a request
  • Errors, slow responses, and failed jobs
  • Activity from your AI agents alongside the rest of your production context

Everything shows up together in the OpsCompanion dashboard so you can understand what is happening in production without stitching it together by hand.

Next Steps

On this page