Groundwork is a deployment-readiness check framework for AI deployment patterns, positioned as the 'Terraform module for trustworthy AI deployments'. It helps teams fill in privacy preprocessing, evaluations based on real failure cases, and CI gates that prevent fabricated content from going live on top of a prototype, without needing dedicated machine learning engineers.
Main capabilities include: deterministic checks (the same input always produces the same result; the checks themselves do not require an LLM judge or API key), answer grounding checks, privacy redaction, cost tracking, and turning fabricated numbers, guessed fields, or failed abstentions into build failures through CI gates. For structured extraction, nullability is the abstention contract: fields that the document may not declare are set as nullable, and the system should return null rather than guess; a guessed value appearing in an empty golden field will error with the field name.
Usage: via groundwork init <archetype> to generate a complete check framework for a specific deployment mode; provides CLI and MCP server (groundwork-mcp, stdio), allowing checks to be run conversationally in Claude Code, Cowork, or Claude Desktop, including check_readiness、check_answer_grounding、check_extraction、scaffold_harness、cost_summary and other tools. It also provides an Agent Skill (skills/groundwork-readiness/) that teaches agents to report results honestly, including refusing to present green checks as a security certification.
Applicable scenarios: pre-deployment checks and continuous integration for AI document Q&A systems and structured extraction systems. Limitations: Groundwork is a 'strong floor' rather than a guarantee; deterministic checks cannot certify that an AI system is safe; for high-risk outputs involving health, money, legal status, or safety, human review is required. Currently it only provides two modes, document Q&A and structured extraction (three planned), and uses a depth-first strategy. The project is built on OpenGATE (evaluation) and Redacta (privacy), both open source;init content generated into the repository is licensed under MIT-0.