rivet-dev/agents
Durable actors keep agent memory across restarts; HTTP controls sandboxed coding agents
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This TypeScript workspace contains two distinct projects. Rivet Agents runs agents such as Pi as durable Rivet Actors, with a per-agent process model and memory that survives restarts. The integration surface under packages/ includes @rivet-dev/pi and @rivet-dev/sandbox-adapter; Rivet Actors supply the lifecycle model rather than leaving it entirely to the application.
The separate sandbox-agent/ project runs coding agents inside sandboxes and provides HTTP control. That boundary matters: HTTP control of sandboxed execution and actor-backed memory solve different problems. Do not assume that the two projects must be deployed together, that they share state, or that HTTP is the interface for the actor integration. No storage backend or broader plugin contract is established.
Key Capabilities & Differentiators
The primary capability is keeping an agent's memory across process restarts, with Pi as the concrete integration. v0.5.8 adds support for Pi 1.6 and documents how a tool can wait for a webhook using c.pi.signal. v0.5.7 fixes Pi wake handling to keep one pi.wake while work is active.
The second capability is HTTP control of coding agents running in sandboxes. These are execution and integration features, not evidence of a particular model catalog or inference backend. A full sandbox-provider compatibility matrix is not established. Likewise, memory persistence does not establish that interrupted tool calls resume at the same step or that external side effects execute exactly once. Test those behaviors if the application depends on them.
Trade-offs & Limitations
Compared with embedding Pi directly and building persistence in the application, the actor approach trades custom lifecycle plumbing for a dependency on Rivet's runtime and lifecycle model. That is a reasonable exchange when restart-surviving memory is central. It is harder to justify if agents are short-lived or if the application already has session persistence and recovery that meet its needs.
Compared with running a coding agent directly on the application host, Sandbox Agent puts execution behind a sandbox and an HTTP boundary. That adds another service interface to operate without establishing the strength of isolation, authentication defaults, or tenant boundaries. Before production use, validate those controls as well as restart behavior during in-flight work. Apache-2.0 covers the repository; it does not settle the terms of external services or dependencies.
Hardware & Deployment Guide
Plan around the selected integration surface: a Rivet Actor runtime for the durable Pi path, or a Sandbox Agent HTTP endpoint and a sandbox environment for the remote-control path. The source workspace uses pnpm, moved to pnpm 11 in v0.5.8, and includes build, type-check, and test scripts. That establishes a source tooling baseline, not a minimum production runtime version or a production topology.
The shared release process publishes npm packages and crates and uploads binaries. No verified container layout, database prerequisite, or offline installation path is specified. For sizing, measure actor activity and memory footprint separately from sandbox concurrency and tool load. Account for model execution separately if you supply it; there is no fixed hardware or VRAM requirement to plan against.
@rivet-dev/pi integrates Pi with Rivet Actors; @rivet-dev/sandbox-adapter is listed alongside it under packages/.sandbox-agent/ project runs coding agents in sandboxes and exposes HTTP control.c.pi.signal.pi.wake while Pi work is active.Teams building long-lived Pi agents that need memory across restarts, or teams evaluating a separate HTTP interface for sandboxed coding agents.
Your existing agent integration already handles the required recovery, or you need a turnkey offline deployment with documented infrastructure requirements and isolation guarantees.
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agents ★ | 1.7k | +7 | TypeScript | Apache-2.0 | Durable actors keep agent memory across restarts; HTTP controls sandboxed coding |
| ruflo | 82.8k | +342 | TypeScript | MIT | A TypeScript orchestration layer for coding agents, with shared memory and MCP |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
| langgraph | 45.8k | +293 | Python | MIT | Python graph orchestration for stateful, resumable agents and workflows |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/rivet-dev/agents.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agents
Where should an application integrate: at the actor layer or the HTTP layer?
@rivet-dev/pi when a Pi agent needs a durable lifecycle as a Rivet Actor. Use the separate Sandbox Agent project when the integration requirement is to control a coding agent over HTTP inside a sandbox. @rivet-dev/sandbox-adapter is listed on the Rivet Agents side, but a required link between the two projects is not established.What hardware and VRAM should we budget for?
Can we use it commercially and self-host it?
When is this a better fit than integrating Pi directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy