Skip to content

Software

openpilot

By comma.ai, United States (checked on github.com/commaai (opens in a new tab)), from github.com/commaai/openpilot (opens in a new tab)

  • Cars
  • Framework
  • Reference stack
  • MIT

openpilot is an open-source operating system for robotics that upgrades the driver assistance system in 300+ supported cars. It runs on the comma four device with a car harness.

Facts

GitHub stars
64,254read on 28 Nov 2026
Last update
28 Nov 2026Newest commit on master
Maintenance
Activea commit in the last 90 days
Difficulty
Reference stack: not buildable at home
Hardware it needs, as the project states it
A comma four device and a car harness, connecting to one of the 300+ supported cars.

Checked on GitHub on 28 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit ef13da2 (opens in a new tab), on 28 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Upgrades the driver assistance system in more than 300 supported cars.
  • Offers prebuilt release, staging, and nightly branches, with running master and other branches supported as well.
  • Follows ISO 26262 guidelines, with safety-model code living in panda and written in C.
  • Runs software-in-the-loop tests on every commit, plus hardware-in-the-loop tests and continuous replay of routes on 10 comma devices.
  • By default uploads driving data to comma's servers; users can disable data collection, and the driver-facing camera and microphone are logged only if opted in.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
git clone https://github.com/commaai/openpilot.gitWhere it comes from
Maintenance
Active, last commit on 28 Nov 2026.

Use it

Copied word for word from the creator's own documentation; each block links to the lines it comes from.

Native setup on Linux and macOS (step 1 of 4)

git clone https://github.com/commaai/openpilot.git

From tools/README.md at afedebc, line 15 (opens in a new tab)

Native setup on Linux and macOS (step 2 of 4)

cd openpilot
tools/op.sh setup

From tools/README.md at afedebc, lines 20–21 (opens in a new tab)

Native setup on Linux and macOS (step 3 of 4)

source .venv/bin/activate

From tools/README.md at afedebc, line 27 (opens in a new tab)

Native setup on Linux and macOS (step 4 of 4)

scons -u

From tools/README.md at afedebc, line 32 (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit ef13da2

Robotheca read the repository at three versions: the summary at 90932d9, the facts and the README at ef13da2 (read on 28 Nov 2026) and the install commands at afedebc (read on 6 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by comma.ai, at commit ef13da2, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

openpilot

openpilot is an operating system for robotics.

Currently, it upgrades the driver assistance system in 300+ supported cars.

Docs (opens in a new tab)

· Roadmap (opens in a new tab) · Contribute (opens in a new tab) · Community (opens in a new tab) · Try it on a comma four (opens in a new tab)

Quick start: bash <(curl -fsSL openpilot.comma.ai)

(opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab)

Using openpilot in a car

To use openpilot in a car, you need four things:

  1. Supported Device: a comma four, available at comma.ai/shop/comma-four (opens in a new tab).
  2. Software: The setup procedure for the comma four allows users to enter a URL for custom software. Use the URL openpilot.comma.ai to install the release version.
  3. Supported Car: Ensure that you have one of the 300+ supported cars (opens in a new tab).
  4. Car Harness: You will also need a car harness (opens in a new tab) to connect your comma four to your car.

We have detailed instructions for how to install the harness and device in a car (opens in a new tab). Note that it's possible to run openpilot on other hardware (opens in a new tab), although it's not plug-and-play.

Branches

Running master and other branches directly is supported, but it's recommended to run one of the following prebuilt branches:

comma four branchcomma 3X branchURLdescription
release-micirelease-tiziopenpilot.comma.aiThis is openpilot's release branch.
release-mici-stagingrelease-tizi-stagingopenpilot-test.comma.aiThis is the staging branch for releases. Use it to get new releases slightly early.
nightlynightlyopenpilot-nightly.comma.aiThis is the bleeding edge development branch. Do not expect this to be stable.
nightly-devnightly-devinstaller.comma.ai/commaai/nightly-devSame as nightly, but includes experimental development features for some cars.

For chestnut (opens in a new tab), use the following installer URLs:

branchURLdescription
nightly-chestnutinstaller.comma.ai/commaai/nightly-chestnutThis is the bleeding edge development branch. Do not expect this to be stable.
nightly-chestnut-devinstaller.comma.ai/commaai/nightly-chestnut-devSame as nightly, but includes experimental development features for some cars.
To start developing openpilot

openpilot is developed by comma (opens in a new tab) and by users like you. We welcome both pull requests and issues on GitHub (opens in a new tab).

Want to get paid to work on openpilot? comma is hiring (opens in a new tab) and offers lots of bounties (opens in a new tab) for external contributors.

Safety and Testing

openpilot is released under the MIT license. Some parts of the software are released under other licenses as specified.

Any user of this software shall indemnify and hold harmless Comma.ai, Inc. and its directors, officers, employees, agents, stockholders, affiliates, subcontractors and customers from and against all allegations, claims, actions, suits, demands, damages, liabilities, obligations, losses, settlements, judgments, costs and expenses (including without limitation attorneys’ fees and costs) which arise out of, relate to or result from any use of this software by user.

THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. NO WARRANTY EXPRESSED OR IMPLIED.

By default, openpilot uploads driving data to our servers. You can also access your data through comma connect (opens in a new tab). We use your data to train better models and improve openpilot for everyone.

openpilot is open source software, and users can disable data collection if they wish.

openpilot logs the road-facing cameras, CAN, GPS, IMU, magnetometer, thermal sensors, crashes, and operating system logs. The driver-facing camera and microphone are only logged if you explicitly opt-in in settings.

By using openpilot, you agree to our Privacy Policy (opens in a new tab). You understand that use of this software or its related services will generate certain types of user data, which may be logged and stored at the sole discretion of comma. By accepting this agreement, you grant an irrevocable, perpetual, worldwide right to comma for the use of this data.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.