# rivet-dev/rivet

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/rivet-dev-rivet).**

5,619 stars · 193 forks · Rust · Apache-2.0

## Links

- GitHub: https://github.com/rivet-dev/rivet
- Homepage: https://www.rivet.dev
- awesome-repositories: https://awesome-repositories.com/repository/rivet-dev-rivet.md

## Topics

`actor` `actors` `cloudflare` `cloudflare-durable-objects` `durable-objects` `foundationdb` `multiplayer` `realtime` `rust` `serverless`

## Description

Rivet is a distributed infrastructure for managing the lifecycle, addressing, and persistence of stateful actors and durable execution engines. It provides a distributed process sandbox that executes application logic within lightweight isolates, ensuring resource isolation and fast cold starts. The system is designed to coordinate multi-step operations using persistent queues and timers to guarantee reliable task completion across distributed environments.

The platform specifically enables the orchestration of stateful AI agents that maintain persistent memory and state across long-running interactions and complex workflows. It distinguishes itself with a WebSocket state synchronization framework that binds frontend user interface components to remote stateful processes via real-time bidirectional communication.

The system covers a broad range of capabilities including hierarchical actor addressing, a hibernate-on-idle runtime for resource optimization, and a pluggable persistence layer for modular storage backends. It also includes tools for active session debugging, real-time execution state monitoring, and automated deployment options for edge, cloud, or private infrastructure.

The project is implemented in Rust and supports multi-language actor development.

## Tags

### DevOps & Infrastructure

- [Durable Task Orchestrators](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration/task-execution-frameworks/workflow-engines/durable-task-orchestrators.md) — Provides a durable orchestration substrate with state persistence and revision tracking for long-running multi-step workflows.
- [Actor Lifecycle Management](https://awesome-repositories.com/f/devops-infrastructure/custom-resource-definitions/lazy-resource-activation/actor-lifecycle-management.md) — Coordinates the activation and deactivation of actor state based on request demand and inactivity. ([source](https://www.rivet.dev/docs/clients/next-js))
- [Distributed Workflow Orchestrators](https://awesome-repositories.com/f/devops-infrastructure/distributed-workflow-orchestrators.md) — Coordinates complex sequences of distributed tasks while managing their persistent execution state. ([source](https://cdn.jsdelivr.net/gh/rivet-dev/rivet@main/README.md))
- [Hibernating](https://awesome-repositories.com/f/devops-infrastructure/serverless-runtimes/hibernating.md) — Serializes inactive process memory to storage to minimize resources and allow rapid resumption.
- [Application Cloud Deployments](https://awesome-repositories.com/f/devops-infrastructure/cloud-deployment/multi-cloud-deployments/cross-cloud-certificate-deployment/cloud-platform-deployments/application-cloud-deployments.md) — Automates the deployment of persistent actor-based applications by connecting source repositories to managed cloud infrastructure. ([source](https://www.rivet.dev/docs/deploy/railway))
- [Cloud Infrastructure Cost Optimization](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-cost-optimization.md) — Reduces operational costs and latency through idle-time suspension and strategic geographic distribution of instances. ([source](https://www.rivet.dev/docs/deploy/railway))
- [Distributed Edge Compute Platforms](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/edge-computing-platforms/distributed-edge-compute-platforms.md) — Provides a platform for deploying resource-constrained, isolated code execution across a global network of edge nodes. ([source](https://cdn.jsdelivr.net/gh/rivet-dev/rivet@main/README.md))
- [Edge Runtime Deployment](https://awesome-repositories.com/f/devops-infrastructure/edge-runtime-deployment.md) — Allows running orchestration logic on serverless edge functions to minimize latency by distributing execution closer to users. ([source](https://www.rivet.dev/docs))
- [Air-Gapped Deployments](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-deployment/infrastructure-deployment/air-gapped-deployments.md) — Provides configurations to operate the orchestration infrastructure within restricted, air-gapped network environments. ([source](https://www.rivet.dev/docs/self-hosting/))
- [Multi-Environment Deployments](https://awesome-repositories.com/f/devops-infrastructure/multi-environment-deployments.md) — Supports running orchestration logic across diverse environments including serverless platforms and dedicated edge functions. ([source](https://www.rivet.dev/docs/actors))
- [Private Infrastructure Hosting](https://awesome-repositories.com/f/devops-infrastructure/private-infrastructure-hosting.md) — Allows hosting the entire orchestration stack on private infrastructure for maximum control over security and data. ([source](https://www.rivet.dev/docs/self-hosting/))

### Software Engineering & Architecture

- [Stateful Distributed Actors](https://awesome-repositories.com/f/software-engineering-architecture/stateful-distributed-actors.md) — Maintains application state within isolated processes that automatically persist to durable storage. ([source](https://www.rivet.dev/docs/clients/next-js))
- [Component State Bindings](https://awesome-repositories.com/f/software-engineering-architecture/architectural-design-patterns/state-management/reactive-subscription-systems/component-state-bindings.md) — Connects user interface components to remote stateful processes to manage long-running workflows. ([source](https://www.rivet.dev/docs/clients/react))
- [Hierarchical Key Addressing](https://awesome-repositories.com/f/software-engineering-architecture/distributed-actor-frameworks/abstract-actor-addressing/hierarchical-key-addressing.md) — Organizes distributed stateful instances using path-based namespaces for secure communication and discovery. ([source](https://www.rivet.dev/docs/clients/next-js))
- [Durable Workflow Execution Engines](https://awesome-repositories.com/f/software-engineering-architecture/durable-workflow-execution-engines.md) — Coordinates multi-step operations using persistent queues and timers to guarantee reliable task completion.
- [Actor State Persistence](https://awesome-repositories.com/f/software-engineering-architecture/fault-tolerance/actor-state-persistence.md) — Ensures durability of long-running processes by persisting their internal state to local or remote storage providers. ([source](https://www.rivet.dev/docs/actors/quickstart/backend))
- [Durable Entity Definitions](https://awesome-repositories.com/f/software-engineering-architecture/fault-tolerance/actor-state-persistence/durable-entity-definitions.md) — Enables the creation of durable entities with internal state and actions that trigger real-time event broadcasts. ([source](https://www.rivet.dev/docs/actors/quickstart/backend))
- [Stateful Actor Runtimes](https://awesome-repositories.com/f/software-engineering-architecture/microservice-development-platforms/multi-language-microservice-development/stateful-actor-runtimes.md) — Enables the development of stateful actor logic using multiple programming languages to meet different performance needs. ([source](https://www.rivet.dev/docs/actors/quickstart))
- [Recurring Task Schedulers](https://awesome-repositories.com/f/software-engineering-architecture/recurring-task-schedulers.md) — Supports the execution and validation of delayed or recurring operations using timers and cron jobs within a controlled environment. ([source](https://www.rivet.dev/docs/actors/testing))
- [Remote Function Invocation](https://awesome-repositories.com/f/software-engineering-architecture/remote-function-invocation.md) — Invokes functions on distributed processes via client connections for stateful and stateless requests. ([source](https://www.rivet.dev/docs/clients/react))
- [Stateless Request Processing](https://awesome-repositories.com/f/software-engineering-architecture/stateless-request-processing.md) — Performs one-off requests or utility calls to backend processes without maintaining a persistent connection. ([source](https://www.rivet.dev/docs/clients/react))

### Artificial Intelligence & ML

- [Stateful Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/stateful-agent-orchestration.md) — Provides a framework for building autonomous AI agents with persistent memory across complex multi-step workflows.

### Part of an Awesome List

- [Durable Message Processing](https://awesome-repositories.com/f/awesome-lists/devtools/task-queues/durable-task-processors/durable-message-processing.md) — Uses persistent queues to process asynchronous messages reliably, guaranteeing task completion and recovery. ([source](https://cdn.jsdelivr.net/gh/rivet-dev/rivet@main/README.md))

### Data & Databases

- [Automatic State Persistence](https://awesome-repositories.com/f/data-databases/in-memory-databases-with-persistence/automatic-state-persistence.md) — Manages long-lived processes with in-memory state that is automatically synchronized to a database for high-performance access. ([source](https://cdn.jsdelivr.net/gh/rivet-dev/rivet@main/README.md))
- [Pluggable Storage Backends](https://awesome-repositories.com/f/data-databases/persistent-storage-backends/pluggable-storage-backends.md) — Implements a modular persistence layer allowing the system to switch between relational databases, file systems, and key-value stores.
- [Actor State Querying](https://awesome-repositories.com/f/data-databases/actor-state-querying.md) — Allows real-time browsing and querying of the internal state databases associated with active processes and sessions. ([source](https://www.rivet.dev/))

### Development Tools & Productivity

- [AI Agent Orchestrators](https://awesome-repositories.com/f/development-tools-productivity/backend-orchestrators/ai-agent-orchestrators.md) — Deploys isolated and secure stateful environments specifically to power autonomous AI agents and long-running workflows.
- [Workflow Progress Monitoring](https://awesome-repositories.com/f/development-tools-productivity/execution-state-monitors/workflow-progress-monitoring.md) — Provides real-time inspection of workflow progress and state transitions for durable multi-step executions. ([source](https://cdn.jsdelivr.net/gh/rivet-dev/rivet@main/README.md))

### Networking & Communication

- [Distributed State Management](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-computing/data-synchronization-consistency/distributed-state-management.md) — Manages the lifecycle and addressing of stateful processes across distributed systems to ensure data durability.
- [Real-time Data Subscriptions](https://awesome-repositories.com/f/networking-communication/real-time-data-subscriptions.md) — Enables clients to listen for real-time updates from backend actors to reflect state changes in the UI. ([source](https://www.rivet.dev/docs/clients/react))
- [State Synchronization](https://awesome-repositories.com/f/networking-communication/real-time-web-communication/state-synchronization.md) — Uses hooks to automatically synchronize user interface elements with stateful backend instances. ([source](https://www.rivet.dev/docs/clients/react))
- [Websocket Connection Managers](https://awesome-repositories.com/f/networking-communication/connection-management/websocket-connection-managers.md) — Maintains long-lived WebSocket communication channels using proxy configurations for stable data exchange. ([source](https://www.rivet.dev/docs/deploy/railway))
- [Low-Level API Interfaces](https://awesome-repositories.com/f/networking-communication/low-level-api-interfaces.md) — Provides direct HTTP and WebSocket access to remote processes implementing specific request-handling logic. ([source](https://www.rivet.dev/docs/clients/next-js))
- [Real-Time State Broadcasting](https://awesome-repositories.com/f/networking-communication/real-time-state-broadcasting.md) — Broadcasts bidirectional data to connected clients via WebSockets for live collaborative interactions. ([source](https://cdn.jsdelivr.net/gh/rivet-dev/rivet@main/README.md))

### Security & Cryptography

- [Isolated Execution Sandboxes](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/sandbox-and-isolation/isolated-execution-sandboxes.md) — Provides secure, resource-constrained sandboxes to execute application logic within lightweight isolates.
- [Sandboxed Execution Environments](https://awesome-repositories.com/f/security-cryptography/sandboxed-execution-environments.md) — Executes application logic within secure, lightweight isolates to provide resource isolation and fast cold starts. ([source](https://www.rivet.dev/))
- [Agent Execution Environments](https://awesome-repositories.com/f/security-cryptography/secure-execution-environments/agent-execution-environments.md) — Provides isolated runtimes specifically configured for the execution and resource management of autonomous AI agents. ([source](https://www.rivet.dev/))
- [Actor Access Control](https://awesome-repositories.com/f/security-cryptography/domain-access-restrictions/administrative-access-restrictions/identity-based-access-restrictions/actor-access-control.md) — Provides authentication and authorization mechanisms specifically for validating identities and origins when accessing stateful actor instances. ([source](https://www.rivet.dev/docs/actors/quickstart/backend))

### User Interface & Experience

- [Real-Time State Synchronization](https://awesome-repositories.com/f/user-interface-experience/event-driven-ui-frameworks/real-time-state-synchronization.md) — Integrates real-time stateful backend logic with client-side interfaces for seamless application state synchronization. ([source](https://www.rivet.dev/docs/actors/quickstart))

### Web Development

- [Public API Exposure](https://awesome-repositories.com/f/web-development/public-api-exposure.md) — Exposes internal stateful actor processes as secure backend endpoints for external client interaction. ([source](https://www.rivet.dev/docs/actors/quickstart/next-js))
- [Bidirectional Streams](https://awesome-repositories.com/f/web-development/real-time-data-streaming/bidirectional-streams.md) — Establishes persistent bidirectional communication channels between clients and backend processes for live data updates. ([source](https://www.rivet.dev/))
- [WebSocket State Synchronization](https://awesome-repositories.com/f/web-development/state-syncing-reactivity/websocket-state-synchronization.md) — Establishes bidirectional WebSocket channels to synchronize frontend UI components with remote stateful backend processes in real-time.
- [Direct Process Invocations](https://awesome-repositories.com/f/web-development/api-request-configurations/cloud-api-request-execution/platform-request-execution/direct-process-invocations.md) — Provides mechanisms to invoke low-level network interfaces directly on remote actor processes. ([source](https://www.rivet.dev/docs/actors/quickstart/react))

### Programming Languages & Runtimes

- [HTTP Endpoint Mappings](https://awesome-repositories.com/f/programming-languages-runtimes/literal-matching/literal-pattern-matching/actor-name-registries/http-endpoint-mappings.md) — Links backend process registries to HTTP endpoints to support standard REST methods for remote communication. ([source](https://www.rivet.dev/docs/actors/quickstart/next-js))

### System Administration & Monitoring

- [System Activity Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/system-activity-monitoring.md) — Provides a centralized dashboard for tracking state changes, workflow progress, and agent events. ([source](https://www.rivet.dev/))
- [Interactive State REPLs](https://awesome-repositories.com/f/system-administration-monitoring/system-activity-monitoring/session-activity-monitors/active-session-visibility/interactive-state-repls.md) — Enables direct interaction with running code by calling actions and subscribing to events through a REPL. ([source](https://www.rivet.dev/))
