返回资讯中心
外部精选
软件工程
#社区热议

Show HN: Trigora – durable execution without history replay

Durable execution without history replay.

Hacker Newshypervs2026/10/7 · 24 天前7 分钟阅读

以下正文同步自 Hacker News,版权归原站所有,已转换为易读排版。

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:

How TCC works →

Read the technical report →

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

npm install @trigora/sdk @trigora/client trigora

Python

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:

trigora dev

When you're ready to run in production:

Trigora Cloud is the managed production runtime for TCC programs.

Trigora is split into focused repositories.

trigora-dev/trigora contains the pieces shared across the Trigora 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 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.

Website: trigora.dev

Cloud: cloud.trigora.dev

Docs: trigora.dev/docs

Research: trigora.dev/research

TCC Engine: github.com/trigora-dev/tcc-engine

GitHub: github.com/trigora-dev/trigora

Company

Trigora is built by Trigora, Inc.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →