Skip to content

Install

Agent quickstart
Terminal window
npm install @trigora/sdk @trigora/client trigora
PackageRole
@trigora/sdkAuthor Programs: effect, waitForEvent, sleep, invoke
@trigora/clientStart, send, cancel, and read executions on Cloud or local trigora dev
trigoraCLI: init, dev, deploy, pulse, start, send, cancel, whoami

The npm trigora package provides a Node launcher for the Rust CLI. Node.js 22 and 24 are supported for the npm CLI launcher and TypeScript adapter. Python-only and Rust-only projects do not require Node.js.

Runtime CLI commands target trigora dev by default. Add --remote to target Trigora Cloud. trigora deploy and trigora whoami are Cloud-only and need TRIGORA_TOKEN.

These packages do not embed TCC Engine. Published engine packages are on TCC Engine overview.

Authoring is the trigora package in trigora-python: program, effect, wait_for_event, sleep, invoke, gather, and race. HTTP is trigora-client, imported as trigora_client.

Terminal window
pip install trigora trigora-client

trigora depends on trigora-cli, which provides the trigora command. A Python-only project does not require Node.

The Python authoring package installs the compatible TCC compiler automatically. The CLI uses that compiler when it builds Python Programs. trigora-client does not install the compiler. The Python client uses Cloud when a token is set; otherwise it uses TRIGORA_RUNTIME_URL or http://127.0.0.1:3477.

The crates live in trigora-rust.

Terminal window
cargo add trigora trigora-client
cargo install trigora-cli
CrateRole
trigoraAuthor Programs: effect, sleep, invoke, join, race, wait_for_event. The entry is pub async fn main.
trigora-clientStart, send, cancel, and read executions on Cloud or local trigora dev
trigora-cliInstalls the trigora, trigora-local, and tcc-rust-compile binaries

cargo add trigora does not install a command. A Rust-only project does not require Node.

The Rust client uses Cloud when a token is set; otherwise it uses TRIGORA_RUNTIME_URL or http://127.0.0.1:3477. See Rust.

Node.js 22 and 24 are supported for the npm CLI launcher and TypeScript adapter. That adapter compiles Programs and runs TypeScript and JavaScript effects. Python-only and Rust-only projects do not require Node.js.

Programs use the Trigora authoring packages listed above, not TCC Engine packages. The packages @tcc-engine/host-node and @tcc-engine/frontend-rust are not published. See TCC Engine overview for the packages available to engine embedders.