The three-dial audit

Model, context and prompt: how to audit the only three dials an agent has

Every AI agent is configured on exactly three surfaces. Two of them usually live in a vendor dashboard where nobody can see them. Here is how we audit all three, with the real settings and the real incidents behind each.

Maksym BondarenkoSystems & Automation Engineering, Azuro AILast updated
9 questions3 dialsEvery incident real and dated

Strip the branding off any AI agent and three things decide how it behaves: which model runs it, what context it can see, and what the prompt tells it to do. That is the whole surface area. Everything else is plumbing around those three.

Which is useful, because it means auditing an agent is not vague. There are nine questions, three per dial, and the answers are either on a screen someone can show you or they do not exist. The second case is the common one, and it is the finding.

Where this framework comes from

We did not have a document called "the model, context and prompt audit" before this page. What we had was six years of configuration spread across live workflows and a log of incidents we caused and fixed. The three-dial framing is ours. Every setting, number and incident under it is pulled from real production systems, and the ones that were our own fault are labelled as such.


Dial 1. Model

THE DIAL EVERYONE ARGUES ABOUT AND ALMOST NOBODY NEEDS TO TOUCH

Here is our actual production setting, in the website chatbot and in the inbound email agent, identical in both:

model:        gpt-4o-mini
temperature:  0.7
maxTokens:    1000

That is it. Two different agents, serving two different channels, same three values. The token ceiling is the one doing visible work, because it forces short replies, and short replies are what you want in a chat widget and in an inbox. Temperature at 0.7 is high enough to not sound robotic and low enough to not improvise about pricing.

When a business tells us their agent is bad and the proposed fix is a bigger model, that is almost always the wrong dial. Here are three failures from our own build log that cost real money, none of which a better model would have touched: an appointment time split into separate date and time fields with no UTC offset, so every booking landed seven to eight hours off what the caller had just verbally confirmed; calendar API nodes authenticating with a v1 query-string key scheme against v2 endpoints that require a bearer token; and a voice assistant configured to post eleven different event types to one webhook that only knew how to read one of them.

A frontier model with a bad timezone string still books the wrong hour.

QUESTIONS 1 TO 3

What to ask about the model

  • Which model, at what temperature, with what token ceiling? A vendor who cannot answer this instantly does not have a settings page open anywhere.
  • Where does that setting live, and who can change it without a deploy? If the answer is a dashboard textarea, anyone with a login can silently change your agent's behaviour tonight.
  • What broke most recently, and was the model the cause? Listen for whether they can name a specific non-model root cause. The ones who can are the ones who actually debug.
Ask them

Show me the model settings screen, and tell me the last time anyone changed it.

Dial 2. Context

TWO DIFFERENT THINGS THAT GET CALLED THE SAME WORD

Context splits into static knowledge, which is the same for every conversation, and injected state, which is computed fresh for each one. Businesses routinely have the first and not the second, then wonder why the agent feels generic.

Static knowledge: the part the business has to write

Our own agent's knowledge base is eight markdown documents, roughly 24 KB of text, covering the company overview, positioning, messaging, the three service tiers and pricing with the guarantee. It gets chunked, embedded and written into a vector table, then retrieved at query time with a top-10 nearest match.

[upload form] -> [split files] -> [data loader] -> [embeddings] -> [vector table]
                                                                    |
                                     query time:  retrieve top 10 --+

For client builds our intake sets a floor of 25 FAQ entries, and it is one of three hard blocking items: we do not begin workflow configuration until the CRM key, the email platform key and the knowledge base document are in hand. That rule exists because the knowledge base is the one deliverable only the client can write, and it is therefore the one that slips.

If a vendor never gave you a document-count floor, nobody has thought about what your agent will actually know.

Injected state: the part that makes it feel awake

Static knowledge tells the agent what the business sells. Injected state tells it who it is talking to right now. In one of our live voice agents the prompt carries dedicated blocks that are filled per request rather than written once:

### Current Time in PST            <- computed at request time
### Caller's SMS Consent State     <- read from the caller record
### Caller Context                 <- name, company, notes, upcoming bookings

That last block is why a returning caller hears their own name and their already-booked meeting instead of being asked to identify themselves again. It is also the single most convincing thing a demo can show, and it is pure plumbing: one database read, injected into the prompt before the call connects.

The other half of context is conversational memory, which in our text agents is a Postgres-backed window of the last 10 messages, keyed on a session id. The key is the risky part. Pick it wrong and two customers share one conversation history, which is the worst bug this category of system can produce.

A blind spot in our own system, since we would rather say it than be caught with it

We used to log a metric every time an agent looked something up in its knowledge base. When one client's retrieval moved inside the voice platform itself, that round trip stopped passing through our workflow, and the metric went with it. Nothing writes it any more.

So on that system we can tell you how many documents went into the knowledge base, and we cannot tell you how often it got asked a question or how often it came back empty. That is a real gap, it is deliberate rather than accidental, and it is the thing we would want to know if we were the client.

QUESTIONS 4 TO 6

What to ask about context

  • What exactly does the agent know, and who wrote it? Ask for the document list and the word count. "It's trained on our website" is not a knowledge base.
  • What gets injected per conversation, and from where? If the answer is nothing, every caller is a stranger forever, no matter how good the model is.
  • Can you see how often the knowledge base is queried and how often it returns nothing useful? This is the question that separates a monitored system from a hopeful one. We fail it on one of our own builds and we will show you where.
Ask them

Show me the knowledge base file list, and a conversation where injected context changed what the agent said.

Dial 3. Prompt

THE DIAL WITH THE WORST VERSION CONTROL IN THE INDUSTRY

A production system prompt is not a paragraph. Here is the real section structure of one of our live client agents, a compact one at 52 lines:

## [Identity]            who the agent is, in one short block
## [Scope]               what it will and will not handle
## [Call Handling Flow]  the ordered steps of a real interaction
## [Tools]               one subsection per tool, with when-to-use rules
## [Error Handling]      what to say and do when a tool fails

A more complex agent on the same pattern runs 580 lines, with the injected-context blocks from the previous section sitting inside it. The ratio is worth noticing: the identity section is a handful of lines, and the tool and error-handling sections are most of the document. Prompting a production agent is mostly writing operating procedure, not personality.

Tool descriptions are prompt surface too

The description attached to each tool argument is read by the model every time it considers calling that tool, which makes it prompt text that happens to live in a different file. Ours carry hard prerequisites:

a real tool argument description, from the calendar availability tool
timeZone: "The customer timezone, e.g. America/New_York.
           You must have collected this from the customer
           before calling this tool."

That sentence is there because stating the same requirement in the system prompt alone was not enough. The model would reach the tool call, not have a timezone, and fill one in. Putting the rule at the point of use fixed it.

Our own worst prompt-adjacent bug

A booking tool's schema split the confirmed appointment into separate date and time fields, neither carrying a UTC offset, and the workflow concatenated them into the calendar API request. The calendar read the unmarked timestamp as UTC. The value being sent was the business's local time. Every booking landed seven to eight hours off from what the customer had just confirmed out loud, and nothing errored, because nothing was malformed. It was only wrong.

The fix is a convention now: any time value is one ISO 8601 string with an explicit offset or a Z, paired with a required timezone field the model uses to compute it. Never split date and time into separate fields.

Where the prompt actually lives

This is the finding that comes up most. By default, a voice or chat agent's system prompt lives in a textarea in the vendor's dashboard. It has no history, no diff, no review, and no record of who changed it. Our client scaffold has a file whose entire job is to be the version-controlled copy of that textarea, kept in sync by hand, because the platform will not do it for you.

Keeping it in sync by hand is not a great answer. It is a better answer than the dashboard being the only copy, which is where most businesses are.

QUESTIONS 7 TO 9

What to ask about the prompt

  • Can I read the whole prompt right now? A vendor who will not show it is either embarrassed by it or does not know where it is.
  • Where is its change history? Ask for the last three changes and who made them. A dashboard textarea with no diff is the usual answer and it is worth knowing before something regresses.
  • What do the tool descriptions say, specifically about data the model must collect before calling? Vague tool descriptions are how agents invent timezones, email addresses and appointment times.
Ask them

Send me the prompt as a file, and show me its last three revisions.


The one thing under all nine questions

Two of the three dials, context and prompt, live in vendor dashboards by default. No history, no review, no export. The model setting is usually right next to them. So the honest summary of most AI agent deployments is that the three things fully determining the system's behaviour are stored in text boxes that nobody has looked at since launch.

You do not need to understand embeddings to audit that. You need to ask someone to show you a file. Nine times. What you learn from the ones they cannot produce is the actual audit.

DialWhat good looks likeWhat you will usually find
ModelNamed model, known temperature and token cap, change-controlledA dashboard field, last touched at launch
ContextDocument list with a floor, injected per-conversation state, query visibility"It knows our website"
PromptSectioned, exported to version control, tool rules at point of useOne textarea, no history

Bring these nine to any vendor conversation, ours included. We fail question 6 on one build and the answer is on this page, which is roughly the standard we think you should hold anyone to.

Companion Claude Skill

Run the audit without us

The nine questions as a Claude Skill, with the artifact to demand for each one and how to score the answers. Point it at your own setup or bring it to a vendor call.

ai-agent-three-dial-audit/SKILL.md
---
name: ai-agent-three-dial-audit
description: Audit any AI agent (yours or a vendor's) across the only three surfaces that determine its behaviour - model, context, and prompt - and produce a findings report with required artifacts.
version: 1.0.0
license: MIT
---

# The three-dial AI agent audit

Every AI agent is configured on three surfaces: the model running it, the
context it can see, and the prompt telling it what to do. Audit those three
and you have audited the system. This skill runs that audit and writes up
what it finds.

## When to use

- "Audit our AI agent / chatbot / voice agent."
- "We're about to pay a vendor to build this, what should I ask?"
- "Our agent gives wrong answers, where do I look?"
- Before a renewal, or after a behaviour regression nobody can explain.

## How to run it

Work through the three dials in order. For each question, record the answer
AND whether an artifact exists. The artifact is the finding. "We'd have to
look into that" on a question below means the answer does not exist.

### Dial 1. Model

1. Which model, at what temperature, with what token ceiling?
2. Where does that setting live, and who can change it without a deploy?
3. What broke most recently, and was the model the cause?

**Artifact to demand:** a screenshot or export of the model settings screen,
and the date it last changed.

**What good looks like:** a named model, a known temperature and token cap,
and change control. **What you will usually find:** a dashboard field last
touched at launch.

Scoring note: the model is the dial that gets argued about and almost never
needs touching. Treat "we should use a bigger model" as a red flag unless
they can first name a non-model root cause for the last failure. Real
failures cluster in integration details: unmarked timestamps read as UTC,
v1 auth schemes against v2 endpoints, unhandled webhook event types.

### Dial 2. Context

Context splits in two and people conflate them.

4. What exactly does the agent know, and who wrote it? Ask for the document
   list and a word count. "It's trained on our website" is not a knowledge
   base. Set a floor: 25 FAQ entries minimum, more if voice is involved.
5. What gets injected per conversation, and from where? Look for computed
   state: current time in the business's timezone, the caller's consent
   state, their name, their open bookings. If nothing is injected, every
   customer is a stranger forever.
6. Can you see how often the knowledge base is queried and how often it
   returns nothing useful?

**Artifacts to demand:** the knowledge base file list, and one real
transcript where injected context changed what the agent said.

Question 6 is the one that separates a monitored system from a hopeful one.
It is also commonly failed by competent teams, because retrieval often moves
inside a vendor platform and stops passing through the layer that logs. If
they fail it, the useful follow-up is whether they know they fail it.

Also check conversational memory: what is the session key, and could two
users ever share one? That is the worst bug this category produces.

### Dial 3. Prompt

7. Can I read the whole prompt right now?
8. Where is its change history? Ask for the last three changes and who made
   them.
9. What do the tool descriptions say, specifically about data the model must
   collect before calling?

**Artifacts to demand:** the prompt as a file, and its last three revisions.

**What good looks like:** a sectioned prompt (identity, scope, handling flow,
one subsection per tool, error handling), exported into version control, with
tool-level rules stated at the point of use. A production prompt is mostly
operating procedure; if it is all personality, the tool and error sections
are missing.

**What you will usually find:** one textarea in a vendor dashboard, no
history, no diff, no record of who changed it.

## Procedure

1. Ask all nine questions in one sitting. Do not accept a follow-up email as
   the answer to question 1, 4, or 7.
2. For each, log: the answer, whether the artifact was produced, and the date
   of last change.
3. Classify each question as artifact produced / claimed but not produced /
   does not exist.
4. Write the report: one line per question, then the three highest-risk gaps
   with their concrete consequence (not "best practice" language).
5. Re-run after any vendor change, or quarterly.

## Pitfalls

- Do not score a vendor down for admitting a gap. Score them down for not
  knowing whether they have one. A team that volunteers its own blind spot
  is doing the work.
- Do not accept a demo as an answer to any of the nine. A demo shows a happy
  path; the audit is about what is written down.
- Do not let the conversation become model selection. It is the cheapest
  dial to change and the least likely cause of anything.
- Do not skip question 6 because it sounds technical. Rephrase it as: "how
  would you know if the agent was failing to answer customer questions?"
- If you are auditing your own system, write the findings down before
  fixing anything. Fixes without a record turn into "it was always like
  that" within a month.

## Verification

- [ ] All nine questions asked and answered, with answers recorded.
- [ ] Each answer marked artifact-produced or not.
- [ ] Session-key uniqueness explicitly confirmed.
- [ ] Prompt obtained as a file, not a screenshot of part of it.
- [ ] Report names consequences, not best practices.

Save it as ai-agent-three-dial-audit/SKILL.md in your skills directory. Works in Claude Code, Claude Desktop, or any agent that reads SKILL.md files.

Questions about any of this?

Happy to walk through the three dials against whatever you've got running now — no pitch, just answers.

Azuro AI · Built from our own production n8n workflows and engineering notes. Client names, tenant identifiers, credential IDs and endpoints have been removed. Every incident described is real and dated in our internal records.