
Claude Code, Cursor and Codex already have permissions, hooks and rules files. Here's what the harness controls, what Norma checks, and how the two work together.

Two layers
Engineering leaders running Claude Code, Cursor or Codex keep asking us the same thing: the agent already has permissions, hooks and a rules file, so what does Norma add?
The agent harness controls what the agent is allowed to do. Norma by Quality Clouds checks whether the code it produced meets your organization’s standard, and keeps a record of the result. Norma runs inside the harness, as one of the tools the agent calls through MCP.
What the harness does
The harness is the software wrapped around the model. Claude Code is one. Cursor, Codex and Windsurf each ship their own. It runs the loop: read the context, pick a tool, act, check the result, repeat.
Along the way it handles four things:
The tools: file edits, shell commands, search, subagents.
The context that goes into the window, including CLAUDE.md or other rules files, skills and connected MCP servers.
Permissions, meaning which commands the agent may run, which folders it can write to and whether it can reach the network.
Hooks, the scripts that run before or after a tool call.
All of this is set per session and per developer, and every vendor does it differently. The harness makes the agent useful and keeps its actions inside the limits you set.
What Norma does
Norma holds your organization’s rulesets and checks code against them. The checks are deterministic: the same code gets the same verdict on every run, and every check is written down.
It reaches the code in two ways.
Through the Norma MCP server, the agent calls Livecheck on the file it’s working on, gets the findings back mid-task and fixes them before moving on. When the task is done, it writes what it changed into the audit record with register_applied_actions.
Through the Norma GitHub App, every pull request gets a check, with the findings posted as a review comment. That covers the code that never went through a connected agent: the contractor, the team that hasn’t set up MCP, the agent nobody told you about.
Quality Gates set what’s allowed through. The audit record keeps every check, every finding and which client asked for it. Norma works with Claude Code, Cursor, Windsurf, Codex and any other client that speaks MCP, on GitHub and Bitbucket repositories.
Side by side
Agent harness | Norma | |
Controls | What the agent may do | Whether the code meets your standard |
Scope | One session, one developer | Your organization, across repositories and teams |
Where the rules live | Local config and rules files | Central rulesets |
How it checks | The model’s judgment, plus any scripts you add | Deterministic rules, same verdict every run |
What’s left afterward | A session transcript | Findings, gate results and an audit record |
Which agents | That vendor’s agent | Any agent that speaks MCP |
Can’t I get this from hooks and a rules file?
Some of it, yes. A good CLAUDE.md, a linter in a post-edit hook and a disciplined team will catch a lot. Three things are hard to get that way.
The first is a repeatable result. A rules file gets the model to follow your standard most of the time. For naming conventions that’s fine. A security rule has to hold on every run, and the model that wrote the code grading its own work gives you a second opinion from the same source.
The second is coverage. Hooks and rules files live on each developer’s machine, one tool at a time. The contractor on Cursor and the team that never installed the hook sit outside them. Norma’s rulesets are central, and the GitHub App checks pull requests whoever opened them.
The third is evidence. When security or audit asks what reached production and why, they need to see which check ran, on which code, with what result. Norma’s audit record keeps exactly that, for every check.
How they work together
In practice the harness calls Norma. A typical run with Claude Code looks like this:
A developer asks the agent for a change.
The agent writes the code and calls Livecheck on the file through the Norma MCP server.
Norma returns findings against your rulesets, and the agent fixes them before it moves on.
The agent records what it changed with
register_applied_actions.The pull request opens, and the Norma GitHub App posts its findings as a review comment.
Keep your harness and tune it: tight permissions, a good rules file, the hooks your team finds useful. Then connect Norma, so the agent checks its own work against your policy and leaves a record behind.
Norma has a permanent free tier. Try it on a real repository this week.
Common questions about agent harnesses and Norma
What is an agent harness?
An agent harness is the software wrapped around an AI model that runs the agent loop: it reads the context, picks a tool, acts, checks the result and repeats. Claude Code, Cursor, Codex and Windsurf each ship their own harness. It manages the agent’s tools, the context it loads, its permissions and the hooks that run around each tool call.
What is the difference between an agent harness and Norma?
The harness controls what an AI coding agent is allowed to do in one developer’s session. Norma by Quality Clouds checks whether the code the agent produced meets your organization’s standard, using central rulesets, and keeps an audit record of every check. Norma runs inside the harness as an MCP tool the agent calls.
Does Norma replace Claude Code hooks, permissions or CLAUDE.md?
No. Keep tight permissions, a good rules file and the hooks your team finds useful. Norma adds two things they don’t give you: a deterministic check against rulesets your whole organization shares, and a record of every check and its result.
Why isn’t a rules file like CLAUDE.md enough to enforce coding standards?
A rules file steers the model toward your standard most of the time, which works for conventions like naming. It can’t guarantee the result on a given run, and the model that wrote the code is also the one judging it. A security rule needs a check that returns the same verdict every time, and a rules file only reaches the developers who have it installed.
How do I connect Norma to Claude Code, Cursor or Codex?
Add the Norma MCP server at https://api.qualityclouds.ai/mcp to your client. It signs you in with OAuth in the browser, with no API key to manage. Once connected, the agent can call live_check on the file it is editing and register_applied_actions when the task is done. Setup steps for each client are on the Norma MCP page.
What about code that doesn’t go through a connected agent?
The Norma GitHub App checks every pull request on a connected repository and posts the findings as a review comment, whoever opened it. That covers contractors, teams that haven’t set up MCP, and agents nobody registered. The App comments on pull requests and can’t push or merge code; Quality Gates decide what is allowed through.
Which AI coding tools and repositories does Norma work with?
Norma works with Claude Code, Cursor, Windsurf, Codex and any other client that speaks MCP. It checks code in GitHub and Bitbucket repositories.
Is Norma free?
Norma has a permanent free tier, not a time-limited trial. Current plans and prices are on the Norma pricing page.

Albert Franquesa
Co-Founder & CSO, Quality Clouds
Related articles
Stay ahead of the curve

Why CI becomes the bottleneck when AI agents write the code

Albert Franquesa
7 min read
AI coding agents produce changes faster than a pipeline built for human pace can check them. Here's where each kind of check belongs.

Services Is the New Software: Why the GSI AI Race Demands Unified Governance

K.C
5 min read
Why GSIs need one governance layer for human and AI-generated code to win the enterprise AI race.

Five Levels of Loop Engineering: How the Tech Lead’s Job Changes When AI Writes the Code

Albert Franquesa
7 min read
The five levels of the loop, how the tech lead’s job changes at each one, and what has to be true before you move up.