Agint: A Rust CLI tool that detects contradictions in AI agent instruction files

✍️ OpenClawRadar📅 Published: April 17, 2026🔗 Source
Agint: A Rust CLI tool that detects contradictions in AI agent instruction files
Ad

What Agint does

Agint addresses a specific problem developers encounter when managing multiple AI agent instruction files: silent contradictions between different configuration documents. The tool was created after the author experienced inconsistent behavior from "coding minions" due to conflicting instructions across files.

How it works

The tool scans all your instruction files including:

  • CLAUDE.md
  • AGENTS.md
  • .cursorrules
  • Other documentation files

It identifies three types of issues:

  • Contradictions between files
  • References to files that no longer exist
  • Files that have drifted out of sync

The system uses a two-layer approach:

  • Static analysis handles structural problems
  • Optional Claude API calls (or other LLMs) catch semantic contradictions that regex patterns would miss

The author noted that Claude worked particularly well for this project in two areas: prompt-engineering for the specific use case and serving as the analysis layer.

Ad

Installation and usage

Install via Cargo:

cargo install agint

Basic commands:

agint config
agint check

The tool is available on GitHub at https://github.com/itsdandanlai/agint.

Context

This type of tool becomes increasingly valuable as developers use more AI coding agents across multiple projects. Instruction files like CLAUDE.md and AGENTS.md typically contain project-specific guidelines, coding standards, and behavioral constraints for AI assistants. When these files contradict each other, it can lead to unpredictable agent behavior and debugging challenges.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also