Counting visitors…
v0.9.0 · Rust 1.88+

Trust the
whole run.

A typed, observable, cancellable, and budget-aware runtime for models, tools, agents, and workflows in Rust.

quickstart.rs● READY
use runifold::ProviderModelExt;
use runifold_providers::openai::OpenAiClient;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let runtime = OpenAiClient::from_api_key(
        std::env::var("OPENAI_API_KEY")?
    )?.runtime("gpt-5")?;

    let answer = runtime
        .agent("assistant")
        .system("Answer precisely. Expose uncertainty.")
        .prompt_text("Why is durable execution useful?")
        .await?;

    println!("{answer}");
    Ok(())
}
run_01Jopenai:gpt-51.42scompleted
THE EXECUTION KERNEL

Simple on the surface.
Explicit underneath.

Start with one prompt. Add production constraints without replacing the abstraction that got you there.

01

Every execution is a Run

Stable identity and causal parent–child relationships make the entire execution tree reconstructable.

02

Authority stays explicit

Tools, retrievers, and child agents receive named capabilities. Nothing inherits ambient permission.

03

Failure has semantics

Cancellation, deadlines, budgets, effects, and ambiguous retries are runtime state—not application folklore.

YOUR FIRST RUN

From empty project
to an answer.

Install the runtime plus one provider adapter, then keep vendor details at the edge.

Run the compile-checked Quickstart
Terminalzsh
cargo add runifold@0.9.0
cargo add runifold-providers@0.9.0 --features openai
cargo add tokio --features macros,rt-multi-thread
$ One stable runtime. One explicit provider adapter. No hidden execution.
EXPLORE THE COMPLETE PLATFORM