# What is an AI audit agent for smart contracts?

URL: https://shield.quillaudits.com/learn/ai-audit-agent/

An AI audit agent is software that reviews smart contract code the way a security researcher would. It reads the codebase, forms ideas about how the code could break, checks them with tools such as the compiler and a test runner, and reports the findings that hold up. It goes further than a scanner, which matches known patterns, and it does not replace a manual audit, where people judge the design and intent.

Last updated 3 December 2026. 8 minute read. By the QuillAudits Team.

## What does an AI audit agent do?

**In accounting, an audit agent is an AI assistant for financial audits. This page is about smart contract security. Nethermind AuditAgent, written as one word, is the name of a product from Nethermind, and this page uses "AI audit agent" for the general idea.**

A January 2026 paper on agentic auditing describes language model agents as "goal-directed systems capable of autonomous multi-step task execution", a step beyond plain text generation ([arXiv 2601.17833](https://arxiv.org/html/2601.17833v1)). Agents differ in which steps they run, but a typical smart contract audit by an agent looks like this:

1. **Read the scope.** The contracts in scope, their tests, and any context you attach, such as the whitepaper, the trust assumptions and earlier audit reports.
2. **Map the system.** Which contracts call which, who holds each role, where value moves, and which rules must always hold. QuillShield keeps this map as a [security graph](https://shield.quillaudits.com/learn/glossary/security-graph/).
3. **Form hypotheses.** For example: this withdrawal can be re-entered, this role can reach the upgrade function, this share price can be pushed to zero.
4. **Test them.** Compile the code, run the tests and, where the agent supports it, write a [proof of concept](https://shield.quillaudits.com/learn/glossary/proof-of-concept-exploit/): a test that carries out the attack against your code.
5. **Argue against each finding.** A second pass tries to disprove every finding, so fewer wrong ones reach you.
6. **Report.** Each finding that holds up comes with its location, its impact and a fix.

The framework in that paper splits the work in a similar way. It plans which functions to examine, looks up matching audit knowledge, audits them, and then passes each finding to a separate step that checks whether the attack is feasible before it is reported ([arXiv 2601.17833](https://arxiv.org/html/2601.17833v1)).

## How is an AI audit agent different from a scanner or a human auditor?

The three look for bugs in different ways, so each one misses different things.

| Question | Scanner (static analysis) | AI audit agent | Human auditor |
| --- | --- | --- | --- |
| How does it look for bugs? | Matches the code against known patterns and rules | Reasons about what the code is meant to do, then checks its ideas with tools | Builds a mental model of the protocol and attacks it |
| What comes with a finding? | A rule name and a location | Lines, impact and a fix, and on some agents a proof of concept | A written analysis and a recommendation |
| What does it miss? | Logic and economic bugs that match no pattern | Some bugs, and whether the design is sound. Some of its findings are wrong | Code merged after the commit it reviewed |
| When does it run? | On every commit | On the whole codebase, then on each pull request | On a fixed commit, before launch or a major upgrade |
| What does it need from you? | The code | The code, plus your docs and trust assumptions if you want the code checked against them | The code, the docs, a frozen commit and someone to answer questions |

Keep running a scanner, because [Slither](https://shield.quillaudits.com/compare/quillshield-vs-slither/) and tools like it are fast enough to run on every commit. An agent adds reasoning across contracts that a pattern cannot express, and a manual audit adds judgment on the design. [What is AI-powered code review](https://shield.quillaudits.com/learn/ai-smart-contract-code-review/) explains where AI review sits between the two, and [AI audit vs manual audit](https://shield.quillaudits.com/blog/ai-audit-vs-manual-audit/) sets an AI audit beside a manual one.

## Does an AI audit agent replace a manual audit?

No, an AI audit agent does not replace a manual audit. It reviews more code, more often, than any team can book auditors for, but it misses some bugs, reports some wrong ones and does not decide whether the mechanism is sound. QuillShield does not replace a manual audit either. It reviews every change between audits, and you can [request a manual audit from QuillAudits](https://www.quillaudits.com/smart-contract-audit).

Agent makers say the same about their own products. The [Nethermind AuditAgent docs](https://docs.auditagent.nethermind.io/what-is-auditagent) call it "a pair auditor, not a replacement" and say Nethermind does not claim it can stand in for a skilled human reviewer (checked 2026-12-03). In a [study of 29 of its own audits](https://www.nethermind.io/blog/how-nethermind-security-uses-auditagent-alongside-manual-audits), published on 1 October 2025, Nethermind ran AuditAgent after the manual review, and it found valid issues in 62% of the projects and, on average, 30% of the issues the auditors had found. Nethermind concluded it is "most effective as a pair auditor rather than a standalone solution".

[Can AI audit smart contracts](https://shield.quillaudits.com/blog/can-ai-audit-smart-contracts/) has the wider evidence on what AI finds and misses.

## Which AI audit agents can Solidity teams use?

Solidity teams can run an agent in three ways. Each product below is described from the pages of its maker, and we make QuillShield, so read the first entry with that in mind.

**Models and workflows.** Since November 2026, QuillShield supports Claude Mythos 5.2. Workflow Studio, four official workflows, the Workflow Marketplace and running an audit on your own AI key or plan are coming soon.

QuillShield runs a full audit of a Solidity codebase in a Foundry project. It builds a security graph of the code and lists the invariants the code must keep. A separate reviewer agent tries to disprove every finding before you see it, and each finding that holds up comes with the exact lines, the impact, a recommended fix and, on full audits, a proof of concept. It then checks every pull request on GitHub or GitLab.com against that graph.

**Nethermind AuditAgent.** Nethermind describes [AuditAgent](https://auditagent.nethermind.io/) as "AI pre-audit scans" for Solidity on EVM chains, Cairo on Starknet and Rust on Solana (checked 2026-12-03). Its [how it works page](https://docs.auditagent.nethermind.io/how-it-works) says a scan reads the repository, branch and files you pick, plus documentation you add, then runs specialised agents, an adversarial pass and live research into known exploits. The [same page](https://docs.auditagent.nethermind.io/how-it-works) lists what comes back: findings, a code summary and architecture diagram, generated invariants and a security score from 0 to 100. AuditAgent can keep project memory between scans, which you review before it is saved, and its [home page](https://auditagent.nethermind.io/) says it runs from MCP clients such as Claude Code and Cursor. It covers Cairo and Rust, which QuillShield does not support today. [QuillShield vs Nethermind AuditAgent](https://shield.quillaudits.com/compare/quillshield-vs-nethermind-auditagent/) compares the two on price, languages and pull requests.

**Agents inside a combined review.** In August 2026 QuillShield joined Sherlock Audit Engine, which runs frontier models, purpose-built AI auditors and security researchers against the same code in one review. QuillShield is available inside it as one of those AI auditors. The type of engagement decides which systems take part in a given review ([Sherlock Audit Engine](https://sherlock.xyz/solutions/audit-engine), checked 2026-12-03).

More tools sit on the same rows in [AI smart contract auditors compared](https://shield.quillaudits.com/compare/ai-smart-contract-auditors/).

## What should you ask before you trust an AI audit agent?

An agent does more than read. It runs code, it may need access to your repository, and it may be able to spend from your account. Ask about each of those, on top of the evidence questions in [how to evaluate an AI smart contract auditor](https://shield.quillaudits.com/blog/evaluate-ai-smart-contract-auditor/).

- What does it run, and where? Does it compile your code, run your tests or run exploit code, and on whose machines?
- What access does it need? Read access to code is one thing. Write access to your repository or settings is another.
- Can it spend money or start work without a person? Look for a confirm step and a limit on what it can spend.
- What does it read besides the code? It can only check the code against your whitepaper, roles and trust assumptions if it can read them.
- Does a second pass try to disprove each finding before you see it?
- Does a finding come with a test you can run yourself, and does the report say when that test failed?
- What does it remember between runs, and can you see and change that memory?
- Which languages and project types does it support, in writing?
- What happens to your code and findings afterwards, and is any of it used for training?
- Who do you call when a finding matters and you need a person?

The published QuillShield facts answer several of these. The GitHub App reads your code and writes only checks, statuses and pull request comments. An AI agent using the QuillShield MCP server spends only from the organization wallet, and only after an explicit confirm step. An agent can't create its own API key: an owner or admin of the organization creates it. Before an audit you can add context such as the whitepaper, trust assumptions, privileged roles and previous audit reports.

You can also ask a QuillAudits auditor to verify specific findings. What happens to your code and findings afterwards is on the [security page](https://shield.quillaudits.com/security/).

## How do you try an AI audit agent on your own code?

Run it on a repository that has already had a manual audit, then compare what comes back with the report you have. Differences in both directions tell you how the agent works on code like yours.

QuillShield takes a GitHub or GitLab.com repository, a git URL, a Foundry .zip of up to 50 MiB, a folder or a single .sol file. A zip upload gets a full audit and no pull request checks. Sign-up is free, you see the exact price before anything is charged, and full audits start at $49 as the [pricing page](https://shield.quillaudits.com/pricing/) shows as of November 2026. New accounts get $50 in credit, good for up to half of an order. [Run a full audit](https://shield.quillaudits.com/register) to see the price for your own code.

To run it from Cursor or Claude, the MCP server is the npm package `@quillaudits/mcp`, which starts with `npx -y @quillaudits/mcp` and needs Node.js 18 or later. The [MCP integration page](https://shield.quillaudits.com/integrations/mcp/) has the setup, and [first audit from Cursor or Claude](https://shield.quillaudits.com/guides/first-audit-from-cursor-or-claude/) has one prompt that quotes a first review and waits for your confirm. If you want people on the code as well, [talk to an auditor](https://calendly.com/akshadh-a-quillaudits/30min).

## FAQ

### Is an AI audit agent the same as Nethermind AuditAgent?

No, AuditAgent (written as one word) is the name of a product from Nethermind, while "AI audit agent" is the general term for software that audits code with AI agents.

### Can an AI audit agent replace a manual audit?

No, because it misses some bugs and does not judge the design, even though it finds many known bug types and can review every change. QuillShield does not replace a manual audit, and the Nethermind docs say the same about AuditAgent.

### Do AI audit agents report wrong findings?

Yes, some of their findings turn out to be wrong. During the private beta, 90% of the QuillShield findings that QuillAudits auditors reviewed on client Solidity code were valid, reported in November 2026 with no published count, so plan time to triage.

### Can I run an AI audit agent from Cursor or Claude Code?

Yes, through an MCP server. The QuillShield MCP server is the npm package `@quillaudits/mcp`, and an owner or admin of your organization creates the API key the agent uses. The agent spends from the organization wallet only after an explicit confirm step.

### Which languages can an AI audit agent check?

It depends on the agent. QuillShield supports Solidity in Foundry projects today. Nethermind lists Solidity, Cairo and Rust for [AuditAgent](https://auditagent.nethermind.io/) (checked 2026-12-03).

## Sources

- [An effective and cost-efficient agentic framework for Ethereum smart contract auditing (arXiv 2601.17833), arXiv](https://arxiv.org/html/2601.17833v1) · checked 3 December 2026
- [AuditAgent, Nethermind](https://auditagent.nethermind.io/) · checked 3 December 2026
- [What is AuditAgent?, Nethermind](https://docs.auditagent.nethermind.io/what-is-auditagent) · checked 3 December 2026
- [How it works, AuditAgent docs, Nethermind](https://docs.auditagent.nethermind.io/how-it-works) · checked 3 December 2026
- [How Nethermind Security uses AuditAgent alongside manual audits, Nethermind](https://www.nethermind.io/blog/how-nethermind-security-uses-auditagent-alongside-manual-audits) · checked 3 December 2026
- [Sherlock Audit Engine, Sherlock](https://sherlock.xyz/solutions/audit-engine) · checked 3 December 2026
- [Manual smart contract audits, QuillAudits](https://www.quillaudits.com/smart-contract-audit) · checked 3 December 2026
