@prototyperco/machine-mode
v0.5.6
Published
Installable machine mode runtime for Next.js App Router
Maintainers
Readme
@prototyperco/machine-mode
Structured JSON interface for LLM-driven UI setup with Prototyper UI. Provides a machine-readable API for AI assistants to scaffold and configure projects.
Installation
npm install @prototyperco/machine-modeQuick Start
import { MachineMode } from "@prototyperco/machine-mode";
// Server-side: handle structured requests from LLMs
const handler = new MachineMode();Client Component
import { MachineModePanel } from "@prototyperco/machine-mode/client";
export default function Page() {
return <MachineModePanel />;
}Features
- Structured JSON interface for LLM interactions
- Next.js App Router compatible (client + server exports)
- Markdown rendering with syntax highlighting
- Installable runtime for any Next.js project
Documentation
Full documentation at prototyper-ui.com/docs.
License
MIT
