Title here
Summary here
Orchestration as Code - Build fault-tolerant workflows with Go.
Resolute is a workflow framework built on Temporal that lets you define complex, long-running workflows using familiar Go code. It provides a developer-friendly abstraction layer while maintaining Temporal’s durability guarantees.
package main
import "github.com/resolute/resolute/core"
func main() {
// Define a simple data sync workflow
flow := core.NewFlow("data-sync").
TriggeredBy(core.Schedule("0 2 * * *")). // Run daily at 2 AM
Then(jira.FetchIssues(jira.Input{
Project: "PLATFORM",
Since: core.CursorFor("jira"), // Incremental sync
})).
Then(transform.ChunkDocuments(transform.Input{
DocumentsRef: core.OutputRef("jira_issues"),
})).
Then(ollama.BatchEmbed(ollama.Input{
DocumentsRef: core.OutputRef("chunks"),
})).
Then(qdrant.Upsert(qdrant.Input{
Collection: "knowledge-base",
EmbeddingsRef: core.OutputRef("embeddings"),
})).
Build()
// Run the worker
core.NewWorker().
WithFlow(flow).
WithProviders(jira.Provider, transform.Provider, ollama.Provider, qdrant.Provider).
Run()
}Ready to build your first workflow?