commaai

    commaai/openpilot

    #278 this week

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

    backend
    advanced-driver-assistance-systems
    driver-assistance-systems
    robotics
    Python
    MIT
    61.5K stars
    11.0K forks
    61.5K GitHub watchers
    Updated 6/23/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • openpilot is an open-source operating system that upgrades advanced driver assistance systems in 300+ supported cars using Python.
    • Key features include ISO26262 safety compliance, continuous integration testing, hardware-in-the-loop tests, and support for comma 3X devices.
    • Strengths are extensive car support, strong community, and rigorous safety testing; limitations include alpha quality status and legal responsibility on users.
    • Organizations can deploy openpilot on supported hardware for enhanced driver assistance, leveraging its open-source nature for customization and integration.
    • Ideal use cases include research, development, and deployment of advanced driver assistance systems in compatible vehicles for improved safety and automation.

    About openpilot

    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 3X

    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 3X, available at comma.ai/shop.
    2. Software: The setup procedure for the comma 3X 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 275+ supported cars.
    4. Car Harness: You will also need a car harness to connect your comma 3X 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

    branchURLdescription
    release3openpilot.comma.aiThis is openpilot's release branch.
    release3-stagingopenpilot-test.comma.aiThis is the staging branch for releases. Use it to get new releases slightly early.
    nightlyopenpilot-nightly.comma.aiThis is the bleeding edge development branch. Do not expect this to be stable.
    nightly-devinstaller.comma.ai/commaai/nightly-devSame 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 the 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: the user is free to disable data collection if they wish to do so.

    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.

    Discover Repositories

    Search across tracked repositories by name or description