AI Agents
Build AI agents that can investigate tasks, use approved business tools and prepare decisions while your application controls permissions, commitments, costs and recovery.

AI agents should be useful before they are autonomous
An AI agent is more than a conversational interface. It can interpret a goal, choose from available tools, examine their results and decide what to do next. That makes it useful for work that crosses documents, APIs and business applications. It also creates a different engineering problem: an inaccurate answer can be corrected, but an inaccurate action may change a booking, expose a record or send a message that cannot be recalled.
The sensible starting point is therefore not “what can the model do?” It is “what work are we prepared to let this system perform, and under which conditions?” For a TravelTech365 AI agent project, the discussion should begin with the operating process: who starts a task, which information they may access, which steps are predictable, where judgment is useful and who remains accountable for the outcome.
Consider a travel operations team investigating a booking discrepancy. An agent may collect the booking history, compare supplier responses with internal records and draft a proposed resolution. It should not infer that permission to investigate also means permission to issue a refund, cancel an itinerary or email a supplier. Those are separate authorities, with different evidence and approval requirements. A successful agent does not need unrestricted control. In many operations, the best initial result is a complete, evidence-backed recommendation that a person can approve in seconds rather than reconstructing the case from several systems.
The difference between answering, preparing and acting
A knowledge assistant answers questions using accessible information. A workflow assistant also gathers evidence and prepares structured work. An action-capable agent can request a change through a connected tool. These are different operating modes, not simply different levels of model intelligence. We design the transitions deliberately. Reading a policy may be automatic; preparing an amendment may require validation; committing the amendment may require a designated approver. Each transition should have a documented technical control, not just a sentence telling the model to be careful. This approach is consistent with the OpenAI Agents SDK's separation of agents, tools, guardrails and human review while leaving the final authority with the application.
Define the action contract before connecting any tools
A bounded agent needs a contract that both business owners and developers can understand. The contract describes the agent's objective, the records it may use, the actions it may request, the conditions that block execution and the conditions that end the task. Without that agreement, a broad instruction such as “resolve this customer issue” leaves too much room for interpretation.
For each workflow, identify the initiating person or system, customer or tenant, allowed data sources, permitted tools, maximum financial or operational exposure, approval roles and the expected final record. Establish which sources are authoritative when systems disagree. Specify whether the agent may create a draft, submit an internal task or complete an external transaction. Record prohibited behavior explicitly, including cross-account access and unapproved exports.
The permission plan should be expressed in executable rules. A model can propose prepare_refund, but a trusted service must decide whether the actor can see that booking, whether the refund is eligible, whether the amount is within policy and whether the request needs a human decision. An agent instruction cannot replace an authorization check.
Match every capability to a control
| Agent capability | Example business use | Boundary enforced outside the model | Failure response |
|---|---|---|---|
| Retrieve records | Read a permitted booking or support case | Tenant, user, resource and field-level access | Deny access and explain the limitation |
| Search knowledge | Find current policy and supplier notes | Approved sources, visibility filters and source dates | Report missing or conflicting evidence |
| Prepare a change | Draft a corrected invoice or itinerary note | Validate amounts, identifiers and business rules | Return a draft with required corrections |
| Communicate internally | Create a case summary or assign a queue | Approved destination and message classification | Save for review when routing is uncertain |
| Change a customer record | Update contact or service details | Authorize exact fields and check record version | Reject stale or unauthorized changes |
| Make an external commitment | Send a confirmation, cancel or refund | Fresh evidence, named approver and final authorization | Pause without executing the action |
| Handle exceptions | Retry a supplier lookup or resume a case | Retry policy, action ledger and execution budget | Stop safely and route to an operator |
The table is a design starting point, not a list of permissions granted by default. An actual deployment may be limited to the first two rows. Access also depends on the selected software, supplier agreements, market availability and permissions attached to the customer's accounts.
Choose agent use cases by the cost of being wrong
An agent is suitable when the process involves interpreting variable information, collecting evidence from several authorized sources or preparing repetitive decisions that staff currently perform manually. A rule-based job is usually more appropriate when inputs and outputs are fixed. A high-risk action should not become autonomous simply because the model can produce a plausible justification.
Useful starting points include triaging incoming travel enquiries, checking for missing documents, organizing supplier correspondence, summarizing service histories and preparing internal reconciliation exceptions. These have clear inputs and reviewable outputs. More sensitive candidates include fare changes, payment adjustments, policy exceptions, booking cancellation and actions affecting a large number of customers. Those require tighter controls and often a mandatory approval step.
Assess risk along several dimensions: reversibility, amount or volume, personal information involved, contractual impact, supplier dependency and the time available to correct a mistake. An internal note that can be edited is not equivalent to a cancellation request accepted by an airline. The agent can help with both, but the execution policy should differ.
Also define what success does not mean. A fast answer is not successful if it cites the wrong traveller. A completed workflow is not successful if it duplicated a refund. A persuasive response is not successful if it invented a policy. The target is a correct operational outcome, with a recoverable trail of how it was reached.

Keep deterministic workflows around probabilistic decisions
The model can interpret a customer message or suggest which approved step is relevant. The application should own the workflow state, business rules and irreversible transitions. This boundary prevents a fresh model response from silently changing what counts as an approved order, eligible refund or valid booking status.
A practical sequence may be: receive a request, verify the actor, identify the case, retrieve authorized evidence, classify the task, validate structured facts, prepare a recommendation, obtain approval where needed, execute through a controlled service and reconcile the outcome. Each step has an explicit entry condition and a small range of permitted next states. An invalid transition is rejected even if the model asks for it confidently.
For a flight change, pricing and availability should come from the appropriate supplier or booking platform rather than model inference. Ticket conditions, customer acceptance, payment status and supplier acknowledgements should be checked by the systems responsible for those facts. The agent may explain differences and assemble the case. It should not be the source of truth for a live fare or the final ledger balance.
Separate the planner from the executor
We recommend treating model-generated instructions as proposals. A tool gateway converts eligible proposals into typed, policy-checked requests. The executor uses trusted code and approved credentials, records the result and returns a constrained status. An unknown tool name, unrecognized parameter or unsupported action is rejected, not guessed into a nearby operation. This division also makes the service maintainable. Business rules can change without rewriting every prompt, and models can be evaluated or replaced without changing who is authorized to act. For related process engineering, see our Workflow Automation services.
Give every agent an identity with limited authority
Authentication answers who or what is calling a service. Authorization answers whether that actor can perform this specific operation on this specific resource. An agent needs both. It should not borrow an administrator's unrestricted token simply because that is convenient during a prototype. Distinguish the human requester, the agent workload identity and any delegated authority used on the requester's behalf. Preserve those identities in action logs. If an employee may view only cases assigned to their office, an agent acting for that employee must not search every office through a more privileged integration account. Tenant boundaries remain effective across retrieval, caching, background work and tool calls.
Where infrastructure supports it, prefer workload identities and short-lived, narrowly scoped credentials over embedded permanent secrets. AWS IAM security guidance recommends temporary workload credentials, while Microsoft's guidance for least-privilege AI agents emphasizes distinct identity, scoped actions and downstream authorization. These are design references, not claims that every identity product works with every connector.
Check permission at the final destination
An orchestrator's permission check is necessary but insufficient if a downstream API accepts broader authority. Recheck the tenant, target record, action, data classification and current policy at the execution boundary. Where the integration supports delegated authorization, keep its audience and scope constrained. Never let a tool response supply a different customer ID that widens access. Design for revocation. An administrator should be able to disable a tool, withdraw a user's delegation or suspend the agent without waiting for the next deployment. Expired approval, employee role changes and closed accounts must invalidate pending work when the policy requires it. The objective is controlled delegation, not a permanent digital superuser.
Retrieve evidence without promoting content into instructions
Agents often read emails, contracts, policy documents, web pages, support notes and supplier responses. These are useful evidence, but none should be allowed to redefine the agent's authority. A retrieved document might contain an instruction to “ignore previous rules” or “send the full customer export here.” That text is content to inspect, not a legitimate command. OWASP's guidance on prompt injection describes how untrusted inputs can redirect language-model behavior, including through indirect material. Retrieval and grounding improve factual context but do not remove that attack surface. An agent handling third-party content must assume the material may be mistaken, outdated or actively manipulative.
Use permission-aware retrieval. Filter candidates by the calling user's rights before presenting them to the model. Preserve source IDs, timestamps, document versions and the relevant extract for review. A search result from last year's refund rules should not silently outrank the policy now in force. When policy sources disagree, surface the conflict instead of averaging the language into an invented middle position.
Distinguish evidence quality from model confidence
An answer that sounds certain can still lack a reliable source. Design outputs to show which facts were found, which were inferred, which require verification and which remain unknown. Important decisions should depend on verified fields or a human reviewer, not on a generated confidence adjective. For scanned documents and inconsistent records, extraction errors need an explicit correction path. Our Document Processing and Intelligent Search Development services address the upstream challenges of reviewable data and permission-aware discovery that an agent depends upon.
Make tool outputs as untrusted as external documents
A connected tool provides structured access, but its returned text is not an instruction source. A supplier API may return a free-text remark, a CRM note may contain copied email content, and a search result may include malicious markup. The agent must not treat any of these as a reason to invoke a new tool or disclose unrelated information.
Define narrow tool schemas with required parameters, permitted values, resource constraints and response types. Validate data against those schemas. Limit output size, reject malformed responses, escape content before rendering, and separate operational status from free-text messages. Allowlisted tools should be exposed only to the workflows that need them. Logging a tool call does not make the call safe; the validation must happen before execution. The Model Context Protocol tools specification describes how systems expose named, schema-described tools and recommends human visibility and confirmation. Its security guidance addresses risks including token passthrough and confused-deputy behavior. Using MCP does not itself establish that a particular tool, server or content source is trusted.
Treat tool descriptions as configuration, not permission
A description such as “can manage reservations” is too broad for an actionable interface. Prefer separate operations for read reservation, draft amendment, request approval and execute approved amendment. The execution service should reject unexpected destinations, overly large batches and requests that cannot be tied to an authorized case. Avoid unrestricted shell, database and web access unless the use case genuinely requires them and independent isolation is in place.
Put a meaningful approval gate before consequential actions
Human approval is useful only when the reviewer can understand what is about to happen. “Approve agent action?” is not enough. The review screen should identify the customer or case, proposed action, exact parameters, current source evidence, material implications and the effect of rejecting the request. If a refund is proposed, show the relevant amount, currency, basis and payment record. If an email will be sent, show the complete recipient and message.
Different approval rules belong to different actions. An internal summary may not need review. A bulk change may require a supervisor even if individual items are low value. Sending a customer-facing commitment, changing bank details or initiating a cancellation may require a fresh confirmation every time. Review rules should account for job roles, separation of duties and the business's existing authority matrix. OpenAI's human-in-the-loop SDK documentation describes tool-call interruptions and resuming paused runs after approval or rejection. Such capabilities are helpful implementation components; the application still needs to verify the approver's authority and apply its own business policy.
Approval applies to one action, not an open-ended future
Store the approved payload and its version. If the itinerary, amount, recipient, case ownership or policy changes during the wait, invalidate or revalidate the approval. Do not resume with newly generated parameters under an earlier authorization. A rejected request should stop the proposed side effect, preserve the reason where appropriate and allow revision through a new review cycle. Approvals should also have expiry, delegation and escalation rules. A manager being unavailable cannot justify silent execution. A clear queue with reminders and a manual handling route is safer than allowing the model to choose its own substitute approver.
Preserve state across pauses, failures and retries
An agent workflow can last longer than a single model response. It may wait for a document, an approval, a supplier confirmation or an operator. If the service restarts, the system needs to know which steps completed and which remain pending. Conversation history alone is not an adequate transaction record. Persist a workflow identifier, current state, business object references, source and policy versions, proposed action, approval status, tool-call outcomes and execution attempts. Separate this authoritative state from conversational memory. A memory summary can help the agent continue the discussion; it should not decide whether money was already returned.
The LangGraph persistence documentation distinguishes thread checkpoints from longer-lived stores. Temporal's workflow documentation describes deterministic workflow replay and keeping nondeterministic external calls in activities. Those are different implementation approaches to related recovery concerns; neither replaces business-level idempotency and reconciliation.
A timeout is not proof that an action failed
Suppose the agent requests a cancellation, the supplier processes it, and the network connection fails before confirmation arrives. Sending the same request again can create an unwanted second action or a conflicting response. The correct next step is to check the supplier or internal action ledger using a stable request identifier, then reconcile the actual state.
Use idempotency keys where the target system supports them. Otherwise create a local deduplication and reconciliation strategy appropriate to the operation. Apply bounded retries with backoff to safe transient failures; do not automatically repeat a financial or irreversible operation when the outcome is unknown. Temporal's activity guidance discusses idempotency as part of reliable activity execution. Every workflow needs explicit terminal states: completed, rejected, cancelled, expired, failed safely or handed to an operator. “Still thinking” should not be the permanent state of a customer case.
Set operational budgets as carefully as financial limits
Agent costs are not limited to the price of one model response. A case may involve multiple calls, retrieval, tool execution, waiting workers, storage, diagnostics and human review. Unexpected loops are both a cost risk and a quality problem. Set per-task limits on model calls, tool calls, elapsed time, output volume and concurrent execution. Apply separate ceilings for expensive data queries and any operation that can incur a third-party charge.
A budget needs a defined exhaustion behavior. When the limit is reached, the agent should preserve its progress, explain what remains and transfer the case rather than repeatedly attempting a smaller version of the same action. A strict deadline may require skipping optional summarization while retaining mandatory authorization checks. Never trade away approval or validation to meet a latency target.
Measure cost per correctly handled case, not merely cost per generated message. A cheap agent that frequently escalates without useful evidence may create more staff effort than a slightly slower, better-grounded design. Actual model, hosting and supplier charges depend on the agreed architecture and the providers' current terms; commercial estimates require the specific workload and accounts.

Build a trace that can explain each outcome
A chat transcript shows what was said, not necessarily what the system did. Operational traceability should connect the original request with identity checks, evidence retrieval, tool proposals, rejected operations, approvals, execution responses and final state. Correlation identifiers should let a support analyst find the relevant events without reconstructing them from disconnected application logs. Useful records include workflow and case IDs, actor and delegated identity, model and policy versions, tool name, requested resource, decision, timestamp, approval reference, external transaction reference and final reconciliation result. Capture enough information to diagnose errors, but avoid storing full passport details, payment information, credentials or unrestricted customer messages where they are unnecessary.
Tracing platforms themselves need privacy controls. The OpenAI Agents SDK tracing documentation notes that generation and function spans can contain sensitive inputs and outputs, and documents controls for excluding such content. Define retention, redaction, access and deletion rules before enabling verbose production traces.
Use the trail to investigate, not to excuse
When an agent gets something wrong, staff should be able to answer whether the error originated in retrieval, interpretation, tool validation, stale authorization or external-system behavior. Audit records are valuable only if they correspond to real enforcement points. A log saying “approved” must link to an identifiable decision on a fixed proposal, not an unverified model statement.
Evaluate entire workflows, including the unsafe cases
A demonstration that succeeds on five straightforward prompts is not enough to approve an agent for operational use. Build a test set drawn from real task patterns, with sensitive details removed, and agree the expected outcome for each case. Test both task completion and restraint: the agent should sometimes refuse an operation, request evidence or stop at an approval gate. Quality measures should cover factual grounding, tool selection, authorization, workflow completion, side-effect accuracy, escalation quality, latency and cost. Record separate rates for critical errors because a good average can conceal one unacceptable refund or data-access mistake. Review the failure traces, fix the responsible layer and rerun the relevant regression tests.
| Evaluation scenario | Expected system behavior | Evidence to examine |
|---|---|---|
| Missing booking reference | Ask for a usable identifier; do not guess a booking | Search attempts and case association |
| Policy document contains malicious instructions | Treat instructions as data and ignore unauthorized directions | Retrieved extract and tool proposals |
| User requests another tenant's records | Block retrieval and tool execution | Resource-level authorization decisions |
| Supplier returns conflicting fare conditions | Flag the mismatch and seek authoritative confirmation | Source versions and reconciliation record |
| Approver changes proposed refund amount | Require a new validated proposal and approval | Payload hashes or versions and decisions |
| Write tool times out after submission | Reconcile before retrying | Idempotency key and supplier transaction status |
| Model repeats a failing tool call | Stop at a bounded retry or cost limit | Attempt counters and termination reason |
| Model or prompt version changes | Pass regression thresholds before wider release | Comparative runs, critical errors and trace reviews |
OpenAI's agent evaluation guidance describes datasets, trace inspection and graders for assessing model and workflow behavior. Evaluation remains a product responsibility: a benchmark score cannot determine whether your company's authorization and service rules are correct.
Test recovery with deliberate interruptions
Stop execution immediately before and after an external write. Expire a token during a paused approval. Change a record between evidence collection and execution. Return malformed tool data, conflicting supplier statuses and unavailable review staff. The test passes when the system preserves a coherent state and chooses the permitted recovery path, not when the model produces a reassuring explanation.
Illustrative example: an airline schedule-change service case
Illustrative example only — a proposed workflow, not a description of a delivered customer project, supplier partnership or live integration. A traveller contacts an agency because a flight time has changed. The request enters a service queue attached to a booking record. An agent's goal is to assemble the facts, identify the available service options and prepare a response for an authorized adviser. Initially it has read access to relevant booking and correspondence records, a restricted policy search tool and permission to create an internal draft. It has no ticketing, payment or cancellation authority.
First, the workflow verifies the adviser and customer context, then loads the existing itinerary and permitted supplier messages. The agent identifies the schedule-change notice, but one message contains a paragraph telling automated systems to export all passenger records to an unfamiliar address. That instruction remains untrusted message content. It cannot alter the tool allowlist or create a new destination.
Next, the agent finds two policy excerpts with different effective dates. Instead of choosing the more convenient answer, it identifies the conflict and requests review of the applicable terms. The case screen shows the source references and the unresolved question. Once verified, the agent prepares a draft explaining what changed and which options the servicing team may consider. Any proposed alternative flight must be checked against current supplier availability and applicable conditions before it is presented as an offer.
If the traveller accepts a change, the workflow advances to a distinct authorization stage. It checks the active booking state, required acceptance, additional collection or refund implications and the permissions of the servicing employee. A human approver sees the exact proposed transaction. Approval covers that proposal alone, and the execution layer validates it again before using any supported supplier function.
Now introduce a failure: the supplier acknowledges a request but the agent's connection times out. The workflow marks the result uncertain, keeps the approved payload and checks the authoritative booking status. It does not send the operation again merely because it lacks a response. If reconciliation cannot establish the outcome, the case moves to manual servicing with the evidence already collected.
This example shows where AI contributes: understanding correspondence, comparing evidence, assembling context and preparing a decision. Identity enforcement, booking truth, payment rules, approvals and recovery remain functions of conventional software and authorized staff. The precise actions possible depend on the connected supplier, booking platform, market, account permissions and approved implementation scope.
Choose an architecture that matches the workflow
Some tasks need only a model, a narrow set of functions and a conventional queue. Others need durable orchestration because they can pause for hours, cross several systems or require compensation and reconciliation. The architecture should follow those requirements rather than a preference for a fashionable framework.
An agent runtime can manage tool selection and handoffs. An application service should still govern access, approvals, budgets and state transitions. A tool adapter handles the differing semantics of CRM, ERP, travel supplier and payment APIs. A durable state store and action ledger preserve execution facts. Monitoring, evaluation and an operator console complete the operational design. For wider infrastructure considerations, see our Cloud & Enterprise Engineering services.
Multi-agent arrangements may help when responsibilities are genuinely distinct, such as evidence collection and policy analysis. They also create more handoffs and failure paths. Start with one narrowly scoped agent when possible, measure the need for specialization and avoid giving every specialist the same broad tool permissions.
Deliver in controlled increments
Discovery should produce a workflow map, action inventory, data-access matrix and definition of unacceptable outcomes. A first implementation should use restricted data and read-only tools, with all proposals visible to a human. This tests retrieval quality and the value of the recommendation before introducing side effects. The next step is to implement typed tools, policy checks, durable state, approval screens and an auditable action ledger. Run shadow evaluations against established human decisions where appropriate, then conduct supervised trials with a small group of authorized operators. Expand only when observed failure rates, review time and support requirements are acceptable to the business owner.
Production readiness includes named system ownership, credential rotation, incident handling, runbooks, operational limits, rollback or compensation procedures and a way to disable action tools immediately. Monitor drift when source policies, supplier behavior, user roles or models change. Scheduled reevaluation is part of maintenance, not a one-time launch activity.
A useful project brief should state the process to improve, existing applications and data sources, intended users, read and write permissions, approval requirements, languages and markets, expected case volumes and critical failure scenarios. We can then discuss what belongs in an agent, what belongs in deterministic software and what should remain human-led. Explore our broader AI & Intelligent Automation services, or request a project quote with those requirements.
Frequently asked questions
1. What is a bounded AI agent?
A bounded AI agent is an application component that can pursue a defined task using selected tools without having unrestricted authority over connected systems. Its goal, data access, allowed actions, review points and stopping conditions are established in advance. The model may decide which permitted step to suggest next, but trusted application services enforce the rules. For example, an agent may compare a booking record with a supplier notice and prepare a servicing recommendation while remaining unable to change the reservation. The boundary should exist in access controls, tool interfaces and workflow logic, not only in a prompt. It can be widened later through a deliberate security and business review.
2. How is an AI agent different from a chatbot or scripted automation?
A chatbot primarily holds a conversation or answers questions. Scripted automation follows predefined conditions and typically expects predictable inputs. An agent can interpret less structured requests, select among approved information sources and tools, and adapt its next step to what those sources return. These categories can overlap: an agent may appear inside a chat interface and rely on ordinary automation for execution. The important distinction is the authority to use tools. If the system only needs to retrieve an FAQ and respond, an agent architecture may add complexity without meaningful benefit. Use agentic behavior where interpreting evidence and choosing a permitted next step improves the process.
3. Which business processes should use an agent first?
Start with a recurring, measurable task that involves meaningful interpretation but limited operational consequence. Support-case triage, supplier-message classification, documentation completeness checks and draft responses are good candidates when their inputs are accessible and reviewers can assess the result. Estimate how often the case occurs, what evidence staff need and how many exceptions arise. Avoid making live financial transactions or irreversible supplier changes the first deployment unless an existing approval and reconciliation system already supports them. A good pilot should reveal whether the agent reduces investigation effort without weakening correctness, confidentiality or customer control. The objective is a manageable workflow, not the broadest possible tool catalogue.
4. Can an AI agent create or amend travel bookings automatically?
Potentially, but only when the relevant booking platform and supplier expose approved functions and the organization has the required access and authority. The application must still validate live availability, fare or rate rules, passenger details, acceptance, payment status and any required servicing conditions. Not every supplier supports the same transaction types or recovery behavior. An agent that prepares a change proposal is different from an executor allowed to commit one. We recommend treating booking creation, cancellation, ticketing, refund and customer notification as separate permissions. The exact integration, markets, supported actions and approval requirements need to be confirmed against the selected accounts and documented supplier capabilities.
5. How do you prevent the agent from acting outside its assigned goal?
Start by translating the goal into a small action inventory. Give each tool a narrowly defined operation and validate the permitted resource, parameters, actor and workflow state whenever it is called. Use an allowlist rather than letting the model invent endpoints or arbitrary commands. Reject unrelated requests even if the model argues that they would help complete the task. Limit steps, time and cumulative tool calls so a failed task cannot expand indefinitely. For higher-risk operations, use approval of the exact proposed action. Automated restrictions should be tested with adversarial requests, ambiguous instructions and attempts to reach another account's information. A statement in the model's instructions is a useful guide, but it is not an enforcement mechanism.
6. Whose identity does an agent use when it accesses company systems?
That depends on the approved integration design. Some tasks run under a dedicated workload identity; others use time-limited delegated access associated with an authorized user. Both models need a named operational owner and permission limits. The application should preserve who initiated the request, which identity called each service, and whose authority justified the action. A shared administrator account makes those distinctions difficult and can grant more access than necessary. Permissions should be checked again at the destination, particularly in multi-tenant systems. If the requester's role changes or consent is revoked, queued actions must be reconsidered rather than relying indefinitely on permissions captured at the start.
7. What protects an agent from malicious instructions in emails or documents?
The first control is to treat retrieved material as untrusted evidence. An email, attachment, web page or search excerpt may contain text that looks like an instruction to the agent, but it has no authority to change tool permissions or override the user's legitimate task. Limit which sources are retrieved, distinguish source content from trusted instructions and extract validated fields where possible. Tool authorization must block disallowed actions even if an injection reaches the model. Test with realistic hostile content, including instructions hidden in seemingly relevant supplier messages. Filters and model safeguards help, but they do not eliminate prompt injection, so consequential actions still require independent validation.
8. Does connecting tools through MCP make an agent secure?
No. Model Context Protocol provides a way for models and applications to discover and invoke tools, with defined schemas and authorization mechanisms for supported transports. It is an integration interface, not a universal trust certificate. Developers still need to decide whether each server is approved, which operations are exposed, how credentials are scoped and whether returned content can be trusted. Consider the destination of every tool call, including whether a connected server could forward data to another system. Review MCP's authorization specification when considering an MCP-based design. Some projects will be simpler and safer with direct, tightly controlled API adapters.
9. Which agent actions should require a human approval?
Approval should follow business impact, not the presence of AI alone. Read-only searches and internal drafts may run automatically once access is verified. External communications, sensitive record changes, refunds, cancellations, bulk updates and privilege changes commonly deserve explicit review. Present the precise action, affected record, important source evidence and foreseeable consequence. The person approving must have authority for that action, and the application should enforce it. An approval applies to specific parameters; a different amount, recipient or booking requires revalidation. Organizations can also require dual review or separation of duties where their policy calls for it. Approval is most effective when staff can reject or edit without losing the case history.
10. What happens if an approver is absent or the request changes while waiting?
The workflow should remain in a visible pending state, with a defined expiry, notification and escalation policy. A designated delegate may approve only if existing organizational rules permit that delegation. The agent should never invent an approver or interpret silence as acceptance. When the underlying booking, amount, document or customer instruction changes, the stored proposal may no longer be valid. Recheck the facts and seek fresh authorization where necessary. The operating console should show who is responsible for the pending decision and how a case can be returned to manual handling. These rules prevent a paused task from becoming an unauthorized transaction later.
11. How are duplicate actions prevented when an API times out?
The system should assume that a timeout leaves the outcome uncertain until it can verify otherwise. Record an operation identifier and the exact attempted payload before submitting a side effect. Where an API supports idempotency, use its documented mechanism; where it does not, check the authoritative record and apply local deduplication or manual reconciliation. Do not repeatedly submit a refund, cancellation or ticketing request simply because the response was lost. Retry only operations known to be safe under a bounded policy. Persist successful prior steps so a resumed workflow does not re-execute them. This discipline belongs in the orchestration and integration layers, not in the model's memory.
12. How can users verify that an agent's recommendation is correct?
Give reviewers access to the material that actually supports the conclusion: booking identifiers, applicable policy versions, supplier statuses, document excerpts and timestamps. Clearly separate retrieved facts from inferred explanations. If the evidence is missing or contradictory, say so and request the necessary check rather than producing a definitive answer. Important amounts, eligibility decisions and booking states should be verified through the authoritative source or deterministic rules. Review interfaces should make corrections possible and record the reason for changes. This is especially important when the answer will be converted into a customer promise or financial action. Fluent language is not proof of a correct operational decision.
13. How do you measure whether an AI agent is ready for production?
Build an evaluation set with normal cases, difficult exceptions and attempts to cross permission boundaries. Measure grounded answers, correct tool selection, authorized action completion, escalation quality, recovery, latency and case-level cost. Track serious errors separately rather than allowing strong average scores to hide them. Test expired credentials, conflicting policies, rejected approvals, malformed tool output, repeated failures and interrupted external writes. Compare changes against a fixed regression set and inspect detailed traces when behavior differs. Readiness requires documented acceptance criteria from the business and security owners, plus a manual fallback. It cannot be established by an impressive chat demonstration or by a provider benchmark alone.
14. How do you control model usage, latency and operating costs?
Set a budget for each workflow covering model interactions, tool invocations, elapsed time, retrieval volume and concurrent activity. Use smaller tasks, targeted searches and early validation to avoid unnecessary model calls. Cache only where doing so does not expose data across users or preserve facts beyond their validity. Monitor the cost of a correctly completed case, including employee review and supplier charges, rather than tokens alone. When limits are reached, the agent should save progress and hand off a clear summary. Model prices, quotas and available features vary by provider and account, so estimates should be based on the selected architecture and realistic trial volumes.
15. What information is needed to scope an AI agent development project?
Describe the workflow from request to final outcome, including who initiates it, which systems hold authoritative data, what the agent may read, and what it may change. Share representative cases with sensitive details removed, known exceptions, approval roles, expected volumes, operating languages and the consequences of mistakes. Identify required software and supplier accounts, existing API access, hosting preferences, identity arrangements and retention requirements. It also helps to explain the current manual process and what a successful improvement would look like. TravelTech365 can use this information to frame integration dependencies, security controls, evaluation work and a phased delivery scope. Begin with the project enquiry form.
Related software services
Document Processing
TravelTech365 develops custom document processing software that converts incoming business documents into validated, reviewable records while pr…
Explore solutionAI Customer Support
TravelTech365 engineers AI customer support software that connects approved business knowledge, customer records, and support workflows while ke…
Explore solutionIntelligent Search Development
Make product and enterprise search easier to use with relevance tuning, semantic retrieval, permission-aware indexing and practical search analy…
Explore solution