Skip to content

Extension points ​

The framework exposes stable extension points so business code does not modify core files.

Queue jobs ​

Implement Signature(), Handle() and optionally ShouldRetry(), then register in bootstrap/jobs.go. Never change a published signature, or failed jobs cannot be replayed.

Custom runners ​

A worker process can register additional consumers via WithRunners. The mail queue uses this approach and coexists with the framework queue runner.

Data scope gates ​

Implement a custom Gate and call it from the service layer. The framework does not bind to a specific dimension; department, tenant or creator filters can all be integrated.

Workflow nodes ​

AI nodes integrate with gflow-engine via action.Functions without modifying the engine. New node types follow the same pattern: register a function and add DSL validation.

Model providers ​

Implement the model client interface and register it in the selection list. Parameters such as top_p and max_tokens are supported.

Next steps ​