openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system in 275+ supported cars.
  • Python 59.8%
  • C++ 34.3%
  • Cap'n Proto 1.8%
  • C 1.6%
  • Shell 1.2%
  • Other 1.3%
Find a file
2026-12-04 23:47:35 -08:00
.github ci: mark the report comment as running on each push (#39509) 2026-11-28 20:58:03 -08:00
.vscode cleanup leftovers from the shuffling (#38224) 2026-06-21 19:17:01 -07:00
common updated: add compat symlink for common/version.h (#39536) 2026-12-01 11:29:10 -08:00
docs docs: lowercase page urls (#39565) 2026-12-03 11:50:36 -08:00
msgq_repo@42554d0a6f bump msgq: nanobind (#39200) 2026-11-01 22:42:22 -10:00
opendbc_repo@66b4002800 bump opendbc (#39468) 2026-11-25 16:51:50 -08:00
openpilot use predicted speed for the cruise accel (#39589) 2026-12-04 23:47:35 -08:00
panda@2ac5253ddb prep for mainline kernel (#39481) 2026-11-27 15:25:46 -08:00
rednose_repo@b0113ffe5e bump ty to 0.0.112 and fix the type errors it finds (#39506) 2026-11-28 12:57:26 -08:00
scripts test_mici_install.sh: stop installer once continue.sh is written (#39588) 2026-12-04 18:28:05 -08:00
system/hardware/tici updated: add fallback mechanism for agnos.json path resolution (#38593) 2026-08-08 19:55:32 -07:00
teleoprtc_repo@f19ceb4553 replace bridge with webrtc (#39158) 2026-10-24 12:01:19 -07:00
tinygrad_repo@9ae5c0bd3d bump tinygrad (#39484) 2026-11-27 16:47:43 -08:00
tools release: extend checklist (#39563) 2026-12-03 19:41:32 -08:00
.editorconfig fix .editorconfig 2025-05-14 14:34:11 +01:00
.gitattributes ui: emoji in labels (#39370) 2026-11-15 11:31:49 -08:00
.gitignore replace bridge with webrtc (#39158) 2026-10-24 12:01:19 -07:00
.gitmodules Update tinygrad and use retargetable model artifacts (#38933) 2026-09-17 20:43:51 -07:00
.lfsconfig Reapply Git LFS hosting on Hugging Face (#38841) 2026-09-10 16:47:40 -07:00
.python-version set preference for python 3.12.13 (#37637) 2026-03-10 15:08:56 -07:00
alfred.toml SConstruct: add --installers option and fix embedded symbol names (#39587) 2026-12-04 18:07:57 -08:00
launch_chffrplus.sh remove device permission workaround, AGNOS does it now (#39485) 2026-11-27 16:01:18 -08:00
launch_env.sh AGNOS 20.8 (#39580) 2026-12-04 11:08:14 -08:00
launch_openpilot.sh fix bash + python3 shebangs (#33287) 2024-08-13 21:22:13 -07:00
lfs.py Replace Git LFS with a custom Hugging Face bucket client (#39206) 2026-11-04 18:40:27 -08:00
LICENSE root directory non hidden files 2020-01-17 10:22:00 -08:00
pyproject.toml bump ruff to 0.17.6 and enable more lint rules (#39508) 2026-11-28 20:34:39 -08:00
README.md remove release-chestnut (#39231) 2026-11-04 13:44:27 -08:00
RELEASES.md update release notes 2026-11-26 15:13:09 -08:00
SConstruct SConstruct: add --installers option and fix embedded symbol names (#39587) 2026-12-04 18:07:57 -08:00
SECURITY.md Create SECURITY.md 2022-08-13 23:28:44 -07:00
uv.lock upgrade to ty 1.1 (#39562) 2026-12-03 10:07:48 -08:00

openpilot

openpilot is an operating system for robotics.
Currently, it upgrades the driver assistance system in 300+ supported cars.

Docs · Roadmap · Contribute · Community · Try it on a comma four

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

openpilot tests License: MIT X Follow Discord

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.
  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.
  4. Car Harness: You will also need a car harness to connect your comma four to your car.

We have detailed instructions for how to install the harness and device in a car. Note that it's possible to run openpilot on other hardware, 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 branch comma 3X branch URL description
release-mici release-tizi openpilot.comma.ai This is openpilot's release branch.
release-mici-staging release-tizi-staging openpilot-test.comma.ai This is the staging branch for releases. Use it to get new releases slightly early.
nightly nightly openpilot-nightly.comma.ai This is the bleeding edge development branch. Do not expect this to be stable.
nightly-dev nightly-dev installer.comma.ai/commaai/nightly-dev Same as nightly, but includes experimental development features for some cars.

For chestnut, use the following installer URLs:

branch URL description
nightly-chestnut installer.comma.ai/commaai/nightly-chestnut This is the bleeding edge development branch. Do not expect this to be stable.
nightly-chestnut-dev installer.comma.ai/commaai/nightly-chestnut-dev Same as nightly, but includes experimental development features for some cars.

To start developing openpilot

openpilot is developed by comma and by users like you. We welcome both pull requests and issues on GitHub.

Want to get paid to work on openpilot? comma is hiring and offers lots of bounties for external contributors.

Safety and Testing

  • openpilot observes ISO26262 guidelines, see SAFETY.md for more details.
  • openpilot has software-in-the-loop tests that run on every commit.
  • The code enforcing the safety model lives in panda and is written in C, see code rigor for more details.
  • panda has software-in-the-loop safety tests.
  • Internally, we have a hardware-in-the-loop Jenkins test suite that builds and unit tests the various processes.
  • panda has additional hardware-in-the-loop tests.
  • We run the latest openpilot in a testing closet containing 10 comma devices continuously replaying routes.
MIT Licensed

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.

User Data and comma Account

By default, openpilot uploads driving data to our servers. You can also access your data through comma connect. 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. 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.