How yverhaegen604-lgtm/reverse-engineering-toolbox works
Rea Agents Studio is a web workspace for designing and running multi-agent AI workflows, with separate code-generation and web-preview capabilities. The documented user journey is to choose workflow templates or chain agents, submit a task, then inspect execution telemetry and synthesized output. The agent API implements sequential workflow execution and direct single-agent runs through Gemini; the code API separately generates or refactors code. The graph also preserves project, authentication, publishing, and dashboard features visible in the tree. Frontend-to-API wiring is not shown in the sampled source, so those links are omitted.
Main entry points: WorkflowStudio.tsx Workflow Studio · route.ts Agent Run API · AuthModal.tsx Authentication · firebase.ts Firebase Auth
Components 18
Workspace UI
- Workflow Studio
components/WorkflowStudio.tsx - Workflow Canvas
components/WorkflowCanvas.tsx - Dashboard
components/Dashboard.tsx - Navigation
components/Navbar.tsx - Quick Start
components/QuickStartToast.tsx
Agent Workflows
- Agent Library
components/AgentLibrary.tsx - Agent Definitions
lib/agents-data.ts - Agent Playground
components/AgentPlayground.tsx - Agent Run API
app/api/agents/run/route.ts
Code Tools
- Code Editor
components/CodeEditor.tsx - Code Generation API
app/api/code/generate/route.ts - Web Previewer
components/WebPreviewer.tsx
Identity And Projects
- Authentication
components/AuthModal.tsx - Firebase Auth
lib/firebase.ts - Project Manager
components/ProjectManager.tsx - GitHub Publishing
components/GitHubPublishModal.tsx
Other components
- Developer
- Gemini AI
Connections 5
- Developer → Workflow Studio: designs workflows
README.md - Workflow Studio → Developer: presents telemetry
README.md - Developer → Agent Run API: submits task
app/api/agents/run/route.ts - Agent Run API → Gemini AI: requests generation
app/api/agents/run/route.ts - Authentication → Firebase Auth: authenticates with
components/AuthModal.tsx