Show HN: Trigora – durable execution without history replay

原始链接: https://github.com/trigora-dev/trigora

Hacker News new | past | comments | ask | show | jobs | submit login Show HN: Trigora – durable execution without history replay ( github.com/trigora-dev ) 5 points by hypervs 1 hour ago | hide | past | favorite | discuss help Consider applying for YC's Winter 2027 batch! Applications are open till November 2. Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
相关文章

原文

Trigora — durable execution without history replay.

npm version npm downloads License: MIT GitHub stars

TypeScript · Python · Rust · TCC Engine · Cloud

Durable execution without history replay.

Trigora is a durable execution platform for long-lived AI agents and programs.

Write normal application logic in TypeScript, Python, or Rust. Trigora can suspend execution across events, timers, external effects, and child programs, then recover from committed continuation state after failure without replaying completed execution history.

import { effect, waitForEvent } from "@trigora/sdk";

export default async function approval() {
  const result = await effect("generate", () => 42);

  const review = await waitForEvent("approved");

  return { result, review };
}

Deploy it once. Start executions from the CLI, an API call, a webhook, or a cron trigger. Let them run for seconds, hours, or days.

Traditional durable workflow systems often reconstruct execution state by replaying prior history.

Trigora uses Transparent Continuation Checkpointing (TCC) instead.

At durable boundaries, TCC commits the program position and the live durable state required to continue. Recovery resumes from that committed continuation rather than re-executing the completed prefix.

That makes Trigora a natural fit for workloads that:

  • run long-lived AI agents;
  • call models, tools, APIs, and external systems;
  • wait for humans or external events;
  • sleep for minutes, hours, or days;
  • coordinate durable child executions;
  • branch dynamically;
  • need to survive worker or process failure.

How TCC works →
Read the technical report →

Install the SDK, client, and CLI for your language.

npm install @trigora/sdk @trigora/client trigora
pip install trigora trigora-client trigora-cli

Requires Python 3.10–3.14.

cargo add trigora trigora-client
cargo install trigora-cli

Then initialize a project:

Start the local runtime:

When you're ready to run in production:

Read the quickstart →

Trigora Cloud is the managed production runtime for TCC programs.

It provides:

  • durable execution;
  • deployment and program versioning;
  • events and timers;
  • cron and webhook triggers;
  • project secrets;
  • execution inspection and observability;
  • workspace access and API tokens;
  • managed persistence and recovery.

Start at cloud.trigora.dev.

Trigora is split into focused repositories.

Repository What it contains
trigora CLI, local runtime, public contracts, and ecosystem entry point
trigora-typescript TypeScript authoring SDK and API client
trigora-python Python authoring SDK and API client
trigora-rust Rust authoring SDK and API client
tcc-engine Portable TCC execution engine, language frontends, host protocol, and specifications

trigora-dev/trigora contains the pieces shared across the Trigora ecosystem:

  • the trigora CLI;
  • the native local runtime used by trigora dev;
  • shared public contracts;
  • release coordination for the Trigora SDK ecosystem.

Language-specific authoring APIs live in their respective repositories above.

TCC Engine is the portable execution technology underneath Trigora.

It is implemented primarily in Rust, supports native and WebAssembly embedding, and has declared frontends for TypeScript, Python, and Rust.

The engine is available separately for teams that want to embed TCC into their own runtimes or infrastructure.

TCC Engine on GitHub →

TCC Engine is source-available under the Business Source License 1.1 and converts to Apache 2.0 under its license terms. The Trigora SDKs, clients, CLI, and public contracts are MIT licensed.

The public research covers:

  • continuation-based recovery;
  • matched recovery versus history replay;
  • live-state scaling;
  • crash recovery and fresh-process restore;
  • frontend semantics;
  • host responsibilities;
  • limitations and failure windows.

Technical report →

Trigora is built by Trigora, Inc.

MIT © 2026 Trigora, Inc.

联系我们 contact @ memedata.com