How muhammad-umer34/forge works
FORGE is a web application for turning a plain-language website request into a planned, generated, and previewable website. A user works through the frontend studio; the API starts a persistent agent run that clarifies requirements, assembles a site and data plan, generates files, and supports preview and ongoing site-data management. Authentication and project management are supporting capabilities. The supplied README contains no capability detail, so this map relies on the tree and the shown source index/excerpts; several agent-stage connections are therefore marked unverified rather than asserted as inspected calls.
Main entry points: main.py HTTP application · compiler.py Site generation · planning Site and data planning · graph.py Run orchestrator
Components 25
User experience
- Forge studio
frontend/src/components/clarification/ForgeStudio.tsx - Request composer
frontend/src/components/clarification/RequestComposer.tsx - Plan review
frontend/src/components/clarification/PlanReview.tsx - Project workspace
frontend/src/components/projects/ProjectsScreen.tsx - Frontend API client
frontend/src/services/client.ts
API and accounts
- HTTP application
backend/main.py - Build request API
backend/routes/requests.py - Authentication API
backend/routes/auth.py - Account sessions
backend/services/auth.py
Forge workflow
- Run orchestrator
agents/orchestrator/graph.py - Requirement clarification
agents/clarification - Site and data planning
agents/planning - Component catalogue
agents/catalogue.py - Site generation
agents/frontend_generator/compiler.py - Data backend generation
agents/backend_generator/agent.py - Generated integration
agents/integration - Build worker
agents/build_worker.py
Generated site runtime
- Live preview
agents/preview.py - Generated site template
site_template/app/page.tsx - Site data API
backend/routes/site_data.py - Owner data API
backend/routes/owner_data.py
Persistence
- Generated file store
agents/file_store.py - PostgreSQL persistence
backend/db/session.py - Run state
agents/state.py
Other components
- Site owner
Connections 31
- Site owner → Forge studio: describes site
- Forge studio → Request composer: composes request
- Request composer → Frontend API client: submits request
- Frontend API client → Build request API: calls API
- HTTP application → Build request API: registers route
backend/main.py - Build request API → Run orchestrator: starts run
backend/routes/requests.py - Run orchestrator → Requirement clarification: clarifies brief
- Requirement clarification → Site and data planning: forms plan
- Site and data planning → Component catalogue: uses features
agents/planning/assemble.py - Site and data planning → Site generation: supplies plan
agents/frontend_generator/compiler.py - Site generation → Data backend generation: requests backend
agents/frontend_generator/compiler.py - Site and data planning → Data backend generation: defines data plan
agents/backend_generator/agent.py - Site generation → Generated file store: writes site files
agents/frontend_generator/compiler.py - Site generation → Build worker: builds site
agents/frontend_generator/compiler.py - Data backend generation → Generated file store: writes generated files
agents/backend_generator/agent.py - Generated integration → Site generation: joins outputs
- Build worker → Live preview: prepares preview
agents/preview.py - Live preview → Generated site template: serves site
agents/preview.py - HTTP application → Run orchestrator: compiles graph
backend/main.py - HTTP application → Generated file store: configures store
backend/main.py - HTTP application → Live preview: stops previews
backend/main.py - Run orchestrator → Run state: tracks run
- HTTP application → PostgreSQL persistence: opens sessions
backend/main.py - Authentication API → Account sessions: delegates accounts
backend/routes/auth.py - Account sessions → PostgreSQL persistence: uses session
backend/services/auth.py - HTTP application → Authentication API: registers route
- Forge studio → Plan review: reviews plan
- Site owner → Project workspace: manages projects
- Project workspace → Frontend API client: requests project data
- HTTP application → Site data API: registers route
backend/main.py - HTTP application → Owner data API: registers route
backend/main.py