Skip to main content

Documentation Index

Fetch the complete documentation index at: https://allhandsai-jpshackelford-analytics-helm-tab.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

This guide walks you through setting up and using Laminar for Analytics in OpenHands Enterprise. You’ll opt into Analytics and configure conversations to automatically send traces to Laminar.

Who This Is For

This guide is for users who want to explore analytics on their OpenHands Enterprise conversations. It covers both supported install paths:
  • Replicated (VM install) — if you followed the Quick Start and manage OpenHands through the Replicated Admin Console.
  • Helm (Kubernetes install) — if you deployed the openhands Helm chart into your own Kubernetes cluster (see Kubernetes Installation).
Most of the workflow (creating a Laminar project, creating an API key, viewing traces) is the same on both paths. The two install-specific steps are tabbed below.

Why Laminar?

Laminar is an open source observability platform for AI agents like OpenHands. Use Laminar to view your conversation traces including prompts, tool calls, and answers. A trace is a record of what your agent did. Laminar can help you see where the agent went wrong. From traces, you can create signals. A signal is a natural language instruction to extract structured data from traces. Use signals to analyze recurring behavior across traces. You can then create better situations for prompting and measure them in Laminar. You can also analyze and improve your skills. For example, you can view all conversation traces related to a specific skill. Laminar can help you answer the following questions:
  • On a trace, did the agent do a good job using the skill?
  • On another trace, did the agent do a bad job?
For more information on evaluating skills, see Evaluating Agent Skills.

Prerequisites

Before you begin, make sure you have completed the install for your path: You will also need:
  • DNS records (and a TLS certificate covering the SAN) for analytics.app.<your-base-domain>. On Replicated, this is included in the Quick Start DNS table. On Helm, you choose the hostname yourself in site-values.yaml.
  • An ingress controller already running in the cluster (Replicated installs ship Traefik; Helm installs typically use Traefik as well — see the chart README).

Enable Analytics

On the application configuration page in the Admin Console, find the Analytics Configuration section.Check the Enable Analytics box. The installer will set up Laminar and template the required hostnames and Keycloak wiring for you.Configure Analytics

Deploy

OpenHands will begin deploying. You can expect the deployment status to transition from Missing to Unavailable to Ready. This typically takes 10-15 minutes.Deployment in progressClick Details next to the deployment status to monitor individual resources. Resources shown in orange are still deploying — wait until all resources are ready.Deployment status details

Access Laminar UI

Once the deployment is Ready, navigate to https://analytics.app.<your-base-domain> (or the laminar.frontend.ingress.hostname you configured for the Helm install). Click the Continue with Keycloak button: Laminar Keycloak Auth

Create a Laminar project

Laminar Create Project Once a project has been created, Laminar is ready to listen for traces. Laminar Listen Traces

Create an ingest-only API Key

Always use ingest-only API keys for the OpenHands integration. Ingest-only keys can only write traces — they cannot be used to read data, so they are safe to embed in configuration.
Create a key with ingest-only permissions: Configure Laminar Ingest Only Key

Wire the API key into the install

Paste the ingest-only key into the Laminar Project API Key field in the Admin Console configuration:Configure Laminar Project API KeyClick Save config, then deploy the change:Laminar Deploy AgainWait for the deployment to complete.

Start a conversation

Navigate to the OpenHands UI at https://app.<your-base-domain>. Start a new conversation and try a prompt. Start a Conversation Your conversations will now automatically send a trace to Laminar. Laminar Trace

Next Steps

Prompting Best Practices

Get the most out of your AI coding agents with effective prompting techniques.

Contact Support

Reach out to the OpenHands team for deployment assistance or questions.

OpenHands Documentation

Explore the full OpenHands documentation for usage guides and features.