A workbench for packaging AI agent skills before they ship to production. A skill here is a prompt plus guardrails, the same unit a "skills management layer" would version and deploy to enterprise customers. Blueprint Bench takes a skill through four steps: define it, audit it for clarity and safety, test it against real inputs, then package it into a versioned JSON manifest.
Live Demo → blueprint-bench.vercel.app
Built with Next.js 14, TypeScript, Tailwind and the Gemini API.
This is a working prototype of the product problem behind an "Agent Blueprints" role: enterprises don't just need AI agents, they need a repeatable way to define, review and ship AI skills the way they'd ship any other software component. See docs/design-decisions.md for the reasoning behind specific choices.
npm install
cp .env.local.example .env.local
# add your Gemini API key to .env.local
npm run devOpen http://localhost:3000.
Get a Gemini API key from Google AI Studio.
- Push this repo to GitHub.
- Import it in Vercel.
- Add
GEMINI_API_KEYunder Project Settings → Environment Variables. - Deploy.
- Define: name, category, description, prompt, guardrails. Stored per-blueprint in the browser (
lib/storage.ts), no database in this version. - Audit:
app/api/evaluate/route.tssends the prompt and guardrails to Gemini and asks for a 0-100 score across clarity, safety, scope and completeness, plus a short list of concrete risks. - Test: each test case runs in two calls. First Gemini plays the agent under the defined prompt and guardrails and produces a real response. Second, a separate judge call grades that response against the expected behaviour. This checks what the skill actually does, not just whether the prompt reads well.
- Package: bumps the version, sets status to
testedorproduction-readybased on the audit score and test pass rate, and downloads a JSON manifest with the full blueprint definition.
- No database or auth. State lives in the browser via
localStorage, so it resets per device. A real skills registry would need a backend and multi-user access control, closer to what's sketched inai-governance-console. - No batch testing or CI integration. Test cases run one at a time, on demand.
- The maturity score is a single model's judgement, not a calibrated rubric. Worth cross-checking against a second model or a human reviewer before treating it as a gate.
ai-governance-console: feature registry, policy engine, approval queue and audit trail for AI features at a portfolio level.