← All projects
Pragnya logo
Solo Build at Pragnya

Edward

Edward is prompt-to-production execution infrastructure: admission-controlled BullMQ runs, resumable execution over an append-only event log, per-chat Docker sandboxes, and S3 + Cloudflare previews.

Overview

Most AI builders stop at generation. Edward is everything after. A user describes an app in plain language, and the system takes it from prompt to running software: generate code, inspect and edit files, execute it in an isolated environment, publish a live preview, and sync the result back to GitHub without leaving the product.

How It Was Built

The main technical choices behind the product, from system design to the parts that make it work day to day.

  • Designed run admission control: Postgres advisory locks enforce global, per-user, and per-chat limits before a BullMQ worker begins work.
  • Made generation resumable with an append-only event log: typed stream events persist, and reconnecting clients replay missed file, tool, build, and preview state instead of restarting a run.

Impact

  • Turned prompt-to-application into a single workflow: generate, edit, run, preview, and sync back without switching tools.
  • Removed blocking build and preview steps from the chat loop by handling them asynchronously, so the conversation stays responsive.

Highlights

  • Built around execution, not just generation.
  • Combines product design with the backend systems needed to actually run apps.

Tech Stack

Next.jsExpress.jsBullMQDocker SandboxesOpenAI & GeminiAnthropicPostgreSQLRedisGitHub SyncAWS S3 + CloudFrontCloudflare Preview Routing