SERVICIU · 03

Durable Execution

Sagas + retries care supraviețuiesc la restart. Replay împotriva oricărui input, debug pentru orice failure.

WHAT YOU GET

Workflow-uri stateful

Pașii persistă între apeluri. Un restart de nod nu pierde ordinele în zbor.

Bugete de retry

Numere de retry pe pas + exponential backoff. Dead-letter queues la epuizare.

Replay debug

Captură de input la fiecare pas; replay împotriva unui input known-bad reproduce failure-ul exact.

02 · Reference architecture

What we actually ship.

Every system we build follows this shape. Client at the edge, tools in a sandbox, traces everywhere, evaluators gating output. No black boxes, no "it works on my machine."

EDGE
Client
web · mobile · API
Gateway
auth · rate-limit · PII redact
ORCHESTRARE
Orchestrator
planner · router · memory
Durable · exactly-once
AGENȚI & TOOLS
Retrieval
hibrid · rerank · cite
Tool calls
sandboxed · timeboxed
Evaluator
gates · rubrics · LLM-judge
DATE & ÎNCREDERE
Vector + BM25
tenant-isolated
Traces / logs
OTel · replayable
Output semnat
auditable · rollback
04 · Run

Watch an agent do the job.

Three real production scenarios, replayed at observed latency. Every box is a span; every span has tokens, cost, and an eval gate. This is what shows up in your traces, not a marketing animation.

POST/api/v1/agent/runFirst-notice-of-loss vine pe app. Agentul trebuie să ruteze, seteze rezervă și ceară docs în <4s.
trace · claimsspan_id 7c1f…
orchestrator.run0ms
PLANorchestrator.planorchestrator · 80ms · 192 tok · $0.0014
Plan rationale

Triage FNOL: validare poliță, vision pe foto, fraudă, severitate & rezervă, gate-uri payout.

Subtasks
retrieval.policytool.visiontool.fraud_checkreasoner.severityevaluator
0ms/2.33s
LATENCY0msbudget 3.00s
TOKENS0in + out
COST$0.0000budget $0.025
EVAL GATE—deterministic + LLM-judge
RUTAT · rezervă $4 800
Severitate LOW. Rezervă setată, rețea service activată, 2 docs cerute de la asigurat.
latency2.78scost$0.018tokens2,210evals7/7
09 · STACK

Modern tools, composed cleanly.

Runtime
Temporal, Inngest
Observability
OpenTelemetry, Langfuse
Deploy
Vercel, AWS, GCP
Orchestrare
Workflow-uri, sagas
09 · FAQ

FAQ · Durable Execution

Opt până la paisprezece săptămâni de la kick-off până la rollout în producție. Discovery este inclus dacă îl faci cu noi; altfel pornim de la spec-ul tău existent.

START

Pornește primul sistem.

Discovery la preț fix în 2 săptămâni. Pleci cu arhitectură, spike funcțional și plan de build.