---
question: Which kernel stores does config.yaml configure?
kind: guide
---

# Services

These are the kernel services you configure and call. They are not module components: the engine owns them, and adapters sit under them. Each one is a block under `services:` in `config.yaml`, and each feature below has an Overview with what you can do from every interface. See [Overview](/architecture/overview) and the [Configuration Reference](/capabilities/get-started/configuration#services).

| Service | What it is |
|---|---|
| [Cache](/capabilities/build/platform/cache-overview) | Cache a function's result, in a hot and a cold tier. |
| [Documents](/capabilities/build/platform/documents-overview) | Store a document and query documents. |
| [Email](/capabilities/build/platform/email-overview) | Send mail, and choose the provider. |
| [Events](/capabilities/build/platform/events-overview) | Record an event and stream events. |
| [Files](/capabilities/build/files/overview) | Object storage for workspace files. |
| [Key-value store](/capabilities/build/platform/key-value-overview) | Store a value, including compare and set. |
| [Knowledge graph](/capabilities/build/knowledge-graph/graph-overview) | The graph this workspace can read. |
| [Message bus](/capabilities/build/platform/message-bus-overview) | Publish a message and consume a queue. |
| [Secrets](/capabilities/build/secrets/overview) | Add a secret, use it in config, and rotate it. |
| [Vector search](/capabilities/build/vector-search/overview) | Collections, embeddings, and search. |

## How a module gets a service

A module runs in its own process and calls the engine's services over NATS. It names the ones it uses in `ModuleDependencies(services=(...))`, by their names: `cache`, `document`, `email`, `event` (or `events`), `keyvalue` (or `kv`), `object_storage`, `secret`, `triple_store`, `vector_store`, `bus` and the rest. It then reaches each one as `await self.engine.services.<name>.<method>(...)`, with ordinary Python values. Calling one the module did not declare raises `ValueError` ("Module did not declare service dependency"). `self.engine.rpc.<name>` is the same service as raw protobuf calls, for the few methods the facade leaves out.

```python title="src/my_module/__init__.py"
from naas_abi_sdk import BaseModule, ModuleDependencies


class ABIModule(BaseModule):
    dependencies = ModuleDependencies(services=("object_storage", "kv"))
```

A declaration is an API boundary, not an authorization: every module of the project reaches the same stores. When a service has no block in `config.yaml`, the engine uses its built-in default. The defaults are on each feature's Overview.

## Browse a service in Nexus

Super admins can open **System** in the Nexus sidebar, then the **Data** tab, to browse what each service holds: cache entries, sent mail, the event log, secrets, bus streams and the data stores. What each view can change depends on the service. The same data is on the System routes of the Nexus API, under `/api/admin/system/resources/{service}`. Every change there is audited.

Module components (agents, apps, ontologies, pipelines, and the rest) are on the [modules overview](/capabilities/build/modules/overview). The product shell starts at the [Platform](/capabilities/platform/overview).
