Review the activity
Name the participant, objective, decision, outcome, vocabulary, and disclosure boundary before screen structure.
Activity-first judgment for AI agents
JudgmentKit stops implementation mechanics from becoming UX. Use it before accepting AI-generated product work, so the next interface starts from the activity, decision, evidence, and handoff instead of from schemas, prompts, or tool traces.
A support operations manager is reviewing refund escalation cases. The request says to build from the refund_case data model, database fields, JSON schema, prompt template, tool call results, resource id, API endpoint status, and CRUD. The activity is deciding whether an escalation should be approved, sent to policy review, or returned for missing evidence. The outcome is a clear handoff with the next action and reason.
Identify the support lead, refund review activity, bounded decision, evidence boundary, and diagnostic terms that should stay out of the primary surface.
Generate a workflow brief for reviewing evidence, choosing an outcome, and leaving a receipt for the next owner.
Name the participant, objective, decision, outcome, vocabulary, and disclosure boundary before screen structure.
Review a proposed UI workflow for grounding, action support, completion clarity, and leakage before implementation.
Pass only a ready handoff to the next generation step, with diagnostics kept separate from the product surface.
JudgmentKit sits before generation and stays in the loop across iterations. It is the judgment layer around LLM UI generation, not the final renderer.
MCP boundary: agents call JudgmentKit tools through MCP; MCP is access and transport, not the LLM.
JudgmentKit kernel: deterministic review, candidate review, disclosure rules, targeted questions, and the handoff gate decide whether UI generation is ready.
LLM / provider seam: a model may propose activity or workflow candidates, but JudgmentKit reviews those candidates before trusting them.
Surface type: recommend_surface_types classifies activity purpose before workflow or frontend implementation guidance.
UI generation: the LLM or agent generates the interface outside JudgmentKit from the reviewed handoff.
Implementation contract: create_ui_implementation_contract supplies approved primitives, required states, static checks, and browser QA expectations before final handoff. review_ui_implementation_candidate checks generated UI against that contract.
Frontend adapter: create_frontend_generation_context combines a ready handoff, selected surface type, project frontend context, and verification expectations. create_frontend_implementation_skill_context turns that ready context into portable implementation instructions without exposing raw skill files. Design-system compliance is not a substitute for activity fit.
Iteration: draft review produces updated context that re-enters source/activity review rather than becoming only a longer prompt.
Blocked path: if activity, workflow, or handoff is not ready, resolve targeted questions or leakage details before generating UI.
The installer configures a hosted Streamable HTTP MCP server named judgmentkit and verifies the current tool catalog before finishing.
curl -fsSL https://judgmentkit.ai/install | bash
curl -fsSL https://judgmentkit.ai/install | bash -s -- --client claude
curl -fsSL https://judgmentkit.ai/install | bash -s -- --client cursor
Codex is the default when no client is provided. Hosted installs do not clone the repo or require npm.