--- name: "rivet-actors" description: "Actors: The primitive for agent orchestration." --- ## Documentation - [Introduction](https://rivet.dev/actors/docs.md) - [Access Control](https://rivet.dev/actors/docs/access-control.md) - [Actions](https://rivet.dev/actors/docs/actions.md) - [Actor Runtime Socket](https://rivet.dev/actors/docs/actor-runtime-socket.md) - [Icons & Names](https://rivet.dev/actors/docs/appearance.md) - [Authentication](https://rivet.dev/actors/docs/authentication.md) - [CLI](https://rivet.dev/actors/docs/cli.md) - [Clients](https://rivet.dev/actors/docs/clients.md) - [Node.js & Bun](https://rivet.dev/actors/docs/clients/javascript.md) - [React](https://rivet.dev/actors/docs/clients/react.md) - [Rust (Beta)](https://rivet.dev/actors/docs/clients/rust.md) - [Swift](https://rivet.dev/actors/docs/clients/swift.md) - [SwiftUI](https://rivet.dev/actors/docs/clients/swiftui.md) - [Communicating Between Actors](https://rivet.dev/actors/docs/communicating-between-actors.md) - [Connections](https://rivet.dev/actors/docs/connections.md) - [Container Runner](https://rivet.dev/actors/docs/container-runner.md) - [Crash Course](https://rivet.dev/actors/docs/crash-course.md) - [Debugging](https://rivet.dev/actors/docs/debugging.md) - [Design Patterns](https://rivet.dev/actors/docs/design-patterns.md) - [Destroying Actors](https://rivet.dev/actors/docs/destroy.md) - [Errors](https://rivet.dev/actors/docs/errors.md) - [Realtime](https://rivet.dev/actors/docs/events.md) - [Fetch and WebSocket Handler](https://rivet.dev/actors/docs/fetch-and-websocket-handler.md) - [Actor Configuration](https://rivet.dev/actors/docs/general/actor-configuration.md) - [Cross-Origin Resource Sharing](https://rivet.dev/actors/docs/general/cors.md) - [Regions & Multi-Region](https://rivet.dev/actors/docs/general/edge.md) - [Endpoints](https://rivet.dev/actors/docs/general/endpoints.md) - [Environment Variables](https://rivet.dev/actors/docs/general/environment-variables.md) - [HTTP Server](https://rivet.dev/actors/docs/general/http-server.md) - [Logging](https://rivet.dev/actors/docs/general/logging.md) - [Pool Configuration](https://rivet.dev/actors/docs/general/pool-configuration.md) - [Production Checklist](https://rivet.dev/actors/docs/general/production-checklist.md) - [Registry Configuration](https://rivet.dev/actors/docs/general/registry-configuration.md) - [Runtime Modes](https://rivet.dev/actors/docs/general/runtime-modes.md) - [Skills](https://rivet.dev/actors/docs/general/skill.md) - [WASM vs Native SDK](https://rivet.dev/actors/docs/general/wasm-vs-native-sdk.md) - [Vanilla HTTP API](https://rivet.dev/actors/docs/http-api.md) - [Input Parameters](https://rivet.dev/actors/docs/input.md) - [Custom Inspector Tabs](https://rivet.dev/actors/docs/inspector-tabs.md) - [Actor Keys](https://rivet.dev/actors/docs/keys.md) - [Low-Level KV Storage](https://rivet.dev/actors/docs/kv.md) - [Lifecycle](https://rivet.dev/actors/docs/lifecycle.md) - [Limits](https://rivet.dev/actors/docs/limits.md) - [Metadata](https://rivet.dev/actors/docs/metadata.md) - [Queues & Run Loops](https://rivet.dev/actors/docs/queues.md) - [Node.js & Bun Quickstart](https://rivet.dev/actors/docs/quickstart/backend.md) - [Cloudflare Workers Quickstart](https://rivet.dev/actors/docs/quickstart/cloudflare.md) - [Effect.ts Quickstart (Beta)](https://rivet.dev/actors/docs/quickstart/effect.md) - [Next.js Quickstart](https://rivet.dev/actors/docs/quickstart/next-js.md) - [React Quickstart](https://rivet.dev/actors/docs/quickstart/react.md) - [Rust Quickstart (Beta)](https://rivet.dev/actors/docs/quickstart/rust.md) - [Supabase Functions Quickstart](https://rivet.dev/actors/docs/quickstart/supabase.md) - [Low-Level HTTP Request Handler](https://rivet.dev/actors/docs/request-handler.md) - [Schedule & Cron](https://rivet.dev/actors/docs/schedule.md) - [SQLite](https://rivet.dev/actors/docs/sqlite.md) - [SQLite + Drizzle](https://rivet.dev/actors/docs/sqlite-drizzle.md) - [SQLite Profiling](https://rivet.dev/actors/docs/sqlite-profiling.md) - [In-Memory State](https://rivet.dev/actors/docs/state.md) - [Actor Statuses](https://rivet.dev/actors/docs/statuses.md) - [Testing](https://rivet.dev/actors/docs/testing.md) - [Troubleshooting](https://rivet.dev/actors/docs/troubleshooting.md) - [Types](https://rivet.dev/actors/docs/types.md) - [Versions & Upgrades](https://rivet.dev/actors/docs/versions.md) - [Low-Level WebSocket Handler](https://rivet.dev/actors/docs/websocket-handler.md) - [Integrations](https://rivet.dev/actors/integrations.md) - [Durable Streams](https://rivet.dev/actors/integrations/durable-streams.md) - [Flue](https://rivet.dev/actors/integrations/flue.md) - [Vercel Eve](https://rivet.dev/actors/integrations/vercel-eve.md) - [Workflow SDK (Beta)](https://rivet.dev/actors/integrations/workflow-sdk.md) - [Learn](https://rivet.dev/actors/learn.md) - [A Radically Simpler Architecture](https://rivet.dev/actors/learn/a-radically-simpler-architecture.md) - [AI Agent](https://rivet.dev/actors/learn/ai-agent.md) - [Chat Room](https://rivet.dev/actors/learn/chat-room.md) - [Collaborative Text Editor](https://rivet.dev/actors/learn/collaborative-text-editor.md) - [Cron Jobs and Scheduled Tasks](https://rivet.dev/actors/learn/cron-jobs.md) - [Live Cursors and Presence](https://rivet.dev/actors/learn/live-cursors.md) - [Multiplayer Game](https://rivet.dev/actors/learn/multiplayer-game.md) - [Database per Tenant](https://rivet.dev/actors/learn/per-tenant-database.md) - [Use Cases](https://rivet.dev/actors/use-cases.md) ## Examples Runnable code the documentation above embeds, mirrored under `examples/` in this skill directory. - [examples/docs/actors-access-control](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-access-control) - [examples/docs/actors-actions](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-actions) - [examples/docs/actors-appearance](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-appearance) - [examples/docs/actors-authentication](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-authentication) - [examples/docs/actors-communicating-between-actors](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-communicating-between-actors) - [examples/docs/actors-connections](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-connections) - [examples/docs/actors-crash-course](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-crash-course) - [examples/docs/actors-design-patterns](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-design-patterns) - [examples/docs/actors-destroy](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-destroy) - [examples/docs/actors-errors](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-errors) - [examples/docs/actors-events](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-events) - [examples/docs/actors-input](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-input) - [examples/docs/actors-inspector-tabs](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-inspector-tabs) - [examples/docs/actors-integrations-durable-streams](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-integrations-durable-streams) - [examples/docs/actors-keys](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-keys) - [examples/docs/actors-kv](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-kv) - [examples/docs/actors-lifecycle](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-lifecycle) - [examples/docs/actors-limits](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-limits) - [examples/docs/actors-metadata](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-metadata) - [examples/docs/actors-queues](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-queues) - [examples/docs/actors-quickstart-backend](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-quickstart-backend) - [examples/docs/actors-quickstart-cloudflare](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-quickstart-cloudflare) - [examples/docs/actors-quickstart-next-js](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-quickstart-next-js) - [examples/docs/actors-quickstart-react](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-quickstart-react) - [examples/docs/actors-request-handler](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-request-handler) - [examples/docs/actors-sqlite](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-sqlite) - [examples/docs/actors-sqlite-drizzle](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-sqlite-drizzle) - [examples/docs/actors-state](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-state) - [examples/docs/actors-testing](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-testing) - [examples/docs/actors-types](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-types) - [examples/docs/actors-versions](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-versions) - [examples/docs/actors-websocket-handler](https://github.com/rivet-dev/rivet/tree/main/examples/docs/actors-websocket-handler) - [examples/docs/clients-javascript](https://github.com/rivet-dev/rivet/tree/main/examples/docs/clients-javascript) - [examples/docs/clients-react](https://github.com/rivet-dev/rivet/tree/main/examples/docs/clients-react) - [examples/docs/cookbook-cron-jobs](https://github.com/rivet-dev/rivet/tree/main/examples/docs/cookbook-cron-jobs) - [examples/docs/general-actor-configuration](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-actor-configuration) - [examples/docs/general-cors](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-cors) - [examples/docs/general-edge](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-edge) - [examples/docs/general-endpoints](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-endpoints) - [examples/docs/general-http-server](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-http-server) - [examples/docs/general-logging](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-logging) - [examples/docs/general-registry-configuration](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-registry-configuration) - [examples/docs/general-runtime-modes](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-runtime-modes) - [examples/docs/general-wasm-vs-native-sdk](https://github.com/rivet-dev/rivet/tree/main/examples/docs/general-wasm-vs-native-sdk) - [examples/workflow-sdk](https://github.com/rivet-dev/rivet/tree/main/examples/workflow-sdk) ## API Reference - [openapi.json](openapi.json)