TopGit
GitHub Repo Review

F Prime Flight Software Framework by NASA JPL

nasa/fprime
FTopGit review image for nasa/fprime
Review by Topgit.dev for nasa/fprime, with GitHub repository stats and README context.
Quick verdict

Reach for F Prime if you're building flight software for a CubeSat, SmallSat, or a real-time embedded system and want a component architecture NASA has actually flown, plus modeling tools that generate the plumbing code for you. Skip it if you're writing anything other than embedded/spaceflight software — the component modeling, C++ requirement, and JPL-heritage toolchain are heavy overhead for a general application.

Stars
★ 11.9k
Forks
⑂ 1.8k
Contributors
👥 275
Language
C++
License
Apache-2.0
Topic
Backend
Updated
Nov 2026
Homepage
GitHub

Real Flight Heritage, Now Free for CubeSat Teams

F Prime carries real flight heritage — it was built at the Jet Propulsion Laboratory and, per the README, has flown on several space applications — which is rare for open-source flight software. With CubeSats and SmallSats now within reach of universities and startups, a free, Apache-2.0 framework that hands you a proven component architecture plus code generation is a practical alternative to building flight software from zero. NASA maintains it in the open with public GitHub Discussions and a separate F´ Community organization for third-party contributions.

How this repository's GitHub stars have grown over time. Source: star-history.com.View the star history ↗

Hand-Wiring Flight Software Doesn't Scale

Flight software has to be deterministic, testable, and safe to change late in a mission, but hand-writing message queues, threading, and inter-component wiring in C++ is error-prone and hard to verify. Small satellite teams especially don't have the budget to build that infrastructure from scratch for every mission. F Prime exists to give those teams a reusable component architecture and code generation so they spend time on mission logic, not on re-inventing the flight software plumbing.

A Component Architecture Born at JPL

F Prime, known as F´, is an open-source (Apache-2.0) C++ framework from NASA's Jet Propulsion Laboratory for spaceflight and embedded applications. It decomposes flight software into discrete components with well-defined interfaces and ships modeling tools (the FPP language) that specify components/connections and auto-generate the connecting code. F´ has flown on several space missions and targets small systems like CubeSats and SmallSats.

FPP Modeling That Generates Your Wiring Code

  • ✓A component architecture that splits flight software into discrete units with well-defined interfaces
  • ✓A C++ runtime providing core capabilities like message queues and threads
  • ✓FPP modeling tools that specify components and connections and auto-generate the connecting code
  • ✓A growing collection of ready-to-use components you can drop into a project
  • ✓Testing tools for exercising flight software at both the unit and integration levels
  • ✓A bootstrapping CLI (fprime-bootstrap) that scaffolds a new project for you
  • ✓Runs on small targets — the topics list Raspberry Pi and real-time embedded systems

Bootstrapping a Project With fprime-bootstrap

Development needs Linux, Windows with WSL, or macOS, plus git, Python 3.10+ with virtual environments and pip, and a Clang or GNU C/C++ compiler. Install the bootstrapping tool with `pip install fprime-bootstrap`, then scaffold a project with `fprime-bootstrap project`. The README points to the HelloWorld tutorial at fprime.jpl.nasa.gov to walk through the full flow.

Modeling Components and Filling in the Logic

After `fprime-bootstrap project` creates a project, you model your components and their connections in FPP, and F´ generates the surrounding C++ so you fill in the component logic. From there you build and run, and use the framework's testing tools to exercise components at the unit and integration levels. New users are pointed to the User Manual and tutorials on the F´ website; the ground data system and command/telemetry tooling live in companion repos (fprime-gds, fprime-tools).

From CubeSats to Raspberry Pi Prototypes

  • •Writing flight software for a CubeSat or SmallSat without building the infrastructure from scratch
  • •Structuring an embedded real-time system as connected components with generated glue code
  • •Prototyping instrument or spacecraft software on a Raspberry Pi before moving to flight hardware
  • •Running unit and integration tests on flight software before deployment
  • •Reusing a proven, JPL-originated component library across multiple missions

What Flight Heritage Buys You

  • ✓Real flight heritage — originated at JPL and, per the README, deployed on several space missions
  • ✓Code generation from FPP models removes hand-written wiring between components
  • ✓Open source under Apache-2.0, so you can inspect, self-host, and adapt the whole framework
  • ✓Component architecture makes flight software modular and testable rather than monolithic
  • ✓Actively maintained in the open by NASA with public Discussions and a defined governance CCB

A Steep Climb Into FPP and the JPL Toolchain

  • △Narrow domain — it's built for spaceflight and embedded systems, and is overkill for anything outside that world
  • △Steep learning curve: you need C++, the FPP component-modeling language, and the surrounding build and ground-data toolchain
  • △C++-only for the flight code, so there's no escaping manual memory and real-time concerns
  • △Windows isn't supported natively — you develop through WSL, macOS, or Linux
  • △Documentation, tutorials, and tooling are spread across the JPL website and several companion repos (fprime-gds, fprime-tools, fpp) rather than one place
View on GitHub ↗Homepage ↗

F Prime vs NASA cFS, RTEMS, and Zephyr

NASA cFS (core Flight System) — NASA's other open-source flight software framework, based on a runtime with reusable appsRTEMS — a real-time operating system used in aerospace and embedded flight systemsFreeRTOS — a widely used, lightweight real-time OS for microcontrollers and embedded devicesZephyr — a Linux Foundation real-time OS for resource-constrained embedded hardware

Who Should Build on F Prime

Small-satellite and embedded teams — CubeSat and SmallSat builders, instrument developers, and university or startup flight software groups — who want a component architecture NASA has flown and are comfortable in C++. If you're not building spaceflight or real-time embedded software, or you can't invest in learning FPP modeling and the JPL toolchain, F Prime is more framework than you need.

F Prime FAQ

What is F Prime (F´)?

F Prime is an open-source flight software framework from NASA's Jet Propulsion Laboratory. It structures embedded and spaceflight software as discrete C++ components with defined interfaces, and generates the connecting code from FPP models.

What is F Prime used for?

It's used to build flight and embedded software for small spacecraft like CubeSats, SmallSats, and instruments, giving teams a reusable component architecture, core runtime services, and unit and integration testing tools.

Is F Prime free and open source?

Yes. F´ is open source under the Apache-2.0 license and maintained publicly by NASA on GitHub, with GitHub Discussions and a separate F´ Community organization for third-party contributions.

What do you need to develop with F Prime?

The README lists Linux, Windows with WSL, or macOS, plus git, Python 3.10+ with virtual environments and pip, and a Clang or GNU C/C++ compiler. You install fprime-bootstrap and create a project with fprime-bootstrap project.

How is F Prime different from NASA cFS?

Both are NASA open-source flight software frameworks. F Prime is component-driven with FPP modeling and code generation and targets small systems like CubeSats, while cFS centers on a core runtime hosting reusable applications. Which fits depends on your mission and team.

Related repositories

Source & attribution

Based on the official nasa/fprime GitHub repository, including its README and project metadata.

GitHub data · last synced Jul 11, 2026Reviewed by Henry
← Back to TopGit

Still deciding about fprime?

One click hands the question to an AI along with this page — see what it says about fprime.

GitHub