# Modules Overview

*This page explains what modules are, why they matter, and introduces the available modules.*

## What are modules

Modules are a unit of encapsulation in KDB-X. They have access to their own local namespace that can contain internal and external functions and variables for the module, as opposed to designating a fixed global namespace as it is often done for pre-module libraries.

The modules can expose variables and functions using the `export` variable, which can then be imported by code with the `use` function and assigned to an arbitrary name. Modules can be written in [q](../learn/brief-introduction.md) or using the [C API](../ref/languages/c-client-for-q.md).

Use the [module framework](./module-framework/quickstart.md) to build, import, and manage modules in KDB-X.

## Module manifest

The tables below list some of the modules available for KDB-X, grouped by purpose, including closed-source KX modules, downloadable KX modules, and some open-source modules.

> **Info**
>
> The GPU module requires an additional purchase on top of KDB-X. All other KX modules are available for free in the [KDB-X community edition](https://developer.kx.com/products/kdb-x/install).
>
### Data and storage

| **Module name** | **Description** | **Owner** | **Latest version** |
|---|---|---|---|
| [Parquet](parquet/overview.md) | A columnar storage format optimized for efficient querying and analytics on large datasets. | :material-factory: **KX** | 1.0.0 |
| [Object Storage](objstor/overview.md) | Enables scalable queries through seamless cloud object storage access. | :material-factory: **KX** | 1.1.2 |
| [DBmaint](dbmaint/overview.md) | Utility functions for maintaining splayed and partitioned KDB-X database tables. | :material-account-group: [**OS**](https://github.com/KxSystems/dbmaint) | 2.0.0 |
| [Taq](taq/overview.md) | High-performance utility for parsing [NYSE TAQ (Trade and Quote) PSV files](https://ftp.nyse.com/Historical%20Data%20Samples/DAILY%20TAQ/). | :material-account-group: [**OS**](https://github.com/KxSystems/taq) | 2.1.0 |
| [Datagen](datagen/overview.md) | Functions for generating synthetic data for various domains. | :material-account-group: [**OS**](https://github.com/KxSystems/datagen) | 2.1.0 |
| [Arrow](https://github.com/KxSystems/arrowkdb) | Integration with Apache Arrow and Parquet, for reading and writing Arrow and Parquet data from q. | :material-account-group: [**OS**](https://github.com/KxSystems/arrowkdb) | 2.0.2 |
| [Avro](https://github.com/KxSystems/avrokdb) | Integration with Apache Avro, for working with Avro data from q. | :material-account-group: [**OS**](https://github.com/KxSystems/avrokdb) | 2.0.0 |

### AI and GPU acceleration

| **Module name** | **Description** | **Owner** | **Latest version** |
|---|---|---|---|
| [AI Libraries](../ref/ai-libs/ai-libraries-overview.md) | AI module for summarizing information, assisting users, and solving complex problems across various industries. | :material-factory: **KX** | 1.0.0 |
| [GPU](gpu/introduction.md) | GPU acceleration for KDB-X. | :material-factory: **KX** | 3.0.1 |
| [cuVS](cuvs/introduction.md) | CUDA-accelerated approximate vector search using Nvidia cuVS and the CAGRA algorithm. | :material-factory: **KX** | 1.0.0 |

### Connectivity and integration

| **Module name** | **Description** | **Owner** | **Latest version** |
|---|---|---|---|
| [OneTick Cloud](onetick-cloud/introduction.md) | Queries OneTick Cloud market data from KDB-X and returns results as q tables. | :material-factory: **KX** | 1.0.0 |
| [Kurl](kurl/introduction.md) | Provides a simple way to interact with KDB-X using REST APIs. | :material-factory: **KX** | 1.0.4 |
| [REST Server](rest-server/overview.md) | Exposes KDB-X functionality over a RESTful API. | :material-factory: **KX** | 1.0.2 |
| [AWS SDK](https://github.com/KxSystems/awssdk) | Includes functions to authenticate using the AWS C++ SDK. | :material-account-group: [**OS**](https://github.com/KxSystems/awssdk) | 0.0.2 |
| [Protobuf](https://github.com/KxSystems/protobufkdb) | Integration with Google Protocol Buffers for kdb+. | :material-account-group: [**OS**](https://github.com/KxSystems/protobufkdb) | 2.0.1 |
| [Kafka](https://github.com/KxSystems/kafka) | kdb+ to Apache Kafka adapter, for publish and subscribe. | :material-account-group: [**OS**](https://github.com/KxSystems/kafka) | 2.0.0 |

### Developer tools and utilities

| **Module name** | **Description** | **Owner** | **Latest version** |
|---|---|---|---|
| [OS](os/os.md) | OS low-level functionality | :material-factory: **KX** |  |
| [qmamba](package-management/overview.md) | A package manager for KDB-X modules. | :material-account-group: [**OS**](https://github.com/KxSystems/qmamba) | 0.0.2 |
| [Printf](printf/overview.md) | Replicates a subset of the C99 printf standard to format strings. | :material-account-group: [**OS**](https://github.com/KxSystems/printf) | 1.0.0 |
| [Logging](logging/overview.md) | Provides logging capabilities for KDB-X applications. | :material-account-group: [**OS**](https://github.com/KxSystems/logging) | 1.0.0 |
| [Unit Test](unit-test/overview.md) | Testing framework for q code with assertions, mocking, and JUnit output. | :material-account-group: [**OS**](https://github.com/KxSystems/unit-test) | 1.0.1 |
| [ax](ax/overview.md) | Collection of q libraries used for visualizations and documentation. | :material-account-group: [**OS**](https://github.com/KxSystems/ax) | 1.1.0 |
| [Fusionx](fusionx.md) | Simplifies the use of native libraries within a q environment. Includes Blas, Regex, and Expat. | :material-account-group: [**OS**](https://github.com/KxSystems/fusionx) | 1.2.0 |
| [Skia](https://github.com/KxSystems/qskia) | This module provides a graphics interface via the Skia library. | :material-account-group: [**OS**](https://github.com/KxSystems/qskia) | 1.0.0 |

## How to get modules

| **Module(s)** | **Software packaging** | **How to get it** |
|---|---|---|
| Parquet, Object Storage, SQL, 
Kurl, REST Server | KDB-X – Community Edition (CE), Core (KXC), Suite (KXS) | [Bundled with KDB-X](https://code.kx.com/kdb-x/get_started/kdb-x-install.html#online-installation-recommended), [KX downloads portal](https://portal.dl.kx.com/) |
| AI Libraries | KDB-X – Community Edition (CE), AI & Agent Services (XAA), Suite (KXS) | [Bundled with KDB-X](https://code.kx.com/kdb-x/get_started/kdb-x-install.html#online-installation-recommended), [KX downloads portal](https://portal.dl.kx.com/) |
| cuVS | KDB-X – Community Edition (CE), AI & Agent Services (XAA), Suite (KXS) | [KX downloads portal](https://portal.dl.kx.com/) |
| OneTick | KDB-X – Community Edition (CE), Core (KXC), Suite (KXS) | [KX downloads portal](https://portal.dl.kx.com/) |
| GPU | GPU Acceleration add-on (KXG) | Email [devrel@kx.com](mailto:devrel@kx.com) to evaluate |
| Datagen, Taq, DBmaint, Printf, Logging, Unit Test, ax, Fusionx, Arrow, Avro, Protobuf, Kafka | Open source | [GitHub](https://github.com/KxSystems) |
