A NestJS-style framework
for the JVM
Modules, dependency injection and controllers, wired at compile time by a KSP processor instead of discovered through reflection at startup.
@Injectable
class UserService(@Value("app.name") private val app: String) {
fun find(id: String): UserDto? = repo.find(id)
}
@Controller("/users")
class UserController(private val users: UserService) {
@Post
fun create(@Body body: CreateUserDto): UserDto = users.register(body)
@Get("/{id}")
fun get(@Param id: String): UserDto =
users.find(id) ?: throw NotFoundException("user $id not found")
}
@Module(providers = [UserService::class], controllers = [UserController::class])
class UsersModuleWiring checked at build time
A KSP processor reads your modules and fails the build on a missing provider, a cycle or an unexported dependency. No reflection at start-up, and circular dependencies have explicit escape hatches (ForwardRef, forwardImports).
The NestJS vocabulary
Modules, providers, controllers, guards, interceptors, pipes, filters and a built-in exception handler, with the same ideas and almost the same names.
ORM on three databases
One generated mapper serves PostgreSQL, MySQL and MongoDB: relations, migrations, transactions, page and cursor pagination, a typed query DSL.
REST, GraphQL, WebSockets, gRPC
OpenAPI docs with a sandbox, schema-first or code-first GraphQL with federation, WebSockets with a Redis adapter, and microservices over six transports.
Built for production
Circuit breakers, idempotency keys, a transactional outbox, durable workflows, distributed locks, webhooks and health checks, with guides that explain each one.
Observable from day one
Metrics, traces and logs to Grafana's LGTM stack, errors to Sentry from every component, a live dashboard and ready-made alert rules.
Security included
JWT, API keys, social login with Google, Apple, Microsoft, X, Facebook and GitHub, CSRF, rate limiting, hashing and encryption.
AI ready
Call models, give them your methods as tools, build agents and search by meaning, or serve your app to assistants over MCP.
Kotlin, Java and a CLI
Install the kest tool, generate a project and resources, or start from plain Gradle. Releases are automatic from Conventional Commits.