pisuke
Create APPs with built in AI features
Core trick
Model tool calls create files and run commands inside a Vercel Sandbox, with streamed logs and a live preview pane.
Description
Create APPs with built in AI features
README excerpt
## Pisuke AI App Builder
Next.js app that orchestrates a Vercel Sandbox with AI tools to create code, run commands, and preview apps — styled with a modern dark landing and a workspace UI.
### Getting Started
PowerShell (Windows):
```powershell
pnpm install
pnpm dev
```
Open `http://localhost:3000` for the landing page. Submitting the landing chat redirects to `/workspace` with the initial prompt.
### Features
- Vercel Sandbox integration
- File generation via AI
- Command execution with logs (run/wait)
- Live preview with dark-themed browser pane
- Use case generation tool
- Database schema & RBAC generation tool
- Agent integration planning tool (Mastra/MCP oriented)
- Landing page to workspace prompt handoff
### AI Tools
Existing tools:
- `createSandbox`
- `generateFiles`
- `runCommand`
- `waitCommand`
- `getSandboxURL`
New tools:
- `generateUseCases`: Produces structured use cases { name, description, id } and streams progress to `data-use-cases`.
- `generateDatabaseSchema`: Produces JSON entities, properties, relations, roles, and RBAC; streams progress to `data-database-schema`.
- `generateAgentPlan`: Produces a Mastra/MCP-oriented agent integration plan (summary, agents, tools); streams progress to `data-agent-plan`.
### UI Message Parts
- `data-create-sandbox`
- `data-generating-files`
- `data-run-command`
- `data-wait-command`
- `data-get-sandbox-url`
- `data-use-cases`
- `data-database-schema`
- `data-agent-plan`
### Notes
- Commands are stateless; avo