Show HN: Built a lovable clone to see what makes agentic apps tick
10 months ago
- #AI
- #Web Development
- #Real-time
- Real-time AI-powered web application builder inspired by lovable.dev.
- Project demonstrates building a simple agent using sandboxed environments, MCP servers, and BAML.
- Hosted on beam.cloud.
- Four main components: Model Client, Sandbox Environment, MCP Server, WS-Based Agent.
- Steps to set up: clone repository, install dependencies, set up secrets.
- MCP server manages sandboxed environments with tools like create_app_environment, load_code, edit_code.
- Agent handles real-time communication with client/frontend.
- Frontend setup involves starting the dev server and configuring environment variables.
- Prompts are defined in baml_src/build.baml and can be edited for customization.
- Sandbox environment uses Node.js 20, React + Vite + shadcn/ui template, and additional packages.