---
question: What can an ABI module hold?
kind: overview
---

# Modules

A module is the package you build on ABI. It runs in its own process, imports `naas-abi-sdk` only, and reaches the engine through NATS. It can hold:

- [Agents](/capabilities/build/agents/overview)
- [Apps](/capabilities/build/apps/overview)
- [Integrations](/capabilities/build/integrations/overview)
- [Jobs](/capabilities/build/modules/module-jobs)
- [Models](/capabilities/build/models/overview)
- [Ontologies](/capabilities/build/knowledge-graph/ontologies-overview)
- [Pipelines](/capabilities/build/pipelines/overview)
- [Workflows](/capabilities/build/workflows/overview)

Skills, tools and assets are defined on the [Architecture overview](/architecture/overview#what-a-module-contains). Artifacts are [coming soon](/capabilities/build/artifacts/overview).

A module registers itself in discovery when its process starts, so it is not listed in `config.yaml`. `modules:` in `config.yaml` is where you enable the ready-made modules of the [Marketplace](/capabilities/build/modules/marketplace/marketplace-overview).

<!-- matrix -->

## Create a module

`abi new module <name>` scaffolds the module in `src/<name>/` with an agent, a job, a workflow, an ontology and an app, and wires it into `abi dev up` and Docker Compose. `--standalone` creates a repository of its own. See [Creating a Module](/capabilities/build/modules/creating-a-module).

## Add dependencies

`ModuleDependencies` names the engine services the module calls and the other modules it talks to; anything else is refused. A Python package goes in the module's image instead. See [Add dependencies](/capabilities/build/modules/add-dependencies).

## Test a module

`abi new module` writes offline tests that need no broker, and `abi dev up` runs the module next to the stack until it logs `READY`. See [Test a module](/capabilities/build/modules/test-a-module).

## Module jobs

A job runs on a schedule, an event, or a trigger. Declare it with `@job` and `Every`, `Cron` or `OnEvent`. See [Module jobs](/capabilities/build/modules/module-jobs).

## Marketplace

The marketplace is the `naas-abi-marketplace` package: AI providers, application integrations, domain modules, and demos. Enable one under `modules:` in `config.yaml`. See [Marketplace](/capabilities/build/modules/marketplace/marketplace-overview) and [Install from the marketplace](/capabilities/build/modules/marketplace/marketplace-install). The `config.yaml` entry is in the Configuration Reference: [Marketplace modules](/capabilities/get-started/configuration#marketplace-modules).
