Cratis Chronicle clients by language
Chronicle in your language
One event-sourcing database, idiomatic clients
Cratis Chronicle stores events and builds read models on the server; your application uses a client in its own language. The clients communicate through gRPC, a remote procedure call protocol, using shared Protocol Buffers message definitions. Choose your language below for the package and setup guide. Client capabilities differ, so check the operations your feature needs before choosing.
Event sourcing for .NET
Section titled “Event sourcing for .NET”The .NET SDK provides typed access to event stores and logs, with APIs for read models, projections, reducers and reactors. It also covers constraints, migrations, namespaces and hosting integration, including a .NET Aspire resource. Start with the core package:
dotnet add package Cratis.ChronicleIn an ASP.NET Core application, add Cratis.Chronicle.AspNetCore instead; it brings in the core SDK and the AddCratisChronicle / UseCratisChronicle hosting integration.
- Event sourcing in .NET — the dedicated landing page
- .NET client docs · Get started
Cratis.Chronicleon NuGet- Chronicle on GitHub
Event sourcing for TypeScript and Node.js
Section titled “Event sourcing for TypeScript and Node.js”Use @cratis/chronicle from a TypeScript or Node.js application. It builds on the @cratis/chronicle.contracts gRPC contracts package and includes APIs for transactions, jobs, webhooks, OpenTelemetry and compliance features for personally identifiable information (PII). Install the client and its dependencies:
npm install @cratis/chronicle @cratis/fundamentals reflect-metadataThe client supports standard decorators (TypeScript 5.2 or later) and legacy decorators. Enable experimentalDecorators and emitDecoratorMetadata only for the legacy option; leave them unset for standard decorators. Use an ES module project. The TypeScript landing page lists the setup.
- Event sourcing in TypeScript and Node.js — the dedicated landing page
- TypeScript client docs
@cratis/chronicleon npm- Chronicle.TypeScript on GitHub
Event sourcing for Kotlin and Java
Section titled “Event sourcing for Kotlin and Java”Kotlin and Java applications use the same JVM client, io.cratis:chronicle. Choose the core library or the Spring Boot starter for hosting integration; a testing library is also available.
dependencies { implementation("io.cratis:chronicle:<version>") // Or, in a Spring Boot application: implementation("io.cratis:chronicle-spring-boot-starter:<version>")}Replace <version> with the current release from Maven Central.
- Event sourcing in Kotlin and Java — the dedicated landing page
- Kotlin/Java client docs
io.cratis:chronicleon Maven Central- Chronicle.Kotlin on GitHub
Event sourcing for Elixir
Section titled “Event sourcing for Elixir”Add cratis_chronicle to your Mix dependencies for an Elixir application. The client supports transactions, optimistic concurrency checks, webhooks and reconnection.
defp deps do [ {:cratis_chronicle, "~> <version>"} ]endUse the current version from Hex; mix hex.info cratis_chronicle prints it.
- Event sourcing in Elixir — the dedicated landing page
- Elixir client docs
cratis_chronicleon Hex- Chronicle.Elixir on GitHub
Event sourcing for Go
Section titled “Event sourcing for Go”github.com/cratis/chronicle.go is the Go client for Chronicle. It supports typed event registration, connection with TLS and OAuth, single and atomic batch appends, and event history reads. Observers, projections, and automatic lifecycle recovery are not yet implemented.
go get github.com/cratis/chronicle.go@v0.11.0v0.11.0 is the latest released tag checked on 2026-10-20.
- Event sourcing in Go — the dedicated landing page
- Go client docs
- Chronicle.Go on GitHub
Event sourcing for Python — coming soon
Section titled “Event sourcing for Python — coming soon”A Python client for Chronicle is in development. It is not yet published to PyPI, so there is nothing to install yet — follow the repository for progress.
- Event sourcing in Python — the coming-soon landing page
- Chronicle.Python on GitHub
Any language, one contract
Section titled “Any language, one contract”The client SDK docs describe the language-specific APIs over Chronicle’s shared gRPC contracts. A shared protocol does not mean every client exposes every feature; Go, for example, supports appending and reading events but not observers or projections. If your runtime is not listed above, you can implement the contracts directly.
Before installing a client, check Compatibility to pair it with a Chronicle kernel, the server runtime. Clients other than .NET have independent release schedules, and their major versions do not match the kernel’s. Then follow your language’s setup guide above to connect an application.