1. Conduid
  2. Blockchain
  3. Agentlint
MCP server · Blockchain

Agentlint

Local guardrails for AI coding agents. Check proposed file changes and shell commands, block risky patterns, and return actionable feedback. Works with Claude Code, Codex, Cursor, Gemini CLI, and more

76Good

Scored 20 hours ago · breakdown

About Agentlint

Agentlint is an MCP server published by mauhpr in the Blockchain category: local guardrails for AI coding agents. Check proposed file changes and shell commands, block risky patterns, and return actionable feedback. Works with Claude Code, Codex, Cursor, Gemini CLI, and more. Conduid read 8 tools from its source: check_content, check_event, check_patch, get_activity, get_config, get_session and 2 more. It is published to PyPI as agentlint and runs with uvx.

The repository has 225 stars and 15 forks, is licensed MIT, and its last commit was on 7 Nov 2026. The latest release is v2.9.1 (8 Oct 2026): OpenAI Agents SDK: new OpenAIAgentsAdapter.tool_input_guardrail() returns a real SDK tool input guardrail (verified with openai-agents 0.23). It follows v2.9.0 (8 Oct 2026), and the 5 most recent releases go back to v2.7.0 (3 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agentlinter, ai-safety, cli, code-quality, devtools and gemini-cl.

Install

uvx
uvx agentlint
pip
pip install agentlint
From source
git clone https://github.com/mauhpr/agentlint

Tools (8)

check_contentCheck content against agentlint rules. Returns JSON list of violations.
ParameterTypeDescription
content *string
eventstring
file_path *string
tool_namestring
check_eventCheck a generic event against agentlint rules. Returns JSON list of violations.
ParameterTypeDescription
event *string
file_contentstring
tool_input *object
tool_name *string
check_patchPreview a Codex apply_patch payload with the same validator and rules as the hook.
ParameterTypeDescription
cwdstring
patch *string
get_activityRead minimized host activity across adapters in this workspace.
get_configGet the current agentlint configuration. Returns JSON.
get_sessionGet the current agentlint session state. Returns JSON.
list_rulesList all available agentlint rules, optionally filtered by pack. Returns JSON.
ParameterTypeDescription
packstring
suppress_ruleSuppress a warning rule for the rest of the session.
ParameterTypeDescription
rule_id *string

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 835 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • !No dynamic code executionScanned 149 source files and found 1 call to eval or shell execution, in src/agentlint/packs/universal/cli_integration.py:144. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdiosrc/agentlint/mcp_server.py:187
Starts other programs
13 callssrc/agentlint/agentchute/queue.py:134, src/agentlint/cli.py:1613, src/agentlint/cli.py:1663
Outbound network calls
8 callssrc/agentlint/agentchute/client.py:88, src/agentlint/agentchute/client.py:138, src/agentlint/agentchute/feeds.py:188
Writes or deletes files
39 callssrc/agentlint/adapters/_utils.py:87, src/agentlint/adapters/claude.py:332, src/agentlint/adapters/codex.py:289
Lockfile
uv.lock

Pattern matches on the source text of 149 files: places to read, not proof of what the code does at run time.

Releases

v2.9.1AgentLint v2.9.1 · 8 Oct 2026Fixed OpenAI Agents SDK: new `OpenAIAgentsAdapter.tool_input_guardrail()` returns a real SDK tool input guardrail (verified with openai-agents 0.23). The snippet printed by `agentlint setup openai` and the module docs now use it; they…
v2.9.0AgentLint v2.9.0 · 8 Oct 2026Follows 2.8.0: makes command checks precise and records human decisions and verification evidence. See Approvals and evidence. Added Parsed shell operations: commands are split on `&&`, `||`, `;`, `|`, `&` and newlines and classified as…
v2.8.0AgentLint v2.8.0 · 8 Oct 2026Field feedback from Codex workspaces found the rules correct but the reporting hard to trust. This release makes coverage, degraded operation and denials explicit. See `docs/rfcs/0001-trust-diagnostics-precision.md`. Added `agentlint…
v2.7.1AgentLint v2.7.1 · 6 Oct 2026AgentLint 2.7.1 fixes `no-bash-file-write` false positives for simple literal Python `-c` commands that construct pathlib paths or read files. The rule inspects syntax without executing submitted Python. Visible writes, unknown open modes,…
v2.7.0AgentLint v2.7.0 · 3 Oct 2026AgentLint 2.7.0 fixes Codex post-tool ERROR feedback by returning structured block JSON on exit 0 and validating the hook response before emission. Recognizes narrow literal `env` wrappers around cloud inspection and quoted display…

README

The repository's README runs to about 835 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Agentlint

How do I install Agentlint?

Run uvx agentlint, then add the server to your MCP client's configuration.

Is Agentlint safe to use with an AI agent?

Its trust score is 76 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 149 source files found that it serves MCP over stdio, starts other programs (13 calls), makes outbound network calls (8 calls) and writes or deletes files (39 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Agentlint still maintained?

Yes — the latest release is v2.9.1 (8 Oct 2026), and the last commit was 25 days ago. The repository has 225 stars and 5 open issues.

What tools does Agentlint provide?

Conduid read 8 tools from the source: check_content, check_event, check_patch, get_activity, get_config, get_session, list_rules and suppress_rule. 5 of them publish their parameters, listed under Tools above.

What license is Agentlint released under?

The repository declares the MIT license. That applies to the latest release, v2.9.1, as well.