GrowQR
System Architecture
Durable Agent-centric architecture with RivetKit actors, OpenCode runtime & Git-backed memory
Frontend / BFF
Control Plane (Actors)
Runtime / Execution
Memory / Storage
Database
External Services
Frontend
โ
React UI
Conversational interface
Real-time updates
โ
Next.js BFF
Auth & session management
Payments webhooks
Actor management proxy
Vercel / OpenNext
BFF Layer
๐
Clerk Auth
๐ณ
Stripe
โก
Actor Backend โ RivetKit
Actor Runner
Actor Engine
Actor Storage
Durable control plane โ manages lifecycle, routing & state
Sandboxed Runtime
โฃ
Agent Runtime
Sub-agent orchestration
Skills loading
Tool execution
Dockerized isolation
OpenCode / Container
Per-user sandbox
Git Memory
โ
Users Repos
Profile & goals
Quest history
Channel memory
Artifact storage
Git worktrees
Source of truth
๐งต
Threads API
Session tracking
Message logs
๐ง
Memory API
Tracking memory
3-layer memory model
๐
PostgreSQL
/
AWS RDS
Account metadata ยท Recovery pointers ยท Operational indexes