A Next.js app that turns a plain-language goal into a step-by-step workflow or an instruction file such as CLAUDE.md, for developers who work with AI coding tools.
- Takes a high-level goal and asks an LLM to suggest project type, audience, style, tone and constraints.
- Compiles the refined goal into a workflow you can run one step at a time, with validation and rollback on each step.
- Generates instruction files in several formats, including
CLAUDE.md,AGENTS.md,.cursorrulesand.windsurfrules. - Picks a model for each sub-task from three tiers (quality, efficiency, speed). Providers are OpenRouter, Groq, OpenAI and a local Ollama.
- Scans a project to detect its name and tech stack.
- Scores generated instructions on six dimensions: correctness, specificity, executability, safety, compatibility, brevity.
- Has a multi-agent mode with role matching and a skill registry.
Work in progress. 76 commits. There is no automated test suite. The four test-*.js files in the repo root are ad-hoc scripts, and output/ holds one sample generation. Nobody has measured how well the generated files work in practice. Open roadmap items: export to JSON/YAML, chat-based multi-turn refinement, and benchmarking the model tiers.
Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS, Framer Motion, SQLite (better-sqlite3), Zod, AJV, OpenAI SDK.
Needs Node.js 18 or newer.
git clone https://github.com/thylacinehq/IntentCompiler.git
cd IntentCompiler
npm install
npm run dev # http://localhost:3000Create a .env in the root with the keys for the providers you want:
OPENAI_API_KEY=...
OPENROUTER_API_KEY=...
GROQ_API_KEY=...Copyright (c) 2025 Rishi Praseeth Krishnan. All rights reserved. The source is visible for viewing and reference only. No license is granted to use, copy, modify, distribute or create derivative works without written permission. See LICENSE.
