Skip to content

Effectus

Effectus compiles typed rules into checked protobuf IR. The same execution engine supports process-local embedded use and PostgreSQL-backed durable execution.

Start the walkthrough Read the guarantees

Use Effectus when

  • You need static checks for facts, verbs, bindings, and declared types.
  • You need one execution engine for inbound HTTP requests, Kafka records, gRPC calls, and recovery.
  • You need an immutable startup generation and historical artifacts for replay and recovery.
  • You need durable admission, saga state, recovery, and audit data in PostgreSQL.
  • You need signed OCI bundles and explicit deployment boundaries.

Execution boundary

Effectus controls admission and internal execution state. It does not make an external service transactional.

External destinations must coordinate deduplication with their business commit and enforce fencing when the contract requires it. Fencing does not replace deduplication. Compensation is recovery work, not an ACID rollback.

Read Runtime Guarantees before a production deployment.

Select a first-run path

Production path

The production path has one checked boundary:

.eff and .effx sources
        |
        v
compiler.CompileChecked
        |
        v
checked protobuf IR --> immutable generation
                                |
HTTP requests ------------------|
Kafka records ------------------+--> runtime.Engine.Execute
inbound gRPC calls -------------|             |
recovery of durable work -------|             v
                                  invocation executor
                                  (outbound HTTP in effectusd)

The daemon loads its admission generation at startup. Bundle changes require process replacement, not hot reload. Replay and recovery can use the immutable artifact already pinned to a durable identity. Embedded Go applications can register in-process executors; the daemon does not load those application bindings. Unsupported production paths fail with explicit errors. Compatibility APIs do not replace the checked runtime boundary.

Documentation map

Task Document
Choose library or daemon mode Integration guide
Configure effectusd Runtime configuration
Call the HTTP API HTTP reference
Embed in Go Go API
Integrate a gRPC client gRPC execution, capability matrix, and client examples
Add a source Fact sources
Add an executor Extension system
Understand durability Runtime guarantees
Operate production Production runbook
Understand sagas Durable saga protocol
Review architecture Architecture