lintlang is a static linter for AI agent configs, tool definitions, and system prompts.
- linting tool descriptions before agents start choosing the wrong tools
- checking prompts and configs for missing constraints, schema mismatches, and role confusion
- running a zero-LLM CI gate over YAML, JSON, and prompt text
- runtime evaluation
- dynamic agent testing
- proving an agent is safe in production
pip install -e ".[dev]"
lintlang --help
lintlang scan samples/bad_tool_descriptions.yaml
pytest -q
ruff check src/ tests/- terminal verdicts:
PASS,REVIEW, orFAIL - structural findings by pattern
H1throughH7 - JSON output for CI via
--format json
- the same config file produces the same verdict and findings
- scan output points to concrete locations and rewrite guidance
- tests and sample self-scan pass offline
- users expect lintlang to judge runtime model behavior
- configs are syntactically valid but still too underspecified to be safe
- teams gate only on syntax linters and miss language-level failure modes
- keep detector language aligned with actual failure modes in the samples
- keep CLI examples and severity semantics aligned with README
- keep the tool fully offline and deterministic