P
PURISTA
ExploreEnterpriseFrameworkAI HarnessHandbook
P
Handbook
Learning Paths & Tutorials
Mental Model & Philosophy
Service — The Container
What is a Service?
The Service Builder
Service Configuration
Resources & Dependencies
Custom Service Class
Testing a Service
Core Building Blocks
Stores — Data Persistence
Exposing Your Service
Connecting Services — Event Bridges
Enterprise Patterns
Observability & Operations

03 — Service — The Container

Service — The Container

Understand what a Service is — the fundamental unit of organization

What is a Service?

Services are logical containers organizing related business logic

The Service Builder

Define metadata, attach handlers, and create instances

Service Configuration

Add typed custom configuration with Zod schemas

Resources & Dependencies

Database connections, APIs, external systems needed

Custom Service Class

Extend the base class for gateway and adapter patterns

Testing a Service

Validate setup, configuration, and wiring with unit tests