Skip to main content Switch to mobile version limatus 0.31.0 A diagnose-and-steer quality loop for AI-generated content.
pip install limatus==0.31.0 Copy PIP instructions
Limatus is a configurable editorial compliance engine. A publication sends its own editorial policies with each request; Limatus marks every place a draft breaks them, says how sure it is, and offers rewrites when an editor asks.
Anthus AI Solutions introduces Limatus, an open-source engine that checks writing against a publication's own editorial policies — and only rewrites when an editor asks
Every publication has rules: words it avoids, claims it will not make without a source, a voice it keeps. Most are enforced by an editor's memory. Limatus makes them executable. A CMS sends a draft and a policy pack — the publication's policies, each written in plain words and backed by detectors — and Limatus returns the draft annotated with every finding, down to the exact words.
Two kinds of detector do the finding. Rules catch what a pattern can: banned phrases, house style, the tells of AI-generated prose. A decision model, TypeSafe Jev, judges what a pattern cannot — "does this sentence make a claim without saying who or how much?" — sentence by sentence, with a probability attached. Rewrites come from a generative model only when an editor asks for them, for a flagged passage or any passage they select, and they never add facts.
"We wanted editorial policy to be something you can read, test and change, not something one editor carries in their head," said the Limatus team at Anthus AI Solutions. Limatus runs inside Papyrus, Anthus's newsroom system, and is available as an MIT-licensed Python package.
Is Limatus an AI-content detector? No. It checks text against policies you define, whoever wrote it. The starter pack of AI-writing tells is a set of editable policies like any other.
Does it rewrite my content? Only when asked, and never by itself: suggest returns options for a finding or a selection, and a person chooses.
Where do policies live? In the caller. Limatus is stateless; the CMS stores policies, settings and editors' decisions and sends a pack with every request.
pip install limatus # rules lane, contracts, suggest pip install "limatus[jev]" # adds the TypeSafe Jev classifier lane Set TYPESAFE_API_KEY for the classifier lane and OPENAI_API_KEY for rewrite suggestions and drafted questions (gpt-6-luna by default).
limatus pack builtin ai-writing-tells > pack.json # a starter pack to edit limatus pack import --profile style-profile.yml > pack.json # or convert a legacy style profile limatus check --draft draft.md --pack pack.json # findings, segments, lanes (check-result-v1) limatus suggest --request suggest-request.json # rewrite options for a finding or selection limatus draft-questions --request draft-request.json # classifier detectors for a prose policy limatus calibrate --labels labels.json # calibration from editors' decisions limatus schema policy-pack-v1 # print any contract schema from limatus import check, suggest result = check({"schemaVersion": 1, "content": {"format": "markus", "text": text}, "pack": pack}) for finding in result["findings"]: print(finding["severity"], finding["policyId"], finding["excerpt"], finding.get("probability")) Contracts
The payloads are JSON Schemas packaged with Limatus (limatus schema ); callers in any language validate against the same files.
Offsets count UTF-16 code units, as JavaScript string indexes do. Segments are the document, its prose paragraphs (paragraphs, headings, list items) and their sentences; each carries its plain text so a rendered preview can place findings. Front matter, code, Markus directives, block quotes, tables and raw HTML are protected regions and never checked. Paragraph, sentence and finding ids derive from text, so they survive edits elsewhere.
Rules (deterministic): phrase and regex detectors run on prose only; built-in checks cover empty lead-ins, unsupported certainty, missing attribution, passive voice, redundancy, uniform cadence, information density, overused words, uncontracted forms, contrast caps and emoji. limatus pack builtin ai-writing-tells prints 24 starter policies adapted from avoid-ai-writing (MIT; see limatus/packs/NOTICE.md).
Classifier (TypeSafe Jev, zero-shot): one request per segment carries every question that applies to it; sentences are judged with their paragraph as context. Answers are cached by content, so a rescan only asks about changed text. options.classifier sets the model, concurrency, an input-token budget, a deadline (to stay inside an API timeout) and few-shot examples from past decisions. Without a decision model the lane reports unavailable and rules findings are still returned.
Editors' decisions improve the classifier: calibrate fits Platt scaling (from 10 labels) or isotonic regression (from 50) per detector; store it on the detector as calibration and thresholds apply to the calibrated probability.
A separate, read-only scan for rendered HTML pages (contrast, tap targets, focus visibility, alt text, generic AI-page patterns):
limatus usability scan --page page.html --profile usability-profile.yml For agents
limatus skill prints an Agent Skill describing the check → suggest → choose workflow.
Specifications are Gherkin, run with Behave; unit tests use pytest. Neither needs network access or API keys.
behave python -m pytest tests -q License
Author: Anthus AI Solutions
Both files in this release have provenance metadata.
Release files for limatus 0.31.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 164.5 kB
Release files / limatus-0.31.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Release files / limatus-0.31.0-py3-none-any.whl
Security for limatus 0.31.0
Both files in this release have been uploaded with provenance metadata.
With provenance limatus-0.31.0.tar.gz Oct 20, 2026
With provenance limatus-0.31.0-py3-none-any.whl Oct 20, 2026
Attestation for limatus-0.31.0.tar.gz
Attestation for limatus-0.31.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Oct 20, 2026 2 release files Full provenance
Sep 27, 2026 2 release files Full provenance
Sep 12, 2026 2 release files Full provenance
Sep 11, 2026 2 release files Full provenance
Sep 10, 2026 2 release files Full provenance
Sep 9, 2026 2 release files Full provenance
Sep 8, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




