PRD for GrowQr Ai Agent System #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Grow Agent Platform PRD
1. Overview
GrowQR is a multi-agent development and personal growth platform where every user gets a dedicated master agent called a Grow Agent. The Grow Agent owns the user's long-running context, memory, workflows, files, repositories, execution state, and progress.
The platform combines:
2. Product Goals
3. Core Concepts
3.1 User
A user is the primary account holder. Each user has:
3.2 Grow Agent
The Grow Agent is the user's master agent and orchestration layer.
Responsibilities:
The Grow Agent should be implemented as a durable actor, likely with Rivet Kit.
3.3 Sub-Agents
Sub-agents are specialized workers owned by a Grow Agent.
Examples:
Each sub-agent should have:
3.4 Git-Backed State
Every user gets a Git repository that stores:
Gitea should be used as the internal Git server.
Repository model:
3.5 OpenCode Execution
OpenCode is used as the code execution and coding-agent interface.
Expected model:
4. System Architecture
4.1 High-Level Components
4.2 Request Flow
5. Backend Requirements
5.1 Auth
The backend must support:
5.2 Actor Registry API
The backend needs an actor registry that tracks:
Initial endpoints:
POST /actors/provisionGET /actors/meGET /actors/:actorIdPOST /actors/:actorId/startPOST /actors/:actorId/stopPOST /actors/:actorId/messageGET /actors/:actorId/events5.3 OpenCode Server Management API
The backend needs APIs to manage OpenCode resources:
Initial endpoints:
POST /opencode/provisionGET /opencode/workspaces/:workspaceIdPOST /opencode/workspaces/:workspaceId/startPOST /opencode/workspaces/:workspaceId/stopPOST /opencode/workspaces/:workspaceId/sessionsPOST /opencode/sessions/:sessionId/messagesGET /opencode/sessions/:sessionId/events5.4 Gitea Management API
The backend needs APIs for:
Initial endpoints:
POST /git/users/:userId/repoGET /git/repos/:repoIdPOST /git/repos/:repoId/commitPOST /git/repos/:repoId/branchPOST /git/repos/:repoId/pull-request5.5 Payments
Payment controls whether the user's Grow Agent can be provisioned or run.
Requirements:
Open decision:
6. Actor Requirements
6.1 Grow Agent Actor
State:
Actions:
6.2 Sub-Agent Actor
State:
Actions:
7. Frontend Requirements
The frontend is next, but the backend should be shaped around this UI.
Primary screens:
UI behavior:
8. Security and Isolation
Hard requirements:
9. MVP Scope
MVP Backend
MVP Frontend
MVP Actors