# Kernel

## Overview

Kernel is on which MOSIP services are built. Kernel is a platform to build higher-level services as well as a secure sandbox within which the higher-level service functions. Kernel provides a bedrock to build and run the services by providing several significant necessary technical functions so that individual services are concerned with specific business functions.

Kernel is not a distinct module but a bunch of services and libraries that are shared across different modules.

## Components

Refer to [commons repo/kernel](https://github.com/mosip/commons/tree/master/kernel) for all components of Kernel.

## Detailed functionality

Kernel has many services and functions. Details of some of them are mentioned below:

* [Common Services](/1.1.5/modules/kernel/common-services-functionality.md)
* [UIN & VID Generation Service](/1.1.5/modules/kernel/uin-and-vid-generation-service-functionality.md)
* [Data Services](/1.1.5/modules/kernel/data-services-functionality.md)
* [Master Data Services](/1.1.5/modules/kernel/master-data-services-functionality.md)
* [Key Manager](https://github.com/mosip/documentation/blob/1.1.5/docs/Key-Manager-Functionality.md)
* [Audit Manager](/1.1.5/modules/kernel/audit-manager-functionality.md)
* [Authentication and Authorization](/1.1.5/modules/kernel/authentication-and-authorization-functionality.md)
* [Packet Manager](https://github.com/mosip/documentation/blob/1.1.5/docs/Packet-Manager-Functionality.md)
* [Web Sub](https://github.com/mosip/documentation/blob/1.1.5/docs/Web-Sub-Functionality.md)

## Services and libraries

Details of all services and libraries along with code, design are available in [commons repo/kernel](https://github.com/mosip/commons/tree/master/kernel).

## Build and deploy

Refer to build and deploy instructions in [commons repo/kernel](https://github.com/mosip/commons/tree/master/kernel).

## APIs

[Kernel APIs](/1.1.5/apis/kernel-apis.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mosip.io/1.1.5/modules/kernel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
