Drivers in ActorCore the infrastructure layer between your actor code and the underlying systems.

You rarely need to manually configure drivers. The platform package you’re using will configure the appropriate drivers for you. See the documentation for your platform for details.

Accessing Driver Context

Drivers expose a custom driver context for functionality specific to the given driver. This can be accessed as a parameter to createVars then later accessed with c.vars. Read more about the createVars lifecycle hook.

Available Drivers

Choose a driver based on your deployment needs - Memory for development, Rivet or Cloudflare Workers for production environments, and Redis for specialized self-hosted scenarios.