What is a CE Score? A complete guide for AI agents
TL;DR
A CE Score measures whether an AI agent prompt declares the ten components a production agent needs (role, tool boundaries, approval gates, safety, and more) and maps the result to an AgentAz trust level from ADV to A5. It exists to surface missing safeguards before an agent ships — the gaps that are invisible in a demo but dangerous in production.
If you are building AI agents in 2026, you have probably seen the term CE Score and wondered what it actually measures. This guide explains what a CE Score is, how it is calculated, what the trust levels mean, and why a structured grade for an AI agent prompt matters far more now than it did a year ago.
What is a CE Score?
A CE Score is a grade for an AI agent prompt. It measures whether a prompt declares the things a production agent actually needs to operate safely — not whether the wording sounds polished, but whether the underlying structure is present. The result maps to an AgentAz trust level, ranging from ADV (advisory only) up to A5 (fully governed).
The "CE" stands for context engineering: the discipline of designing everything a model sees on each call — its role, tools, memory, constraints, and safety rules — rather than merely tuning the phrasing of a single instruction. Where prompt engineering asks "how do I word this request," context engineering asks "have I given this agent everything it needs to act correctly and safely." A CE Score is a measurement of how well a prompt answers that second question.
Why does an agent prompt need a score at all?
A prompt that behaves perfectly in a chat window can behave very differently once an agent can act — call tools, write files, spend a budget, or take irreversible steps. In an ordinary chatbot exchange, the worst outcome is a wrong answer. In an agentic system, the worst outcome is a wrong action: a deleted database, an unauthorized payment, an email sent to the wrong customer.
The failures that matter in production are rarely about clever wording. They are about missing boundaries — no declared limit on what a tool can do, no rule for when a human must approve, no guardrail on destructive operations. These gaps are invisible during development because you, the developer, are the human in the loop. They only surface once the agent runs unattended, which is precisely when you can least afford them.
A CE Score makes those gaps visible before the prompt ships. Instead of discovering that your agent had no approval gate when it wires money to the wrong account, you discover it when the audit reports a failing "approval gate" component.
The ten components a CE Score checks
Every prompt is evaluated against ten components that a production-grade agent depends on. Each is scored as present-and-sound or missing:
- Role — the agent's role and, critically, the limit of its authority.
- Context — the operating background the task depends on, supplied rather than assumed.
- Constraints — hard rules and refusals: what the agent must and must not do.
- Tool boundaries — which tools exist and, crucially, where they stop.
- Memory policy — what persists across turns and what is discarded.
- Output schema — the predictable shape downstream steps can rely on.
- Validation — the checks the agent runs on its own output.
- Safety — guardrails for destructive, irreversible, or sensitive actions.
- Approval gates — where a human must sign off before high-consequence actions.
- Examples — worked cases that anchor behaviour on edge cases.
Most prompts written for a demo satisfy four or five of these. The gap between five and ten is the gap between something that works in a demo and something you would trust to run against production systems. For a full breakdown, see our guide to the ten components every production agent prompt needs.
How a CE Score maps to a trust level
The score does not stop at a percentage. It maps the passing components onto the AgentAz trust ladder, and a level is earned, not estimated — a prompt cannot buy a higher grade by being longer or more eloquent. It reaches a level only when every component that level requires is present.
- ADV — advisory only. The agent suggests but never acts. It lacks the boundaries required to be trusted with tools.
- A3 — bounded execution. Role, constraints, and tool boundaries are all declared. The agent can act within known limits.
- A4 — gated execution. Everything in A3, plus a genuine human approval gate before high-consequence actions and explicit safety boundaries.
- A5 — governed execution. The full set: validation and an explicit memory policy on top of A4. Suitable for running with reduced oversight.
Many prompts never even reach A3, usually because tool scope is left undeclared. We cover that failure pattern in detail in why most agent prompts fail A3.
Structural versus semantic scoring
There are two ways to produce a CE Score, and the difference matters. A structural audit checks whether each component is declared — fast, runs in your browser, and free. A semantic audit goes further, judging whether each component is genuinely sound rather than merely mentioned; for example, whether an approval gate actually pauses execution or just says the word "approval." A trustworthy score always states which method produced it.
Why the CE Score matters in 2026
As agents move from novelty to infrastructure, "is this prompt safe to run" becomes a question every team eventually asks — and until recently, none could answer it repeatably. A CE Score, backed by the open AgentAz Specification, turns a subjective judgement into a defensible, comparable grade. That is the difference between hoping your agent is production-ready and knowing where it stands.
Key takeaways
- A CE Score grades an agent prompt on ten production components, not on wording quality.
- The score maps to an AgentAz trust level (ADV, A3, A4, A5); levels are earned, not estimated.
- The most common reason prompts score low is undeclared tool scope.
- Structural scoring checks if components are declared; semantic scoring checks if they are sound.
- The point is to catch missing safeguards before an agent runs unattended in production.
Audit your own agent prompt
Paste a system prompt and get its CE Score in seconds — the missing components, the trust level, and the fixes.
Run a free audit →Frequently asked questions
What does CE stand for in CE Score?
CE stands for context engineering — the discipline of designing everything a model sees on each call (role, tools, memory, constraints, safety) rather than only wording a single instruction. A CE Score measures how completely a prompt does this.
What is a good CE Score?
A prompt reaching A4 (gated execution) or A5 (governed execution) is considered production-ready. A4 requires role, constraints, tool boundaries, a human approval gate, and safety boundaries. A5 adds output validation and a memory policy. Many prompts sit at ADV or fail to reach A3.
Is a CE Score the same as prompt engineering?
No. Prompt engineering focuses on phrasing a request well. A CE Score measures context engineering — whether the prompt provides the full structure an agent needs to act safely, including tool boundaries and approval gates that phrasing alone does not address.
Does checking a CE Score store my prompt?
The instant structural audit runs entirely in your browser and stores nothing. A prompt is only stored if you explicitly choose to share it via a link or submit it to the public gallery.