Skip to content
trigora-devPublic

About

High-performance, lightweight durable execution for long-running AI agents and programs.

Topics

Resources

Stars

31 stars

Watchers

1 watching

Forks

Repository files navigation

Trigora — durable execution without history replay.

npm version npm downloads License: MIT GitHub stars

TypeScript · Python · Rust · TCC Engine · Cloud

Trigora

Durable execution without history replay.

Trigora is a high-performance, lightweight durable execution platform for long-lived AI agents and programs. Powered by the TCC Engine, it restores committed program state instead of replaying execution history.

⚡ Ultra-fast recovery — as fast as 0.06 ms.

🔄 Zero history replay — restore and resume directly from committed state.

🚀 Lightweight by design — powered by a portable Rust/WASM engine.

💻 Write normal code — TypeScript, Python, and Rust.

See it in action

Write normal application logic. Trigora can suspend execution across events, timers, external effects, and child programs, then recover from committed continuation state after failure.

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 once. Start executions from the CLI, an API call, a webhook, or a cron trigger. Let them run for seconds, hours, or days.

Why Trigora?

Traditional replay-based durable execution systems reconstruct program state by re-executing previously recorded control flow. As execution histories grow, recovery can require replaying an increasingly long sequence of completed work.

Trigora takes a different approach. At durable boundaries, Transparent Continuation Checkpointing (TCC) commits the program's resumable continuation and the live durable state needed to continue. After an interruption, Trigora restores that committed continuation directly instead of re-executing the completed prefix.

The result is a simple programming model with recovery work tied to the committed continuation, not to the full execution history.

Trigora is built 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; and
  • need to survive worker or process failure.

How TCC works →

Start building

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

TypeScript

npm install @trigora/sdk @trigora/client trigora

Python

pip install trigora trigora-client trigora-cli

Requires Python 3.10–3.14.

Rust

cargo add trigora trigora-client
cargo install trigora-cli

Then initialize a project:

trigora init

Start the local runtime:

trigora dev

When you're ready to run in production:

trigora deploy

Read the quickstart →

Trigora Cloud

Trigora Cloud brings TCC-powered durable execution to production, handling deployment, persistence, recovery, and execution management so you can focus on application logic.

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; and
  • managed persistence and recovery.

Start building on Trigora Cloud →

Repository map

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

This repository

trigora-dev/trigora contains the Trigora CLI, the native local runtime used by trigora dev, shared public contracts, and release coordination. Language-specific authoring APIs and the TCC Engine are maintained in their respective repositories above.

TCC Engine

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.

Research

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; and
  • limitations and failure windows.

Explore the research →
Read the technical report →

Links

Company

Trigora is built by Trigora, Inc.

License

MIT © 2026 Trigora, Inc.

About

High-performance, lightweight durable execution for long-running AI agents and programs.

Topics

Resources

Stars

31 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages