API Reference synaptic v#0.1.5

View Source

Modules

Synaptic provides a declarative workflow engine with a DSL for orchestrating LLM-backed steps, human-in-the-loop pauses, and resumable executions.

OTP application entry point that starts the registry, runtime supervisor, PubSub, and Finch pool required by Synaptic.

A small workflow available only in the dev environment so you can try the Synaptic engine end-to-end from iex -S mix.

Internal orchestrator that glues workflow definitions to runtime runners.

Registry used to name runner processes by run id and enumerate active runs.

GenServer that executes a workflow definition, tracking context, waiting states, retries, history, PubSub events, and suspend/resume logic.

DynamicSupervisor responsible for spinning up Synaptic.Runner processes.

Metadata structure for compiled workflow steps.

Helper utilities for invoking LLM providers from workflow steps.

Behaviour for LLM adapter implementations.

Minimal OpenAI chat client built on Finch.

Struct describing an LLM-callable tool.

DSL entry point for defining Synaptic workflows.