Formspec's Assist specification defines a standard protocol for AI agents, browser extensions, and accessibility tools to help people understand, complete, and reuse data across complex forms — without requiring an LLM.
Formspec's References and Ontology specs create a dual context layer — meaning plus evidence — that lets AI agents auto-fill, explain, and support form completion with grounded, domain-accurate answers instead of plausible-sounding hallucinations.
A federal grant application needs English, Spanish, and French — and a typo fix in the French translation must never re-trigger validation or require a new form version. Formspec's Locale Document separates translation from form logic entirely.
We decomposed XForms, SHACL, FHIR, JSON Forms, SurveyJS, and ODK into 517 testable features before writing Formspec. Here's what each system gets right, where each falls short, and what the gaps tell you about the state of form infrastructure.
Formspec had two implementations of the same logic — TypeScript for the browser, Python for the server. We rewrote the shared core in Rust and compile it to both. Here's what we built, why we didn't do a full rewrite, and what happens next.
We built a Claude Code skill that spawns five AI personas — from a nervous admin assistant to an API-first developer — to stress-test our form-building MCP server. Here's the pipeline and what we found.
Formspec was built as a chain of formal models — research into specs, specs into schemas, schemas into implementations. Here's how we did it in three weeks, and what we learned about AI-driven specification work.
Most AI code generation is freeform text you review line by line. Formspec's approach is different — structured MCP tool calls, JSON Schema validation, and static linting mean AI-generated forms are verified automatically.
We evaluated CEL, JSONLogic, JSONata, Power Fx, and JEXL before building FEL. Here's every alternative side by side — same expressions, six languages — and the Rust-based future that makes owning a language sustainable.
Forms have been solved a hundred times — unless your data actually matters. A look at the gap between form builders and form infrastructure, and how six prior-art standards shaped Formspec.