Kit · Glossary

Architecture glossary

Name the thing you already did. 78 architecture terms in 7 groups; each one says what it means, how to recognise it in work you have done, and one line to use in a review or an interview.

Reliability

Keeping the system useful when parts of it fail, slow down or misbehave.

ResilienceThe ability to keep serving, perhaps in a reduced form, when a dependency fails, and to recover on its own afterwards. It is a property of the whole system, built from timeouts, retries, fallbacks and isolation.

You have done this if

You added a fallback model when the primary provider timed out, or made the app answer from cache while search was down.

Say it in a review

We designed for provider outages, so requests fail over to a second model and the UI says when answers are degraded.

Resilience on its own page
Fault toleranceContinuing to work correctly despite a component failing, usually through redundancy. Stricter than resilience, which allows degraded service.

You have done this if

You ran two replicas behind a load balancer so a node could die without users noticing.

Say it in a review

Losing one instance is a non-event; we run at least two in separate zones.

Fault tolerance on its own page
Graceful degradationTurning off the expensive or broken part and keeping the rest working, and telling the user what they are not getting.

You have done this if

When retrieval failed, the assistant said it could not reach the documents instead of answering from memory.

Say it in a review

If retrieval is down we answer with 'I can't reach the sources right now', never an ungrounded guess.

Graceful degradation on its own page
Circuit breakeralso fail fastA switch that stops calling a failing dependency for a while after repeated errors, so you fail fast instead of piling up waiting requests, then lets a few test calls through to see if it recovered.

You have done this if

You stopped sending requests to a model endpoint after a burst of 5xx errors and routed to a fallback for a minute.

Say it in a review

The gateway trips a breaker per provider; after five failures in thirty seconds we route around it.

Circuit breaker on its own page
BulkheadSeparate pools of capacity (threads, connections, quotas) so one noisy workload cannot starve the others. Named after the compartments in a ship's hull.

You have done this if

You gave batch summarisation its own model quota so it could not eat the interactive chat's rate limit.

Say it in a review

Batch and interactive traffic have separate quotas, so a big backfill can't slow down users.

Bulkhead on its own page
Retry with backoff and jitteralso retries, exponential backoffTrying a failed call again after a growing, slightly randomised delay, so many clients do not retry in lockstep and flatten the service they are waiting for.

You have done this if

You wrapped model and tool calls in retries that wait 1, 2, 4 seconds plus a random offset.

Say it in a review

Retries use exponential backoff with jitter and a cap, and only on errors that are safe to retry.

Retry with backoff and jitter on its own page
Idempotencyalso deduplication, exactly once, duplicate requests, safe to retry, retry-safeAn operation that has the same effect whether it runs once or several times. It is what makes retries safe for anything with side effects.

You have done this if

You passed a request ID with every 'create ticket' call so a retried agent step did not open two tickets.

Say it in a review

Every tool call with side effects carries an idempotency key, so a retry can't send the email twice.

Idempotency on its own page
Timeout budgetAn explicit limit on how long each step may take, set so the steps add up to less than what the user will wait for.

You have done this if

You gave retrieval 800 ms and the model 20 seconds so the whole request stayed under the 30-second gateway limit.

Say it in a review

Each hop has a timeout and they sum to less than the user-facing deadline.

Timeout budget on its own page
BackpressureLetting a slow consumer signal upstream to slow down, by queueing with limits, rejecting with 429s or pausing intake, instead of collapsing.

You have done this if

Your ingestion queue stopped accepting new documents when the embedding workers fell behind.

Say it in a review

Ingestion applies backpressure, returning 429 past a queue depth so the producer slows down.

Backpressure on its own page
Blast radiusHow much breaks, or can be damaged, when one thing goes wrong. You reduce it by scoping permissions, isolating tenants and limiting what one agent run can touch.

You have done this if

You limited an agent to one project's repositories so a bad run could not touch the rest.

Say it in a review

A compromised agent token can only reach the one workspace it was issued for.

Blast radius on its own page
Disaster recovery (RPO and RTO)also DR, RPO, RTO, backup and restoreGetting the service back after losing a region or a datastore. RPO is how much data you can afford to lose, RTO is how long you can be down.

You have done this if

You restored the vector index from a nightly snapshot and re-ran ingestion for the gap.

Say it in a review

Our RPO for the index is 24 hours because we can rebuild from source; RTO is about two hours.

Disaster recovery (RPO and RTO) on its own page

Scale and performance

Handling more users, data and requests without the cost or latency running away.

ScalabilityHow well the system handles more load by adding resources. Horizontal scaling adds more instances; vertical scaling makes one instance bigger.

You have done this if

You moved the API to stateless containers behind a load balancer so you could add replicas during a launch.

Say it in a review

The web and API tiers scale horizontally; the model side scales through provider quotas, which is the real ceiling.

Scalability on its own page
ElasticityScaling up and back down automatically with demand, so you pay for what you use.

You have done this if

Your container app scaled to zero overnight and back up on the first request.

Say it in a review

The frontend scales to zero off hours; we accept a cold start of a couple of seconds.

Elasticity on its own page
StatelessnessA service keeps no session data in its own memory between requests, so any instance can serve any request. State lives in a database or cache.

You have done this if

You moved conversation history out of the server process into Redis so you could run more than one instance.

Say it in a review

API instances are stateless; conversation state lives in the memory store, keyed by session.

Statelessness on its own page
CachingKeeping a copy of an expensive result so the next request is fast and cheap. The hard part is knowing when the copy is out of date.

You have done this if

You cached embeddings for repeated queries, or cached model answers for identical prompts.

Say it in a review

We cache retrieval results with a short TTL and invalidate on re-index, because a stale answer looks exactly like a right one.

Caching on its own page
Sharding and partitioningSplitting data across several stores or indexes by a key, such as tenant or region, so no single one holds everything.

You have done this if

You built one vector index per business unit instead of one global index.

Say it in a review

Indexes are partitioned by tenant, which also gives us a hard boundary for access control.

Sharding and partitioning on its own page
Rate limiting and throttlingalso quotas, 429Capping how many requests a user, team or app can make in a period, to protect capacity and spend.

You have done this if

You set per-team token limits on the model gateway.

Say it in a review

Every team has a token budget per minute at the gateway, and we return 429 with a retry-after when they hit it.

Rate limiting and throttling on its own page
Latency and throughputLatency is how long one request takes; throughput is how many requests you complete per second. Improving one often costs the other, as batching does.

You have done this if

You streamed tokens to the browser so the first words appeared quickly even though the full answer took longer.

Say it in a review

We optimise time to first token for chat and throughput for batch jobs; they get different settings.

Latency and throughput on its own page
Fan-outOne request triggering many downstream calls, such as several searches or several agents in parallel. It multiplies load and failure chances.

You have done this if

Your query planner split one question into four searches and merged the results.

Say it in a review

A single question can fan out to four retrievals, so we cap parallelism and set a shared deadline.

Fan-out on its own page
Capacity planningEstimating the load you will get and making sure quotas, instances and budgets are in place before it arrives.

You have done this if

You requested a higher provisioned throughput from the model provider ahead of a company-wide rollout.

Say it in a review

We sized for peak tokens per minute at launch and booked the provider quota two weeks ahead.

Capacity planning on its own page

Data and consistency

Moving, storing and changing data so that every part of the system agrees closely enough.

Eventual consistencyAfter a change, different parts of the system may disagree for a while but converge if no new changes arrive. The opposite is strong consistency, where every read sees the latest write.

You have done this if

A policy was updated in SharePoint and the assistant kept quoting the old version until the next index run.

Say it in a review

The index is eventually consistent with the source; freshness is about fifteen minutes and we show the document date.

Eventual consistency on its own page
CAP theoremWhen the network splits, a distributed store has to choose between staying consistent and staying available. Useful mainly as a reminder that you are making that choice.

You have done this if

You chose to keep serving slightly stale results during an outage instead of refusing all requests.

Say it in a review

During a partition we prefer availability for search and consistency for permissions.

CAP theorem on its own page
Outbox patternWriting the intended action to your own database in the same transaction as the state change, then sending it from there, so you never record an action you did not send, or send one you did not record.

You have done this if

An approval and the email it triggers are saved together, and a worker sends emails from that table.

Say it in a review

Agent actions go through an outbox, so the approval and the side effect can't drift apart.

Outbox pattern on its own page
SagaA long business process split into steps across services, where each step has a compensating action to undo it if a later step fails, instead of one big transaction.

You have done this if

If the booking failed after the payment, your workflow refunded the payment automatically.

Say it in a review

The multi-step agent task is a saga, so every step that changes something has an undo.

Saga on its own page
CQRSCommand Query Responsibility Segregation. Separate models for writing data and for reading it, often with a read store shaped for the queries.

You have done this if

You wrote documents to a source system and served search from a separate index built for reading.

Say it in a review

Writes go to the system of record; reads come from an index built for retrieval, which is CQRS in practice.

CQRS on its own page
Change data captureStreaming inserts, updates and deletes from a database as events, so downstream copies stay in step without full reloads.

You have done this if

You used Delta change feed so only changed documents were re-embedded.

Say it in a review

Ingestion is incremental from change data capture, so a re-embed touches only what changed.

Change data capture on its own page
Schema evolutionChanging the shape of data or messages over time without breaking the readers that still expect the old shape.

You have done this if

You added a field to the tool response and kept old agents working by making it optional.

Say it in a review

Tool contracts evolve additively; removing a field needs a version bump.

Schema evolution on its own page
Data lineageKnowing where a piece of data came from and every step that transformed it on the way.

You have done this if

Each answer could be traced back to the chunk, the document and the ingestion run that produced it.

Say it in a review

Every citation resolves to a document version and the pipeline run that indexed it.

Data lineage on its own page
Data residencyKeeping data, and the processing of it, inside a specific country or region, usually because of law or contract.

You have done this if

You pinned the model deployment and the index to an EU region for European users.

Say it in a review

Prompts, embeddings and logs stay in the EU region; we verified the provider doesn't route outside it.

Data residency on its own page

Security and identity

Who and what may do which thing, and how you would prove it afterwards.

Least privilegealso scoped permissionsGiving each user, service and agent only the permissions it needs for its job, and nothing more.

You have done this if

You gave the agent a read-only token for the CRM instead of the admin key the prototype used.

Say it in a review

Each tool gets a scoped credential; the agent can read tickets but only a human can close them.

Least privilege on its own page
Zero trustNo request is trusted because of where it comes from, such as the internal network. Every call is authenticated and authorised on its own.

You have done this if

Your internal tools still checked the user's token even though they were only reachable from inside the VNet.

Say it in a review

Being on the private network doesn't grant anything; every service validates the caller's token.

Zero trust on its own page
Defense in depthSeveral independent layers of protection, so one failing does not expose everything.

You have done this if

You had a WAF at the edge, auth at the gateway, permission filters in retrieval and output checks before the answer.

Say it in a review

Prompt injection is handled in layers: input isolation, scoped tools, approval for actions and output checks.

Defense in depth on its own page
On-behalf-of (token exchange)also OBO, token exchange, delegated accessA service swaps the user's token for a new one to call the next service as that user, so permissions and audit follow the real person instead of a shared service account.

You have done this if

Your agent called Graph with the signed-in user's delegated token, so it saw only that user's files.

Say it in a review

Tools are called on behalf of the user, so the agent can never see more than the person asking.

On-behalf-of (token exchange) on its own page
Secrets management and rotationKeeping credentials in a vault rather than in code or config, injecting them at runtime, and replacing them on a schedule or after exposure.

You have done this if

You moved API keys from environment files into Key Vault and set a 90-day rotation.

Say it in a review

No secret lives in the repo or the prompt; keys come from the vault at runtime and rotate quarterly.

Secrets management and rotation on its own page
Separation of dutiesNo single person, or agent, can both request and approve a sensitive action.

You have done this if

The agent drafts the refund, a human approves it, and a different system executes it.

Say it in a review

The agent proposes, a person approves, and the system of record executes; no one step can do all three.

Separation of duties on its own page
Audit trailA tamper-resistant record of who did what, when, and with which data, kept long enough to answer an investigation.

You have done this if

You logged every tool call with the user, the arguments and the result to an append-only store.

Say it in a review

Every tool invocation is audited with the user identity, inputs and outcome, retained for a year.

Audit trail on its own page
Data classificationLabelling data by sensitivity (public, internal, confidential, restricted) so controls can follow the label.

You have done this if

Documents marked confidential were excluded from the general assistant's index.

Say it in a review

Retrieval respects sensitivity labels; restricted content is never indexed for the broad assistant.

Data classification on its own page
Threat modelA structured look at what an attacker might want, how they could get it through your design, and what stops them.

You have done this if

Before launch you listed the ways a malicious document could steer the agent and added a control for each.

Say it in a review

We threat-modelled the retrieval path; the top risk was indirect prompt injection from shared documents.

Threat model on its own page

Operations

Running the system day to day, knowing when it is unhealthy and changing it safely.

ObservabilityBeing able to answer new questions about what the system is doing from the outside, using traces, metrics and logs, without shipping new code.

You have done this if

You could open one trace and see the prompt, the retrieved chunks, the tool calls and the latency of each step.

Say it in a review

Every request is one trace across gateway, retrieval, model and tools, so we can explain any answer.

Observability on its own page
SLI, SLO and SLAalso SLI, SLA, service levelAn SLI is what you measure (say, the share of answers under 5 seconds). An SLO is your target for it (99 percent). An SLA is the promise to a customer, with consequences if missed.

You have done this if

You set a target that 95 percent of chat responses start streaming within 2 seconds and alerted on it.

Say it in a review

Our SLO is 99 percent of answers grounded and under 8 seconds over 28 days.

SLI, SLO and SLA on its own page
Error budgetThe amount of failure the SLO allows. While budget remains you ship; when it is spent you slow down and fix reliability.

You have done this if

You paused a prompt change rollout because groundedness had already dipped below target that month.

Say it in a review

We'd burned most of the error budget, so the new prompt waited until the eval regressions were fixed.

Error budget on its own page
RunbookWritten steps for handling a known kind of incident, so whoever is on call can act without guessing.

You have done this if

You wrote down how to switch to the fallback model and how to roll back a prompt.

Say it in a review

Provider outage and bad prompt release both have runbooks with a rollback in under five minutes.

Runbook on its own page
Canary releaseSending a small share of traffic to a new version first and comparing it with the old one before rolling out further.

You have done this if

You routed 5 percent of users to the new prompt and watched the eval scores before switching everyone.

Say it in a review

Prompt and model changes go out as a canary at 5 percent with automatic rollback on eval regressions.

Canary release on its own page
Blue-green deploymentRunning the new version next to the old one and switching traffic over at once, keeping the old one ready to switch back.

You have done this if

You built a new vector index alongside the live one and flipped an alias when it was ready.

Say it in a review

Re-indexing is blue-green. We build the new index beside the old and swap the alias.

Blue-green deployment on its own page
Feature flagA runtime switch that turns behaviour on or off without a deploy, for a group of users or everyone.

You have done this if

You let one team try agent actions while everyone else kept read-only answers.

Say it in a review

Write actions are behind a flag per tenant, so we can turn them off in seconds.

Feature flag on its own page
DriftQuality changing over time without any code change, because the data, the users' questions or the model behind an API changed.

You have done this if

Answer quality slipped after the provider updated the model version behind the same name.

Say it in a review

We pin model versions and track eval scores weekly to catch drift in the data or the model.

Drift on its own page
ToilManual, repetitive operational work that grows with the system and could be automated.

You have done this if

Someone re-ran the ingestion job by hand every Monday until you scheduled it.

Say it in a review

Re-indexing was toil; now it's triggered by change events and nobody touches it.

Toil on its own page

Integration

How the pieces talk to each other and to the systems that were there before you.

Loose couplingComponents depend on each other through small, stable interfaces, so one can change or fail without dragging the others along.

You have done this if

You put the model behind your own gateway interface so swapping providers didn't touch application code.

Say it in a review

The app talks to our gateway, not to a vendor SDK, so changing provider is a config change.

Loose coupling on its own page
API contractThe agreed shape and behaviour of an interface (inputs, outputs, errors, limits) that both sides build against.

You have done this if

You wrote a JSON schema for each tool and tested agents against it.

Say it in a review

Tools have typed contracts; the agent only sees fields the schema defines.

API contract on its own page
Backward compatibilityNew versions keep working for clients built against old versions.

You have done this if

You added a new optional parameter to an MCP tool without breaking the agents already calling it.

Say it in a review

Tool changes are backward compatible by default; breaking changes ship as a new tool name.

Backward compatibility on its own page
API gatewayOne front door for many APIs that handles authentication, rate limits, routing and logging in one place.

You have done this if

All agent traffic to internal systems went through API Management instead of direct calls.

Say it in a review

Internal APIs are reached through the gateway, which enforces auth, quotas and audit for every agent.

API gateway on its own page
Event-driven architecturealso pub sub, eventsComponents react to events (something happened) instead of calling each other directly, which decouples timing and lets new consumers join without changing the producer.

You have done this if

A 'document updated' event triggered re-indexing instead of a nightly batch.

Say it in a review

Ingestion listens for change events from the source systems, so freshness doesn't depend on a schedule.

Event-driven architecture on its own page
Dead-letter queueWhere messages go after they fail processing too many times, so they can be inspected and replayed instead of blocking the queue or vanishing.

You have done this if

Documents that failed to parse landed in a separate queue you checked each morning.

Say it in a review

Unparseable documents go to a dead-letter queue with the error, and we replay them after a fix.

Dead-letter queue on its own page
Anti-corruption layerA translation layer between your design and a legacy or external system, so its odd data model does not leak into yours.

You have done this if

You wrapped the old ERP in a small service that returned clean, typed objects to the agent.

Say it in a review

The agent never sees raw ERP responses; an adapter maps them to our own types.

Anti-corruption layer on its own page
MCP (Model Context Protocol)An open protocol for exposing tools, resources and prompts to AI clients in a standard way, so one integration serves many agents.

You have done this if

You wrapped Jira and your internal search as MCP servers instead of writing custom glue per agent.

Say it in a review

Integrations are MCP servers behind a gateway, so each one is built once and governed in one place.

MCP (Model Context Protocol) on its own page

AI systems

The newer vocabulary around models, retrieval and agents, mapped to the plain engineering underneath.

Tokenalso tokens, tokenizationThe unit a model reads and writes, usually a piece of a word a few characters long. Prices, context limits and output limits are all counted in tokens, so the same text costs and fits differently across models and languages.

You have done this if

A prompt that fitted comfortably in English overflowed the context limit once the documents were in another language, or the bill grew because a long system prompt went out on every call.

Say it in a review

We budget in tokens, not characters, and cap the system prompt and retrieved context so the answer always has room.

Token on its own page
Temperaturealso sampling, top-p, creativity settingA setting that controls how much randomness the model uses when it picks each next token. Low values give consistent, repeatable output; higher values give more varied wording, and more varied mistakes.

You have done this if

Support answers changed wording every time the same question was asked, until you lowered the temperature for that feature.

Say it in a review

Extraction and routing run near zero temperature; only the drafting feature is allowed variety.

Temperature on its own page
Hallucinationalso confabulation, made-up answerA fluent, confident answer that is not supported by the model's input or by the facts. It comes from how models generate text, so systems reduce it with grounding, citations and a way to say "I do not know", not by asking the model to be careful.

You have done this if

The assistant cited a policy section that did not exist, and you added a check that every citation points to a passage that was actually retrieved.

Say it in a review

We treat unsupported claims as a measured failure. Groundedness is scored per claim, and below the threshold the assistant declines.

Hallucination on its own page
Fine-tuningalso fine tune, SFT, LoRATraining an existing model further on your own examples so it adopts a format, a tone or a narrow skill. It changes how the model behaves; it is a poor way to give it facts that change, which is what retrieval is for.

You have done this if

You trained a small model on labelled tickets so routing became cheaper and more consistent than prompting a large one.

Say it in a review

Facts come from retrieval; we fine-tune only for behaviour, like a fixed output format or a cheaper classifier.

Fine-tuning on its own page
Agentalso AI agent, agenticA model running in a loop that decides its next step, calls tools, looks at the results and continues until it reaches a goal or a limit. The model chooses the path, which is what makes an agent flexible and harder to bound than a fixed workflow.

You have done this if

Instead of following a fixed sequence, the assistant chose which systems to query, read the results and asked a follow-up question before answering.

Say it in a review

It is an agent only where the path cannot be drawn in advance; everywhere else it is a workflow with model steps.

Agent on its own page
Tool callingalso function calling, tool useThe model returns a structured request to run a named function with arguments; your code runs it and sends the result back. The model never executes anything itself, so permissions, validation and approval live in the code that runs the tool.

You have done this if

The assistant opened a ticket through your API after the model returned a create_ticket call with the fields filled in, and your code checked them first.

Say it in a review

Every tool call is checked against its schema and the caller's permissions before it runs, and anything with side effects waits for approval.

Tool calling on its own page
GroundingMaking the model answer from supplied evidence (retrieved documents, tool results) rather than from what it absorbed in training, and showing that evidence.

You have done this if

Every answer cited the passages it used, and the app refused when no passage supported it.

Say it in a review

Answers are grounded, so no supporting passage means no answer.

Grounding on its own page
Retrieval-augmented generation (RAG)also RAG, retrievalFetching relevant information at question time and passing it to the model with the question.

You have done this if

You indexed policy documents and passed the top matches to the model for each question.

Say it in a review

It's RAG over the policy corpus, with hybrid retrieval and citations.

Retrieval-augmented generation (RAG) on its own page
Chunkingalso chunk size, text splittingSplitting documents into the pieces that get embedded and retrieved. The boundaries decide what the model can see together, so chunk size is a decision about what a complete answer looks like, not a tuning knob.

You have done this if

You split policies by heading instead of every 512 tokens, after an answer quoted a rule without the exception in the next paragraph.

Say it in a review

We chunk on document structure and keep the heading path in each chunk, so a rule and its exception arrive together.

Chunking on its own page
Embeddingalso vector, embedding modelA list of numbers that places a piece of text so that similar meanings sit close together. Good for finding related text; it says nothing about whether that text is correct, current or allowed.

You have done this if

Semantic search found the right policy for a paraphrased question that keyword search missed, and in the same week confidently returned an outdated one.

Say it in a review

Embeddings give us candidates by meaning; freshness and permissions are filtered separately.

Embedding on its own page
Rerankingalso reranker, cross-encoderA second pass that rescores the top retrieval candidates against the question with a slower, more accurate model, and keeps only the best few for the prompt.

You have done this if

You fetched fifty candidates cheaply, reranked them, and passed only the top handful to the model.

Say it in a review

We retrieve wide and rerank narrow, so the context holds a few strong chunks instead of many weak ones.

Reranking on its own page
Recall at kalso recall@k, retrieval recallThe share of test questions for which the right document appears in the top k retrieved results. Measured before any model writes an answer, it tells you whether a wrong answer is a retrieval miss or a generation problem.

You have done this if

You labelled real questions with the documents that should come back, and tracked how many made the top ten after each index change.

Say it in a review

We track recall at ten on a labelled question set, so we know a bad answer is a retrieval miss before anyone edits the prompt.

Recall at k on its own page
GuardrailsChecks around the model that block, change or route requests and responses, such as topic limits, PII filters or approval for risky actions.

You have done this if

You blocked answers that contained account numbers and sent refund actions to a human.

Say it in a review

Guardrails sit at the gateway for content and in the tool layer for actions.

Guardrails on its own page
Prompt injectionInstructions hidden in content the model reads (a web page, an email, a document) that try to make it do something the user did not ask for.

You have done this if

You stopped treating retrieved text as instructions after a document told the assistant to ignore its rules.

Say it in a review

Retrieved content is data, never instructions, and tools with side effects need approval.

Prompt injection on its own page
Eval harness and golden setA repeatable way to score the system on a fixed set of real questions with known good answers, run on every change.

You have done this if

You kept 200 real questions with expected sources and ran them in CI before merging prompt changes.

Say it in a review

Every prompt, model or index change runs against the golden set and can't merge on a regression.

Eval harness and golden set on its own page
LLM as judgeUsing a model to grade outputs against a rubric, which scales evaluation but needs checking against human grades.

You have done this if

A second model scored answers for faithfulness and you spot-checked a sample each week.

Say it in a review

We use a judge model with a written rubric, calibrated against human labels every month.

LLM as judge on its own page
Agent harnessThe code around a model that turns it into an agent: the loop, tool execution, memory, limits, stop conditions and logging. Most of an agent's reliability lives here, not in the model.

You have done this if

You wrote the loop that calls the model, runs the tool it picks, feeds back the result and stops after ten steps.

Say it in a review

The model is the easy part; the harness owns budgets, tool permissions, retries and when to stop.

Agent harness on its own page
Model gatewayOne internal endpoint in front of all model providers that handles routing, keys, quotas, logging, caching and fallbacks.

You have done this if

Teams called your gateway instead of OpenAI or Azure directly, and you could see spend per team.

Say it in a review

All model traffic goes through the gateway, which gives us one place for keys, cost and fallbacks.

Model gateway on its own page
Human in the loopalso HITL, approvalA person reviews or approves at chosen points, usually before irreversible actions or low-confidence answers.

You have done this if

Drafted customer emails waited in a queue for an agent to approve before sending.

Say it in a review

The agent drafts; anything that leaves the company or moves money waits for a human.

Human in the loop on its own page
Context window budgetTreating the model's input limit as a budget to spend on the most useful content, because more context can lower quality and always raises cost.

You have done this if

You trimmed retrieved chunks to the best five and summarised long conversation history.

Say it in a review

We budget the context: instructions, the top five passages and a rolling summary, not everything we have.

Context window budget on its own page
Structured outputHaving the model return data in a fixed schema such as JSON so code can use it reliably.

You have done this if

You asked for a JSON object with fields for intent and entities and validated it before acting.

Say it in a review

Anything a program consumes comes back as schema-validated JSON, never parsed from prose.

Structured output on its own page
Orchestration (supervisor, pipeline, peer)How several agents or steps are coordinated: a supervisor that delegates, a fixed pipeline, or peers following a protocol.

You have done this if

One agent planned and handed sub-tasks to a researcher and a writer agent, then reviewed their output.

Say it in a review

It's a supervisor pattern with typed hand-offs; we chose it over peers because ownership stays clear.

Orchestration (supervisor, pipeline, peer) on its own page