engine  by rivet-dev

Open-source serverless platform for deploying AI agents and backends

Created 2 years ago
4,375 stars

Top 11.2% on SourcePulse

GitHubView on GitHub
Project Summary

Rivet is an open-source serverless platform designed for deploying and scaling AI agents, complex workloads, and backends. It targets developers seeking a frictionless, scalable, and stateful serverless solution that overcomes limitations like Redis dependencies or Lambda timeouts, offering persistent state and long-running capabilities.

How It Works

Rivet utilizes a unique approach combining Rust, V8 isolates (or WebAssembly/containers), and FoundationDB for state management. This allows for "state that feels like memory but works like storage," enabling dynamic applications with instant wake-up capabilities. Its architecture supports remote procedure calls with type safety, fault tolerance, and edge networking for low-latency distribution, all while scaling to zero and eliminating traditional server configuration or execution time limits.

Quick Start & Requirements

  • Install: curl -fsSL https://releases.rivet.gg/rivet/latest/install.sh | sh (macOS/Linux/WSL) or PowerShell equivalent for Windows.
  • Prerequisites: Node.js for actor creation/deployment.
  • Getting Started: Follow the TypeScript quickstart for actor creation and deployment.
  • Resources: Documentation, Examples.

Highlighted Details

  • Supports V8 isolates, WebAssembly, and containers for runtime flexibility.
  • Features state persistence, RPC with type safety, and fault tolerance.
  • Offers edge networking for low-latency distribution.
  • Built with Rust, FoundationDB, and other robust technologies.

Maintenance & Community

  • Active community on Discord and X.
  • Bug reports and discussions via GitHub Issues and Discussions.
  • Discord, X, Bluesky.

Licensing & Compatibility

  • Licensed under Apache 2.0.
  • Permissive license suitable for commercial use and integration with closed-source projects.

Limitations & Caveats

The platform is still evolving, with self-hosting options ranging from local development setups to manual VM deployments, alongside a managed Rivet Cloud offering. Specific performance benchmarks or detailed comparisons to existing serverless solutions are not explicitly detailed in the README.

Health Check
Last Commit

20 hours ago

Responsiveness

1 day

Pull Requests (30d)
177
Issues (30d)
0
Star History
144 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Didier Lopes Didier Lopes(Founder of OpenBB), and
6 more.

langgraph by langchain-ai

1.5%
19k
Agent orchestration framework for building controllable agents
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.