rivet  by rivet-gg

Open-source serverless platform for deploying AI agents and backends

created 2 years ago
4,215 stars

Top 11.8% 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

1 day ago

Responsiveness

1 day

Pull Requests (30d)
120
Issues (30d)
1
Star History
841 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.