Skip to content

Getting Started

This guide walks you through installing OpenLatch, authenticating, and running your first protected AI agent session.

Run the one-line installer:

Terminal window
npx openlatch

The installer will:

  1. Download the OpenLatch client
  2. Detect your installed AI coding agents
  3. Configure tool call hooks automatically

OpenLatch uses your GitHub account for authentication:

Terminal window
openlatch auth

This opens a browser window for GitHub OAuth. Once authenticated, the client is linked to your OpenLatch account.

Launch your AI coding agent as usual. OpenLatch hooks activate automatically:

Terminal window
# Example with Claude Code
claude
# OpenLatch is now monitoring tool calls in the background

Open the OpenLatch dashboard to see events from your session:

https://app.openlatch.ai

The dashboard shows:

  • A timeline of intercepted tool calls
  • Threat verdicts (allowed, blocked, flagged)
  • Details about each action the agent attempted

OpenLatch runs silently in the background. You’ll only notice it when a threat is detected and blocked. The agent receives a clear error message explaining why the action was stopped.

For a deeper understanding of the detection pipeline, see How It Works.