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 agentlintpip install agentlintgit clone https://github.com/mauhpr/agentlintTools (8)
check_contentCheck content against agentlint rules. Returns JSON list of violations.| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| event | string | |
| file_path * | string | |
| tool_name | string |
check_eventCheck a generic event against agentlint rules. Returns JSON list of violations.| Parameter | Type | Description |
|---|---|---|
| event * | string | |
| file_content | string | |
| tool_input * | object | |
| tool_name * | string |
check_patchPreview a Codex apply_patch payload with the same validator and rules as the hook.| Parameter | Type | Description |
|---|---|---|
| cwd | string | |
| 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.| Parameter | Type | Description |
|---|---|---|
| pack | string |
suppress_ruleSuppress a warning rule for the rest of the session.| Parameter | Type | Description |
|---|---|---|
| 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
README
The repository's README runs to about 835 words, fetched a month ago. The original in the repository is authoritative.
Read full README