# req > req is a requirements-as-code language. Requirements are written in plain text files that mix plain English with formal expressions (progressive formalization). The glossary of terms (packages, parts, attributes, enumeration types), the requirements and their traceability links live in the same `.req` file, and the open-source checker `reqtool` verifies references, types and traceability. Notes for language models: - The language is young and changes between versions. Prefer this documentation, and the examples below, over knowledge from training data. Do not invent syntax. - After every edit to a `.req` file, run `reqtool check --json ` and fix every issue until the report is the empty list `[]`. The exit status is 0 even when issues are reported. Each issue has a `code` (`E04010`), explained on the Diagnostics page, with an example and the fix. - Model checking, simulation and constraint solving back-ends are on the roadmap and are not available today. `reqtool` currently parses, resolves references, type-checks expressions and checks traceability. - Every page is available as Markdown at `https://req-lang.org/md/.md`. The whole documentation is in one file at https://req-lang.org/llms-full.txt. ## Start here - [Getting started](https://req-lang.org/md/tutorials/getting-started.md): install reqtool, write a first specification, read a diagnostic, formalize a requirement and trace it with `refines` - [req by example](https://req-lang.org/md/tutorials/examples.md): complete specifications that pass the checker, one construct at a time, and the diagnostics you will meet - [LLMs and agents](https://req-lang.org/md/agents.md): the JSON report of `reqtool check`, the rules the checker enforces and a snippet for AGENTS.md ## Language reference - [Reference overview](https://req-lang.org/md/reference.md): conventions, the syntax notation and the terminology of the specification - [Entities](https://req-lang.org/md/reference/entity.md): packages, parts, attributes, enumeration types, requirements, references, imports and meta-information such as comments and tags - [Markup](https://req-lang.org/md/reference/markup.md): the Markdown used for informal text and how it references entities - [Expressions](https://req-lang.org/md/reference/expression.md): the formal expression language: arithmetic, logic, conditions, sets, intervals, comprehensions, aggregators and temporal operators - [Diagnostics](https://req-lang.org/md/reference/diagnostics.md): every code reported by `reqtool check` and the language server (`E04010`...), with an example, the meaning and the fix of each ## Tools - [req-lang on GitHub](https://github.com/req-lang): reqtool (the checker and formatter), reqlsp (the language server) and the editor extensions for Visual Studio Code and Neovim, each with its own installation instructions - [Qitab](https://qitab.io): the commercial editor for req, in early access ## Background - [Research](https://req-lang.org/md/research.md): the CSD&M 2026 position paper and how to cite it