The authoritative orchestration engine. CoreExec treats every AI interaction as a transactional workload—ensuring rigorous DAG execution, unbreakable task leasing, and absolute mathematical determinism.
CoreExec occupies the critical gap between ad-hoc AI scripts and monolithic cloud platforms. It operates on the architectural mandate that every workflow must be claimed, executed, recorded, and recoverable—with the exact same guarantees a database provides for a write.
Executes strict Directed Acyclic Graphs (DAGs). Rejects invalid nodes, cyclical dependencies, and unauthorized execution paths before invocation.
Employs atomic BEGIN IMMEDIATE SQL transactions. Two background workers can never claim or duplicate the same agent task.
If the local host loses power, CoreExec resumes active runs, expires stale leases, requeues eligible tasks, and preserves completed outputs.
Nodes that modify state require strict idempotency keys. Side effects are never duplicated, regardless of network or provider instability.