Packages
Archipel is organized into 13 independent NestJS modules. Each package can be installed and used on its own — you only pull in what you need.
Every package follows the same structure: a dynamic NestJS module with register() configuration, abstract ports for contracts you implement, and concrete services you consume.
Foundation
| Package | Description |
|---|---|
platform-core | Caching, configuration, cryptography, mapping, templates, and shared utilities. Every other package depends on this. |
platform-database | Prisma + PostgreSQL integration with the repository/query pattern and transactional support. |
Identity & Access
| Package | Description |
|---|---|
platform-authentication | JWT, OAuth (GitHub, Google, Microsoft, Apple), MFA, sessions, anonymous auth, and email verification. |
platform-payments | Multi-provider payment client (Stripe, LemonSqueezy, Paddle, Creem) with feature gating and quota enforcement. |
Infrastructure
| Package | Description |
|---|---|
platform-blob-storage | Provider-agnostic blob storage with metadata tracking and image variant support. |
platform-esigning | Provider-agnostic e-signing with support for DocuSign, Adobe Sign, Dropbox Sign, signNow, and a built-in internal provider. |
platform-mailing | Multi-strategy email delivery (SMTP, Postmark, Resend, Plunk, Log) with template rendering and verification flows. |
platform-documents | Document generation with pluggable renderers for DOCX, PDF, and image processing. |
Operations
| Package | Description |
|---|---|
platform-openapi | Feature-scoped Swagger/OpenAPI documentation with multi-document registry and discovery. |
platform-logging | Sentry integration for structured error tracking and analytics. |
platform-telemetry | OpenTelemetry tracing, metrics, a rule engine for conditional recording, and graceful noop fallback. |
platform-reporting | Contributor-based reporting engine with dataset registration and query execution. |
platform-mcp | Decorator-driven MCP (Model Context Protocol) server module with auto-discovery and multi-transport support. |