Cephalon Engine
One engine. Every shape of serious .NET workloads
Ship modular monoliths, microservices, event-driven services, and edge workloads from one composition model. Built on .NET 10 for teams that care about reliability, velocity, and long-term maintainability.
Cephalon Engine .NET
dotnet tool install -g Cephalon.Cli --prerelease Engineered for teams that outgrow starter templates
Cephalon keeps the core intentionally small, then layers capability through optional companion packages. Start with one host, evolve into multiple workloads, and keep a single architectural language from prototype to production.
Module-first composition
Modules declare capabilities, services, lifecycle hooks, and transport surfaces. The engine resolves them deterministically with a typed manifest.
Multiple app models
Pick a composition style, deployment topology, feature organization, and transport per app. No rewrite when shapes change.
Honest maturity labels
Every package ships with an M0–M4 label so adopters know exactly what is taxonomy-only, narrow, or adoption-ready.
Transport adapters built-in
REST, JSON-RPC, gRPC, GraphQL, SSE, and WebSocket. Each module chooses what to expose and the engine maps everything consistently.
OpenTelemetry-native observability
Logs, metrics, traces, and dependency-health probes ship as first-party companion packages with provider adapters for every major cloud.
Data, identity, multi-tenancy
Optional companion packages for EF Core, identity, multi-tenancy governance, audit, and Sfid identifiers with runtime-neutral defaults.
Eventing first-class
Wolverine adapter is the current managed dispatch path. Brokers, scheduled delivery, DLQ replay, and process managers are first-party.
Deploy anywhere
Generated apps ship with Windows Service, IIS, Azure App Service, Azure Container Apps, Kubernetes, Linux systemd, and Docker scripts on day one.
Test scaffolding included
Generated test projects come with composition smoke tests and per-feature behavior specifications so teams skip the boilerplate.
Pick a path that matches the day-one decision
Quickstart
Install the CLI, scaffold an app, and run the generated host in under five minutes.
Start the quickstart I’m evaluatingConcepts and architecture
Read the layered model, the app-model dimensions, and the engine composition rules before adopting.
Read the concepts I’m buildingTutorial library
End-to-end tutorials for modular monoliths, microservices, multi-tenant SaaS, gRPC services, and observability stacks.
Browse tutorials I’m migratingMigration playbooks
Move from plain ASP.NET Core or split a legacy monolith. Each path comes with step-by-step diffs and risk callouts.
Open the playbooks I’m operatingOperations and hardening
Runtime failure policy, observability conventions, dependency health, benchmarking, and deployment runbooks.
Open operations I’m contributingContributor handbook
Engineering standards, module authoring rules, package lifecycle, release process, and how to extend the engine.
Read the handbookComposition that fits on one screen
A Cephalon host is just a builder, a set of modules, and a runtime. The same engine wires REST, gRPC, GraphQL, eventing, observability, and data, driven by configuration instead of sprawling Program.cs files.
using Cephalon.AspNetCore;using Cephalon.Engine;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Services .AddCephalonAspNetCore() .AddModulesFromAssemblies(typeof(Program).Assembly) .AddObservability(options => options.UseOpenTelemetry()) .AddData(options => options.UseEntityFramework()) .Build(builder);
app.MapCephalon();app.MapHealthChecks("/health");
app.Run();using Cephalon.Engine;using Cephalon.Worker;using Microsoft.Extensions.Hosting;
var builder = Host.CreateApplicationBuilder(args);
var runtime = builder.Services .AddCephalonWorker() .AddModulesFromAssemblies(typeof(Program).Assembly) .AddEventing(options => options.UseWolverine()) .Build(builder);
await runtime.RunAsync();using Cephalon.Abstractions.Modules;using Cephalon.AspNetCore.Behaviors;
public sealed class OrdersModule : RestBehaviorModuleBase{ public override ModuleDescriptor Describe() => new( name: "Orders", version: "1.0.0", capabilities: [Capability.Data, Capability.Eventing]);
protected override void ConfigureRestBehaviors(IRestBehaviorBuilder builder) { builder.MapProfile<CreateOrderBehavior>(); builder.MapProfile<ListOrdersBehavior>(); }}{"Engine": { "Id": "acme-store", "Data": { "IdStrategy": "Sfid", "Provider": "Postgres" }, "Audit": { "Enabled": true }, "Identity": { "Enabled": false }, "Tenancy": { "Enabled": false }, "Messaging": { "Enabled": false }, "Transports": [ "RestApi" ]}}A complete platform, not a starter kit
Data the way you want it
Runtime-neutral data abstractions with optional EF Core, MongoDB, Cassandra, Postgres, SQL Server, Oracle, Redis, MySQL, Elasticsearch, ClickHouse, Neo4j, NATS, Qdrant adapters.
Identity & multi-tenancy ready
Host-agnostic identity and authorization, ASP.NET Core adapters, tenant resolution, ambient tenant context, durable membership/invitation governance, declared domain ownership, and approval/remediation workflows.
Cloud-native observability
OTLP exporters and managed defaults for Alibaba Cloud, AWS, Azure Monitor, DigitalOcean, GCP, Grafana Cloud, Huawei Cloud, Kubernetes, New Relic, OpenShift, Oracle Cloud, Serilog, and Tanzu.
Operational hardening built-in
Runtime failure policy, dependency-health probes across 18 backends, generated runbooks, container image publishing, BenchmarkDotNet hot-path coverage, and conformance matrices.
Design choices that age well
Explicit contracts
Every public surface ships with a runtime contract entry, conformance matrix row, and maturity label. No silent breaks.
Stable shipping floor
.NET 10 LTS is the shipping baseline. The .NET 11 readiness lane is tracked publicly with assessment-only status.
Multi-version docs
Every released version ships its own snapshot — guides, components, and API reference. Switch versions from the header.
Preview status. CephalonEngine is currently on the 0.1.0-preview track. Packages below M4 may evolve additively while we drive the public surface toward adoption-ready. Stability commitments are tracked in the maturity audit and the roadmap.
Choose your next move
cephalon doctor, scaffold an app, and deploy.TutorialsBuild end-to-end examples for monolith, microservices, and multi-tenant SaaS.TechnologyBrowse the companion package catalog by domain, runtime, and deployment concern.MigrationFollow structured playbooks for onboarding and version-to-version upgrades.ReferenceInspect runtime contracts, configuration schema, CLI surfaces, and API docs.ContributingAdopt engineering standards, package lifecycle rules, and release process details.AboutTrack roadmap, release notes, governance details, FAQ, and project license.