Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/commaai/openpilot/llms.txt

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

This guide walks you through everything you need to install openpilot on a comma four device and complete your first assisted drive. By the end, your car will have Adaptive Cruise Control (ACC), Automated Lane Centering (ALC), Forward Collision Warning (FCW), and Lane Departure Warning (LDW) powered by openpilot.
openpilot is a Level 2 driver assistance system. The driver must remain attentive and in control at all times. openpilot does not make your car autonomous.

Prerequisites

Before you begin, confirm you have:

Installation

1

Get a supported car and car harness

Check that your car is on the supported cars list. openpilot works with 300+ vehicles across most major brands.Once you confirm support, order the matching car harness for your specific make, model, and year. The harness plugs into your car’s existing ADAS connector — no permanent modifications required.
2

Get a comma four device

The comma four is the only officially supported device for running openpilot in a car. Order one from comma.ai/shop/comma-four.See supported hardware for full device specs and accessory details.
3

Install openpilot on the device

During the comma four setup flow, you are prompted to enter a software URL. Enter the following URL to install openpilot:
openpilot.comma.ai
Alternatively, run the one-line installer from a terminal:
bash <(curl -fsSL openpilot.comma.ai)
This installs the latest release branch. If you want a different branch, see the branch options below.
4

Mount and connect the device

Follow the official installation guide at comma.ai/setup to:
  1. Plug the car harness into your vehicle’s ADAS connector (typically behind the rearview mirror or in the engine bay, depending on your car).
  2. Mount the comma four on your windshield using the included mount.
  3. Connect the comma four to the car harness via the included USB-C cable.
The device powers on automatically when you start the car.
5

Take your first assisted drive

Start your car and let openpilot finish its startup sequence. Once ready:
  1. Accelerate to a speed above the minimum engagement threshold (varies by car).
  2. Engage openpilot using your car’s existing cruise control stalk or button — the exact control depends on your vehicle.
  3. Keep your hands on the wheel and eyes on the road. openpilot will take over lane centering and speed control.
openpilot’s driver monitoring camera watches for distraction and drowsiness. Keep your eyes on the road — repeated inattention warnings will disengage the system.

Next steps

Supported hardware

Details on the comma four device, car harnesses, and alternative hardware options

Supported cars

Browse the full list of 300+ supported makes, models, and years

Build docs developers (and LLMs) love