# System Ability Manager ## Introduction The System Ability Manager (SAMGR) subsystem implements the system service framework. It provides the functions of starting, registering, and querying system services, and querying cross-device distributed system services. ## System Architecture **Figure 1** SAMGR architecture ![](figures/samgr-architecture.png) ## Directory Structure ``` /foundation/systemabilitymgr ├── safwk # System ability framework ├── samgr # System ability manager ├── safwk_lite # Lightweight foundation process └── samgr_lite # Lightweight system ability manager ``` ## Repositories Involved **SAMGR** [systemabilitymgr\_safwk](https://gitee.com/openharmony/systemabilitymgr_safwk) [systemabilitymgr\_samgr](https://gitee.com/openharmony/systemabilitymgr_samgr) [systemabilitymgr\_safwk\_lite](https://gitee.com/openharmony/systemabilitymgr_safwk_lite) [systemabilitymgr\_samgr\_lite](https://gitee.com/openharmony/systemabilitymgr_samgr_lite)