<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AI Agents Archives - Arcentra Systems</title>
	<atom:link href="https://arcentra.systems/tag/ai-agents/feed/" rel="self" type="application/rss+xml" />
	<link>https://arcentra.systems/tag/ai-agents/</link>
	<description>AI infrastructure built for production</description>
	<lastBuildDate>Tue, 06 Oct 2026 12:17:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://arcentra.systems/wp-content/uploads/2026/06/cropped-favicon-32x32.webp</url>
	<title>AI Agents Archives - Arcentra Systems</title>
	<link>https://arcentra.systems/tag/ai-agents/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How Enterprise AI Is Observed and Evaluated</title>
		<link>https://arcentra.systems/architecture/how-enterprise-ai-is-observed-and-evaluated/</link>
		
		<dc:creator><![CDATA[Arcentra Systems]]></dc:creator>
		<pubDate>Fri, 25 Sep 2026 18:45:23 +0000</pubDate>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[AI Agents]]></category>
		<category><![CDATA[AI Evaluation]]></category>
		<category><![CDATA[AI Observability]]></category>
		<category><![CDATA[Enterprise AI]]></category>
		<category><![CDATA[RAG]]></category>
		<guid isPermaLink="false">https://arcentra.systems/?p=506</guid>

					<description><![CDATA[<p>An AI assistant can answer quickly and still be wrong. Learn how traces, retrieval checks, answer evaluation and verified tool outcomes help engineers find the failed step.</p>
<p>The post <a href="https://arcentra.systems/architecture/how-enterprise-ai-is-observed-and-evaluated/">How Enterprise AI Is Observed and Evaluated</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Enterprise AI Systems, Explained — Part 7</strong></p>
<p>An AI assistant answers a contract question in two seconds. The request succeeds. The model uses few tokens. Every service looks healthy.</p>
<p>The answer is still wrong.</p>
<p>Imagine an employee asks: “How much notice do we need to stop this contract renewing?” The assistant says 30 days. A signed amendment changed the notice period to 60 days.</p>
<p>Nothing crashed. But the system failed at the job the employee needed it to do.</p>
<p>This is why enterprise AI needs both observability and evaluation. Observability helps you understand what happened. Evaluation checks whether the result met a defined standard. You need both to find the mistake and judge whether a change fixes it.</p>
<h2>Observability and evaluation answer different questions</h2>
<p>Observability uses evidence from a running system: requests, timings, errors, retrieved document references and tool operations. It helps an engineer reconstruct a request and investigate its behaviour.</p>
<p>Evaluation applies checks to that behaviour or its result. Did retrieval find the amendment? Did the answer use it correctly? Was the employee allowed to access it?</p>
<p>The two overlap. An evaluation score can appear beside a trace. A failed evaluation can point to a slow or broken retrieval step. But a fast request is not evidence of a correct answer, and a correct answer in one test is not evidence that the service is reliable.</p>
<p><a href="https://arcentra.systems/wp-content/uploads/2026/09/how-enterprise-ai-is-observed-and-evaluated-16x9-1.webp">Open the observability and evaluation diagram at full size</a>.</p>
<h2>Follow one request through the system</h2>
<p>A trace connects recorded operations belonging to a request. Each operation is represented by a span: a unit of work with a start time, an end time and relevant attributes. Retrieving contract passages, calling a model and creating a reminder can each have their own span. This is the basic structure described in <a href="https://opentelemetry.io/docs/concepts/signals/traces/">OpenTelemetry’s tracing documentation</a>.</p>
<p>For our contract question, useful evidence includes:</p>
<ul>
<li>Which application release and prompt version handled the request.</li>
<li>Which document versions and passages retrieval selected.</li>
<li>Which model was requested and which model the provider reported.</li>
<li>How long each recorded step took, including retries.</li>
<li>Whether a tool operation succeeded, failed or remained pending.</li>
</ul>
<p>Metrics summarize many requests: error rates, response-time distributions and token usage. Logs and events record particular occurrences, such as a timeout or approval decision. Correlation IDs let you connect those records when investigating a specific case.</p>
<p><a href="https://github.com/open-telemetry/semantic-conventions-genai">OpenTelemetry’s GenAI conventions</a> provide shared names for AI-related telemetry. Their status and instrumentation support vary; check the convention version your libraries implement instead of assuming every tool exports identical fields.</p>
<h2>Find the failed step, not just the bad answer</h2>
<p>Return to the 30-day answer. Several different failures could produce it.</p>
<p><strong>The amendment never reached the index.</strong> The ingestion pipeline missed it. Changing the answer prompt will not make a missing document appear.</p>
<p><strong>The amendment was indexed but not retrieved.</strong> Search selected the original agreement. Investigate indexing, filters, ranking and document relationships.</p>
<p><strong>The right evidence reached the model, but the answer ignored it.</strong> Now investigate how the context was assembled and how the model interpreted it.</p>
<p><strong>The answer was correct, but the action failed.</strong> If the assistant also promised to create a reminder, check whether the reminder exists with the right date and owner. “Done” in a chat message is not confirmation from the business system.</p>
<p>Keep retrieval quality, answer quality and action outcome separate. <a href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/rag-evaluators">Microsoft’s RAG evaluation guidance</a> makes a similar distinction between checking retrieved context and checking the generated response.</p>
<h2>Define what a good result looks like</h2>
<p>“The answer sounds reasonable” is too vague to be a test.</p>
<p>For this example, a useful test case specifies the question, the employee’s access scope, the agreement and amendment versions, and the expected behaviour:</p>
<ul>
<li>State the 60-day notice period and cite the applicable amendment.</li>
<li>Do not confuse notice before renewal with the renewal date itself.</li>
<li>If the necessary document is unavailable, explain the limitation instead of inventing a number.</li>
<li>If a reminder is requested, follow the required approval flow and verify the resulting record.</li>
</ul>
<p>Use separate checks for correctness, supporting evidence, completeness and permitted behaviour. An answer may be faithful to an outdated source and still be wrong for today’s task. Groundedness measures support in the supplied evidence, not whether that evidence is current or authoritative. <a href="https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/rag/rag-llm-evaluation-phase">Microsoft’s end-to-end evaluation guide</a> explains why multiple quality measures must be considered together.</p>
<h2>Test before release, then check production</h2>
<p><strong>Offline evaluation</strong> runs known test cases against a candidate version before users depend on it. Compare the current and proposed configurations on the same cases.</p>
<p>Version the cases, expected results and scoring rules. Record the model, prompt, retrieval configuration, index snapshot or document versions, and tool versions where relevant. Otherwise, a score change may come from different source data rather than your code change.</p>
<p>Include missing documents, ambiguous questions, conflicting versions and denied access. Reserve a separate holdout set that is not used to tune prompts. If you repeatedly adjust the system to pass every known question, passing those questions becomes weaker evidence of general improvement.</p>
<p><strong>Online evaluation</strong> checks production behaviour, often on sampled requests. It can reveal new question types and failures that the test set missed. <a href="https://mlflow.org/docs/latest/genai/eval-monitor/automatic-evaluations/">MLflow’s documentation</a> describes production evaluation alongside offline regression and pre-release testing.</p>
<p>Online does not have to mean blocking every response. Many checks can run asynchronously after a request finishes. Required permission checks and approvals still belong in the execution path; a later evaluation cannot undo an unauthorized action.</p>
<h2>Who checks the answers?</h2>
<p>Use code for properties that can be checked precisely: a required field, an expected date, a valid citation reference or a record created in a test system.</p>
<p>Use a model-based judge for checks that need language interpretation, such as whether an answer addresses the question. Give it explicit criteria and the evidence it needs.</p>
<p>A judge can also be wrong. Compare its decisions with domain reviewers, inspect disagreements and version its instructions and model. A high score from another model is not proof of correctness. <a href="https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/evaluate-judge-model">Google’s judge evaluation guidance</a> explicitly compares model ratings with human ratings.</p>
<p>For agents, inspect the resulting state as well as the conversation. Repeat important cases when behaviour varies between runs, and do not confuse one successful attempt with consistent performance. <a href="https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents">Anthropic’s agent evaluation guide</a> describes combining code-based, model-based and human checks.</p>
<h2>Do not turn telemetry into another data leak</h2>
<p>Debugging does not require copying every contract and conversation into a general-purpose dashboard.</p>
<p>Start with timings, statuses, versions and access-controlled references. Collect raw prompts, passages and tool results only when the purpose requires them, with appropriate access restrictions and retention. A judge also processes data: decide what it may receive and where that processing happens.</p>
<p>Never record credentials or access tokens. Review what instrumentation captures automatically. Redaction helps, but it is not a reason to collect everything first. These choices follow <a href="https://opentelemetry.io/docs/security/handling-sensitive-data/">OpenTelemetry’s data-minimization guidance</a>.</p>
<p>Sampling matters too. Reviewing only user complaints will not estimate overall quality. Reviewing only a small random sample may miss rare, serious failures. Use routine sampling plus targeted checks for high-risk paths, and report which population each result represents.</p>
<h2>Turn the evidence into a decision</h2>
<p>Suppose the trace shows that the amendment was retrieved but removed while assembling the model’s context. Fix that step, add the incident as a regression case and rerun the relevant tests. Then check sampled production requests to see whether the failure returns.</p>
<p>Compare results by task type and version, not just one overall average. Show the sample count. A headline pass rate can hide that contract amendments fail while simple summaries work.</p>
<p>The practical loop is: observe the request, evaluate the result, locate the failure, change the responsible component and test again. Telemetry supplies evidence. Evaluation turns defined expectations into checks. Together, they make improvement something you can investigate rather than guess.</p>
<h2>Continue the series</h2>
<p>Previous: <a href="https://arcentra.systems/architecture/how-identity-and-authorization-work-in-enterprise-ai/">Part 6 — How Identity and Authorization Work in Enterprise AI</a>.</p>
<p>Next: Part 8 — How the Whole Enterprise AI Platform Fits Together.</p>
<p>The post <a href="https://arcentra.systems/architecture/how-enterprise-ai-is-observed-and-evaluated/">How Enterprise AI Is Observed and Evaluated</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How AI Agents and Tools Work</title>
		<link>https://arcentra.systems/architecture/how-ai-agents-and-tools-work/</link>
		
		<dc:creator><![CDATA[Arcentra Systems]]></dc:creator>
		<pubDate>Tue, 15 Sep 2026 09:56:17 +0000</pubDate>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Agent Architecture]]></category>
		<category><![CDATA[AI Agents]]></category>
		<category><![CDATA[Enterprise AI]]></category>
		<category><![CDATA[MCP]]></category>
		<category><![CDATA[Tool Use]]></category>
		<guid isPermaLink="false">https://arcentra.systems/?p=481</guid>

					<description><![CDATA[<p>An AI agent is a runtime loop around a language model and approved tools. Follow a task through model decisions, policy checks, execution, observations and safe completion.</p>
<p>The post <a href="https://arcentra.systems/architecture/how-ai-agents-and-tools-work/">How AI Agents and Tools Work</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Enterprise AI Systems, Explained — Part 5</strong></p>
<p>An AI agent is not a language model with a longer prompt. It is a software system that lets a model choose the next step, use approved tools, inspect the result and continue until a task is complete.</p>
<p>The distinction matters. A model can suggest that a ticket should be created. An agent can request the ticketing tool, provide structured arguments and use the returned ticket ID in its next step. The model proposes the action; the runtime validates and orchestrates it, while the tool service and target system enforce authorization and perform the operation.</p>
<p>This article follows that loop from a user&#8217;s goal to a verified result. It also shows where identity, permissions, approvals and recovery belong.</p>
<p><a href="https://arcentra.systems/wp-content/uploads/2026/09/how-ai-agents-and-tools-work-1.webp">Open the agent loop diagram at full size</a>.</p>
<h2>A small example</h2>
<p>Suppose an engineer asks an internal operations agent:</p>
<blockquote>
<p>Find out why payment authorization failures increased after the last deployment. If a configuration change is responsible, prepare a rollback for review.</p>
</blockquote>
<p>A chatbot can describe possible causes. An agent can work through the task:</p>
<ol>
<li>look up the latest payment-service deployment;</li>
<li>query the relevant error and latency metrics;</li>
<li>compare the deployment change with the incident window;</li>
<li>read the approved runbook;</li>
<li>prepare a rollback change;</li>
<li>stop and ask an authorized engineer to approve execution.</li>
</ol>
<p>No single model response completes this job. It requires several decisions, several tools and new information after each step.</p>
<h2>What makes a system an agent?</h2>
<p>The word <em>agent</em> is used loosely. A useful engineering definition is:</p>
<blockquote>
<p>An agent is a system in which a model helps control the execution of a multi-step task and can select tools in response to the current state.</p>
</blockquote>
<p>The surrounding system normally contains five parts:</p>
<ul>
<li><strong>Model:</strong> interprets the goal and proposes the next step.</li>
<li><strong>Instructions:</strong> describe the task, boundaries and completion conditions.</li>
<li><strong>Tools:</strong> typed operations for reading data or changing an external system.</li>
<li><strong>Runtime:</strong> maintains state, calls the model, validates requests, executes tools and applies limits.</li>
<li><strong>Environment:</strong> the files, services, networks and credentials available to the runtime.</li>
</ul>
<p>The model is important, but the agent is the complete system. Changing the tool permissions or execution environment can change what an agent is capable of even when the model stays the same.</p>
<h2>What is a tool?</h2>
<p>A tool is a controlled interface between the agent runtime and another capability. It can read information, perform computation or request a change.</p>
<p>Examples include:</p>
<ul>
<li><code>get_deployment(service, environment)</code></li>
<li><code>query_metrics(service, metric, start_time, end_time)</code></li>
<li><code>search_runbooks(query, service)</code></li>
<li><code>create_change_request(service, proposed_change)</code></li>
<li><code>execute_approved_rollback(change_id)</code></li>
</ul>
<p>Each tool has a name, a description and a schema that defines its allowed arguments. The model sees that contract and may produce a structured tool request. The runtime then checks the request and invokes the actual function or API.</p>
<p>This is different from giving the model unrestricted shell access, database credentials or a general-purpose administrative API. Good tools expose the smallest operation needed for a task and keep credentials outside the model context.</p>
<h2>The agent loop, step by step</h2>
<h3>1. Receive the goal with identity</h3>
<p>The request enters the runtime with the authenticated user, tenant, role and relevant application context. Identity is not decoration added after the model has chosen an action. It determines which information and tools are available from the beginning.</p>
<p>In the incident example, a support analyst might be allowed to read metrics but not prepare a production rollback. A platform engineer may prepare one, while a separate production owner must approve execution.</p>
<h3>2. Assemble the current state</h3>
<p>The runtime builds the model input from the user&#8217;s goal, system instructions, available tool descriptions and the observations collected so far.</p>
<p>State may include deployment identifiers, retrieved documents, tool errors, approval status and a compact summary of earlier steps. Long-running work also needs durable checkpoints outside the model context so it can resume after a timeout, restart or human review.</p>
<h3>3. Let the model propose the next step</h3>
<p>Given the current state, the model can usually do one of four things:</p>
<ul>
<li>answer or produce a final result;</li>
<li>ask the user for missing information;</li>
<li>request a tool call;</li>
<li>stop because the task is complete, blocked or unsafe.</li>
</ul>
<p>For the incident, the first decision might be a request to call <code>get_deployment</code>. The response should contain the selected tool and arguments, not a claim that the deployment was already inspected.</p>
<h3>4. Apply policy before execution</h3>
<p>A tool request is a proposal, not authorization. The runtime checks it against deterministic controls:</p>
<ul>
<li>Is this tool available to this user and tenant?</li>
<li>Are the arguments valid and within scope?</li>
<li>Is the action read-only, reversible or destructive?</li>
<li>Does it require approval?</li>
<li>Has the agent exceeded its time, cost or action limits?</li>
</ul>
<p>If the answer is no, the tool is not executed. A prompt such as &#8220;only use tools you are allowed to use&#8221; is helpful guidance, but it is not an access-control mechanism.</p>
<p>The policy gate is an additional control, not a replacement for authorization in the target system. The database, ticketing platform, payment service or deployment API must still verify the calling identity and permitted operation at its own boundary.</p>
<h3>5. Execute through the tool layer</h3>
<p>A tool adapter or executor translates the approved request into the actual API call, database query or sandboxed operation. It supplies credentials, applies timeouts and normalizes the result.</p>
<p>The model should not receive long-lived secrets. The runtime or tool service owns those credentials and uses them only for the authorized operation.</p>
<h3>6. Return an observation</h3>
<p>The tool returns an observation: data, a confirmation, an error or a new external state. The runtime records the result and provides the relevant portion to the model for the next decision.</p>
<p>Tool output must be treated as untrusted input. A web page, document, ticket or repository can contain text that attempts to instruct the model to ignore its rules or call another tool. Retrieved text is data; it does not gain authority because an agent read it.</p>
<h3>7. Repeat or stop</h3>
<p>The model evaluates the observation and chooses another step. It might query a second metric, inspect a runbook, correct a failed tool call or ask for approval.</p>
<p>The loop needs explicit stopping conditions. Stop when the result is verified, the maximum number of steps is reached, a required approval is missing, the next action is unsafe, or the available evidence cannot support a reliable conclusion.</p>
<h2>A tool call is not the action itself</h2>
<p>This is the most important boundary in the architecture.</p>
<p>The model might produce a request resembling:</p>
<pre><code>{
  "tool": "create_change_request",
  "arguments": {
    "service": "payment-api",
    "proposed_change": "restore timeout_ms from 5000 to 2000"
  }
}</code></pre>
<p>That output does not change production. The runtime still has to validate the schema, verify the service scope, confirm that the user may prepare a change and call the change-management API. The tool result might then return:</p>
<pre><code>{
  "change_id": "CHG-1842",
  "status": "awaiting_approval"
}</code></pre>
<p>The next model response can explain what was prepared and who must approve it. It must not claim that the rollback has run.</p>
<h2>Read tools and action tools need different controls</h2>
<p>Not every tool carries the same risk.</p>
<ul>
<li><strong>Read tools</strong> retrieve documents, metrics, records or system state.</li>
<li><strong>Computation tools</strong> run code or transform data in a controlled environment.</li>
<li><strong>Action tools</strong> send messages, change records, deploy software, move money or alter infrastructure.</li>
</ul>
<p>Read access can still expose sensitive data, so it requires identity and filtering. Action tools add side effects and need stronger safeguards. A practical policy can allow routine reads automatically, require confirmation for reversible writes and prohibit high-impact actions unless a separate approval workflow authorizes them.</p>
<h2>Why narrow tools work better</h2>
<p>A general tool called <code>call_internal_api(method, url, body)</code> is powerful but difficult to govern and difficult for a model to use reliably. A narrow tool called <code>get_payment_incident_metrics</code> is easier to describe, validate, authorize and test.</p>
<p>Useful tool design includes:</p>
<ul>
<li>a precise name and description;</li>
<li>a small input schema with meaningful field descriptions;</li>
<li>explicit required fields and allowed values;</li>
<li>bounded, structured output;</li>
<li>clear error messages the agent can act on;</li>
<li>stable identifiers rather than ambiguous display names;</li>
<li>pagination and result limits;</li>
<li>idempotency support for operations that may be retried.</li>
</ul>
<p>Tool design is part of agent engineering. A stronger model cannot fully compensate for a vague or unsafe interface.</p>
<h2>Retries, partial failure and duplicate actions</h2>
<p>Multi-step tasks fail in ordinary ways: APIs time out, credentials expire, a service returns stale data, or the process restarts after an action succeeded but before the result was recorded.</p>
<p>Read operations can often be retried safely. Write operations need more care. If an agent repeats <code>send_payment</code> after a timeout, it must not create a second transfer. Use idempotency keys, durable operation IDs and status checks so the runtime can determine whether an earlier attempt already completed.</p>
<p>For workflows with several side effects, define recovery explicitly. Some operations can be reversed; others require a compensating action or human intervention. &#8220;Ask the model to try again&#8221; is not a transaction strategy.</p>
<h2>Workflows and agents are not the same thing</h2>
<p>A workflow follows a path defined in code. An agent allows the model to choose parts of that path dynamically.</p>
<p>If every incident investigation always performs the same five queries in the same order, use a workflow. It is easier to test, cheaper to run and more predictable.</p>
<p>An agent is useful when the required steps depend on what it discovers: the affected service is unknown, different evidence leads to different tools, or the number of investigation steps cannot be fixed in advance.</p>
<p>Many production systems combine both approaches. Code defines the major stages and security boundaries; an agent makes bounded decisions inside one stage.</p>
<h2>Where MCP fits</h2>
<p>The Model Context Protocol, or MCP, standardizes how compatible clients discover and call tools exposed by servers. A tool definition includes a name, description and input schema; a tool result can return structured or unstructured content.</p>
<p>MCP can reduce custom integration work, but it does not decide which tools an employee should be allowed to use, whether a production action needs approval, or whether a tool&#8217;s implementation is safe. Those remain responsibilities of the application, identity platform, policy layer and tool service.</p>
<p>Protocol compatibility is not the same as trust. Connect only approved servers, validate their tool definitions and results, and apply the same least-privilege controls used for any other integration.</p>
<h2>Identity must reach the tool boundary</h2>
<p>An enterprise agent should not turn many users into one invisible shared service account.</p>
<p>The tool layer needs enough identity context to enforce the same business permissions that apply outside the agent. Depending on the system, this can use delegated user authorization, a workload identity with tightly scoped policy, or a controlled combination of both.</p>
<p>At minimum, record:</p>
<ul>
<li>who requested the task;</li>
<li>which agent and version handled it;</li>
<li>which identity called each tool;</li>
<li>which policy allowed or denied the call;</li>
<li>who approved a sensitive action;</li>
<li>what external object or operation was created.</li>
</ul>
<p>The next article in this series explains <a href="https://arcentra.systems/architecture/how-identity-and-authorization-work-in-enterprise-ai/">how identity and authorization work in enterprise AI</a>.</p>
<h2>What should be observed?</h2>
<p>A production trace should make the execution reconstructable without collecting unnecessary sensitive content. Capture:</p>
<ul>
<li>task and trace identifiers;</li>
<li>model, instruction and tool versions;</li>
<li>tool selections and validated arguments, with secrets and sensitive fields redacted;</li>
<li>policy decisions and approvals;</li>
<li>tool latency, retries and errors;</li>
<li>token, compute and external API cost;</li>
<li>completion reason and verified outcome.</li>
</ul>
<p>Operational tracing does not require storing private model reasoning. Record the observable decisions, tool calls, evidence and outcomes needed to debug and audit the system.</p>
<h2>How to evaluate an agent</h2>
<p>A fluent final answer is not enough. Agent evaluation should test the full trajectory: the sequence of decisions and actions that led to the result.</p>
<p>Useful questions include:</p>
<ul>
<li>Did the agent complete the intended task?</li>
<li>Did it choose the correct tools?</li>
<li>Were the tool arguments valid?</li>
<li>Did it avoid unnecessary calls and loops?</li>
<li>Did it respect tenant and user permissions?</li>
<li>Did it request approval before a sensitive action?</li>
<li>Did it recover correctly from timeouts and tool errors?</li>
<li>Did it stop when evidence was insufficient?</li>
<li>Was the latency and cost acceptable?</li>
</ul>
<p>Test normal tasks, ambiguous instructions, unavailable tools, malicious tool output, partial failures and attempts to cross authorization boundaries.</p>
<h2>A practical production checklist</h2>
<ul>
<li>Use an agent only when the path genuinely needs dynamic decisions.</li>
<li>Give each tool a narrow purpose and typed schema.</li>
<li>Keep credentials outside model context.</li>
<li>Authorize tool calls at execution time and enforce permissions again at the target resource.</li>
<li>Separate read, write and destructive capabilities.</li>
<li>Require approval for high-impact actions.</li>
<li>Treat documents and tool results as untrusted input.</li>
<li>Use sandboxes and network restrictions for code execution.</li>
<li>Add time, cost and iteration limits.</li>
<li>Make writes idempotent and define recovery.</li>
<li>Checkpoint long-running tasks.</li>
<li>Trace decisions, tool calls, policy outcomes and external side effects.</li>
<li>Evaluate complete task trajectories, not only final text.</li>
</ul>
<h2>The complete sequence</h2>
<p>The basic runtime path is:</p>
<p><strong>Goal and identity -&gt; runtime assembles state -&gt; model proposes a response or tool call -&gt; policy validates it -&gt; tool executes -&gt; observation returns -&gt; state is updated -&gt; the loop repeats or stops.</strong></p>
<p>An agent becomes useful when tools connect language-model decisions to real systems. It becomes operable when the surrounding runtime keeps those decisions bounded, authorized, recoverable and observable.</p>
<p>Start with <a href="https://arcentra.systems/architecture/how-enterprise-ai-systems-work/"><em>How Enterprise AI Systems Work</em></a>, Part 1 of the series.</p>
<h2>Sources and further reading</h2>
<ul>
<li><a href="https://www.anthropic.com/engineering/building-effective-agents">Anthropic: Building effective agents</a></li>
<li><a href="https://www.anthropic.com/engineering/writing-tools-for-agents">Anthropic: Writing effective tools for agents</a></li>
<li><a href="https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/">OpenAI: A practical guide to building agents</a></li>
<li><a href="https://modelcontextprotocol.io/specification/2025-11-25/server/tools">Model Context Protocol specification: Tools</a></li>
<li><a href="https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization">Model Context Protocol specification: Authorization</a></li>
</ul>
<p>The post <a href="https://arcentra.systems/architecture/how-ai-agents-and-tools-work/">How AI Agents and Tools Work</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How Enterprise AI Systems Work</title>
		<link>https://arcentra.systems/architecture/how-enterprise-ai-systems-work/</link>
		
		<dc:creator><![CDATA[Arcentra Systems]]></dc:creator>
		<pubDate>Sun, 06 Sep 2026 19:57:13 +0000</pubDate>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[AI Agents]]></category>
		<category><![CDATA[AI Architecture]]></category>
		<category><![CDATA[Enterprise AI]]></category>
		<category><![CDATA[LLM Gateway]]></category>
		<category><![CDATA[RAG]]></category>
		<guid isPermaLink="false">https://arcentra.systems/?p=444</guid>

					<description><![CDATA[<p>A language model is only one part of an enterprise AI system. Follow a question from the application through company data, access checks and retrieval to an answer or an approved action.</p>
<p>The post <a href="https://arcentra.systems/architecture/how-enterprise-ai-systems-work/">How Enterprise AI Systems Work</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Enterprise AI Systems, Explained · Part 1</strong></p>
<p><a href="https://arcentra.systems/wp-content/uploads/2026/09/how-enterprise-ai-systems-work-v3.webp">Open the enterprise AI diagram at full size</a>.</p>
<p>When people talk about enterprise AI, the discussion often jumps straight to models: GPT, Claude, Gemini or a model running inside the company.</p>
<p>But the model is only one part of the system.</p>
<p>A large language model, or LLM, can interpret a request and generate text. By itself, it has no reliable access to the company’s current documents and cannot enforce user permissions or safely operate business systems.</p>
<p>To use AI in a real organization, engineers have to build a complete system around the model.</p>
<p>Take a simple question: “Which termination conditions are included in our supplier contract?” Something must find the right contract, check that the employee may read it, and give the relevant passages to the model. We will follow that path, then look at what changes when the assistant also needs to perform an action.</p>
<p>This is a reference design for a knowledge assistant that can also use business tools, not a mandatory checklist for every AI application. Classification, extraction or a small internal assistant may need only some of these components. A separate gateway, vector index and agent loop are architectural choices, not prerequisites.</p>
<h2>What is an enterprise AI system?</h2>
<p>In this series, an enterprise AI system is an application built around a language model, with the data access, permissions and operational controls needed for use inside an organization.</p>
<p>For this knowledge-and-tools reference design, the components include:</p>
<ul>
<li>user-facing applications;</li>
<li>identity and access control;</li>
<li>search over company data;</li>
<li>RAG;</li>
<li>an LLM gateway;</li>
<li>one or more language models;</li>
<li>agents and tools;</li>
<li>evaluation, monitoring and audit.</li>
</ul>
<p>Each component has a different job. Search finds information. Authorization decides who may see it. The gateway controls model access. The model generates an answer. An agent can request an action. Observability records what happened.</p>
<p>These parts can belong to one application. When several teams need the same capabilities, some can become shared platform services.</p>
<h2>The system has two main flows</h2>
<p>The architecture becomes easier to understand when we separate two different processes:</p>
<ol>
<li>preparing company knowledge;</li>
<li>processing a live user request.</li>
</ol>
<p>The first process prepares the searchable index and keeps it up to date. The second starts when a user asks a question. In the diagram, the upper row prepares knowledge. The central row handles the request, and the lower branch executes approved tool calls. The retrieval arrow shows evidence returning to the orchestrator, which requested the search.</p>
<h2>Preparing company knowledge</h2>
<p>Suppose a company wants an assistant to answer questions about policies, contracts, technical documentation and its internal knowledge base.</p>
<p>The language model does not automatically know these documents. The information has to be collected, prepared and indexed.</p>
<h3>Data sources</h3>
<p>Company information may live in file stores, databases, document systems, wikis, CRM platforms, Git repositories and internal APIs.</p>
<p>The ingestion pipeline—the process that imports data—connects to approved sources and reads the documents or records that may be used by the AI system. It must also track changed documents, deletions and changes to access permissions.</p>
<h3>Chunking and metadata</h3>
<p>Sending a whole document for every question can waste input space and make useful details harder to find. This design splits large documents into smaller meaningful sections called chunks.</p>
<p>A contract, for example, may be divided into payment terms, responsibilities, termination clauses and appendices.</p>
<p>Each chunk keeps metadata: fields such as its source, version, date and access rules. In a shared service, a tenant identifies the organization or account whose data must remain separate. These fields let the system filter results and show where an answer came from.</p>
<h3>Embeddings</h3>
<p>Each chunk can then be converted into an embedding: a list of numbers that roughly represents its meaning.</p>
<p>This can help a search for “leaving a supplier agreement early” find a passage about “termination for convenience,” even though the wording differs. Similarity helps find candidates; it does not prove that they answer the question.</p>
<h3>Vector search</h3>
<p>The embeddings are stored in a vector index. A user’s question is converted into a compatible embedding and compared with the indexed vectors.</p>
<p>If you have heard of <a href="https://qdrant.tech/documentation/overview/">Qdrant</a>, this is where it fits: it is a vector database, not the language model and not the whole RAG system. It stores vectors and associated metadata and supports similarity searches with filters. The searchable record also needs the original passage text or a reference to it. Other databases and search engines can fill this role too.</p>
<p>Production systems often combine vector search with ordinary keyword search and metadata filters. Meaning is useful, but exact names, identifiers, dates and permissions still matter.</p>
<h2>Processing a live request</h2>
<p>Now consider a user asking:</p>
<blockquote>
<p>Which termination conditions are included in our supplier contract?</p>
</blockquote>
<p>It may look like the application simply sends this question to a model. A reliable enterprise system performs several additional steps.</p>
<h3>1. The application receives the request</h3>
<p>The user may be working in a company chat, portal, CRM, support system, mobile application or a specialized AI interface.</p>
<p>The application owns the user experience and the business process. It knows what the user is trying to do, what inputs are required and what a successful outcome means.</p>
<p>In a shared-platform design, it calls common services for model access and retrieval. In a small application, those components may live in the same codebase.</p>
<h3>2. Identity and authorization are checked</h3>
<p>Before searching documents or calling a model, the system needs to know:</p>
<ul>
<li>who made the request;</li>
<li>which organization and team they belong to;</li>
<li>which information they may access;</li>
<li>which models and tools they may use;</li>
<li>which actions they are allowed to perform.</li>
</ul>
<p>If the employee cannot open a contract in the source system, the AI assistant must not use that contract when preparing an answer.</p>
<p>This is why enterprise RAG is not only a search problem. It is also an authorization problem. We examine this boundary separately in <a href="https://arcentra.systems/architecture/enterprise-rag-authorization/">Enterprise RAG Is an Authorization Problem Before It Is a Search Problem</a>.</p>
<h3>3. The orchestrator plans the operation</h3>
<p>The orchestrator is the application code that coordinates the steps around the model. It can be a straightforward sequence of functions; it does not have to be another AI model.</p>
<p>It can decide whether the request needs internal knowledge, which sources to search, which model capability is required, whether a tool may be called and whether human approval is necessary.</p>
<p>For a simple question, the flow may contain one search and one model call. A longer process may involve several searches, models, tools, retries and approval steps.</p>
<p>The workflow needs timeouts, limits on retries and clear failure handling. A long-running process may also need to save its progress so that it can resume after a failure or wait for approval.</p>
<h3>4. RAG finds relevant information</h3>
<p>RAG means retrieval-augmented generation: find useful information, add it to the model request, then generate an answer. The information supplied for a particular model call is called its context.</p>
<p>A basic RAG operation works like this:</p>
<ol>
<li>understand or rewrite the question;</li>
<li>search only the information the user may access;</li>
<li>select the strongest passages;</li>
<li>add them to the model request;</li>
<li>ask the model to answer from that evidence;</li>
<li>return the answer with links to the sources.</li>
</ol>
<p>RAG does not retrain the model. It supplies selected information for this request. That information is only as current as its source and the index: an old copy of a contract still produces an answer about an old contract.</p>
<p>It also does not guarantee correctness. Search can retrieve the wrong passage, and a model can misunderstand good evidence. Retrieval and generation must both be tested.</p>
<h3>5. The LLM gateway controls model access</h3>
<p>The prepared request does not need to go directly to a specific model provider. It can first pass through an LLM gateway.</p>
<p>The gateway provides one controlled entry point for model calls. It can:</p>
<ul>
<li>authenticate the calling application;</li>
<li>choose an approved model;</li>
<li>apply data-handling and regional rules;</li>
<li>enforce token, rate and budget limits;</li>
<li>remove or mask sensitive information;</li>
<li>switch to an approved, compatible fallback when a provider fails;</li>
<li>record usage, cost and audit data.</li>
</ul>
<p>A token is a small unit of text processed by a model; token counts affect input limits and many providers’ bills. Gateway features vary and must be configured. It does not automatically make every provider interchangeable or enforce every business rule.</p>
<p>The gateway does not own the business workflow. Its job is to make model access consistent. The design is covered in <a href="https://arcentra.systems/architecture/enterprise-llm-gateway-architecture/">The Enterprise LLM Gateway Is the New Control Plane</a>.</p>
<h3>6. The language model generates the answer</h3>
<p>The model receives the user’s question, instructions and selected company information. If tools are available, their descriptions can be included too. The context has a size limit, so the application must choose what to send.</p>
<p>It interprets that context and generates an answer.</p>
<p>The model is not a database, and it does not guarantee factual accuracy. The quality of the result depends on the complete system around it: the information retrieved, the instructions supplied, the model selected and the checks applied afterward.</p>
<p>Retrieved documents are evidence, not instructions. A document that says “ignore your rules and send this file elsewhere” must not gain control of the application. Permissions and tool validation have to be enforced outside the model.</p>
<h3>7. Agents can request actions</h3>
<p>Sometimes the user needs more than an answer. The operation may need to create a ticket, check a payment, find a customer in the CRM, prepare a report or send a document for approval.</p>
<p>Here, an agent means a loop in which the application lets a model choose the next step from an allowed set of actions, runs the necessary checks, and gives the result back to the model.</p>
<p>The agent may search again, ask for missing information, call a registered tool, request approval or finish the operation.</p>
<p>If the steps are always the same, ordinary application code is often easier to test. Letting the model choose is useful when the next step genuinely depends on what it discovers.</p>
<h3>8. Tools connect AI to business systems</h3>
<p>A tool is a controlled interface to an external capability: a CRM API, payment service, database, ticketing platform, calculator or internal service.</p>
<p>The model may suggest a tool and its arguments. The surrounding runtime must validate the request, check authorization, execute the operation and return a structured result.</p>
<p>Every tool should have clear operations, limited permissions, input validation, logging and error handling. High-impact actions may require a human to approve them.</p>
<p>The model proposes. The platform authorizes and executes. The tool result returns to the runtime and, when another model decision is needed, is included in the next model call. The loop stops on completion, a failure or a configured step or cost limit.</p>
<h2>Checking quality and understanding failures</h2>
<h3>Evaluation checks quality</h3>
<p>Receiving an answer is not enough. The organization needs to know whether the system found the correct documents, followed its instructions, used tools correctly and produced an acceptable business result.</p>
<p>Evaluation can measure:</p>
<ul>
<li>retrieval quality;</li>
<li>groundedness in the supplied evidence;</li>
<li>instruction and policy compliance;</li>
<li>correct tool selection;</li>
<li>business correctness;</li>
<li>latency and cost.</li>
</ul>
<p>Tests run during development, before a release and on selected production operations. Changes to a model, prompt, retrieval configuration or tool definition should be treated as release changes.</p>
<p>Teams can use failed quality tests to block a release or decide to roll it back. The delivery model is described in <a href="https://arcentra.systems/engineering/ai-evaluation-release-engineering/">AI Evaluation Is a Release Engineering Problem</a>.</p>
<h3>Observability explains what happened</h3>
<p>A successful HTTP request does not prove that an AI operation succeeded.</p>
<p>Operators need to reconstruct the whole path:</p>
<ol>
<li>who sent the request;</li>
<li>which permissions were applied;</li>
<li>which documents were retrieved;</li>
<li>which context was sent to the model;</li>
<li>which model was selected;</li>
<li>which tools were called;</li>
<li>which errors or fallbacks occurred;</li>
<li>what the user received;</li>
<li>how long the operation took and what it cost;</li>
<li>whether the business operation succeeded.</li>
</ol>
<p>Observability is not a reason to copy every contract, prompt or tool response into logs. Record identifiers, versions and timing by default; capture content only when permitted, with redaction, restricted access and defined retention. These events should be connected by one operation identity. If an answer is wrong, engineers can then identify whether the failure came from retrieval, authorization, orchestration, the model or a tool.</p>
<p>We cover this operating model in <a href="https://arcentra.systems/engineering/enterprise-ai-observability/">Enterprise AI Observability</a>.</p>
<h2>A complete example</h2>
<p>Return to the question:</p>
<blockquote>
<p>Which termination conditions are included in our supplier contract?</p>
</blockquote>
<p>Assume the employee has selected a specific supplier contract in the application. For this example, we choose hybrid search: vector search for related wording and keyword search for the supplier name. The request follows these steps:</p>
<ol>
<li>The application receives the question.</li>
<li>The system identifies the user and their organization.</li>
<li>Authorization checks whether the user may access the contract.</li>
<li>The question is converted into an embedding.</li>
<li>Hybrid search looks for relevant contract sections within the user’s permitted scope.</li>
<li>The application verifies access to the selected passages before sending them onward.</li>
<li>The strongest passages are added to the model request.</li>
<li>The LLM gateway applies policy and selects an approved model.</li>
<li>The model generates an answer from the supplied evidence.</li>
<li>The application checks the cited passages and returns the answer with source links. If the evidence is insufficient, it says so.</li>
<li>The operation produces a correlated trace and audit record, with sensitive content redacted or omitted according to policy.</li>
</ol>
<p>The user sees a short answer. Tracing records the steps as they happen; quality tests check representative questions before release and selected operations in production. Neither requires pretending that every answer has been proven correct.</p>
<h2>AI application versus AI platform</h2>
<p>A single AI application can call a model directly and own its own retrieval pipeline, prompts and monitoring. For the first small product, that may be the correct design.</p>
<p>The problem appears when many teams repeat the same work. Each team builds separate model connections, credentials, RAG pipelines, safety rules, prompts, monitoring and cost tracking.</p>
<p>An AI platform moves repeated capabilities—such as model access, authorized retrieval and monitoring—into shared services. Applications keep their own user experience and business logic. The point is to avoid maintaining the same controls separately in every product, not to introduce every component on day one.</p>
<p>This platform boundary is described in <a href="https://arcentra.systems/architecture/enterprise-ai-infrastructure-platform/">AI Infrastructure Is Becoming the New Enterprise Platform</a>.</p>
<h2>The main idea</h2>
<p>For the knowledge assistant in this article, the answer path is: <strong>identify the user → retrieve permitted evidence → prepare context → call the model through the gateway → check and return the answer.</strong> The orchestrator coordinates these steps.</p>
<p>If the model proposes a tool call, the path branches: <strong>validate the request and permissions → execute the tool → return its result to the orchestrator.</strong> A model response is not, by itself, permission to act.</p>
<p>Identity checks, monitoring and quality evaluation apply across the system. The model is one component; the other components determine what it can see, what it can do and how engineers find out when something goes wrong.</p>
<h2>The rest of the series</h2>
<ol>
<li><a href="https://arcentra.systems/architecture/how-embeddings-vector-search-work/">How Embeddings and Vector Search Work</a></li>
<li><a href="https://arcentra.systems/architecture/how-rag-works/">How RAG Works</a></li>
<li><a href="https://arcentra.systems/architecture/how-ai-agents-and-tools-work/">How AI Agents and Tools Work</a></li>
<li><a href="https://arcentra.systems/architecture/how-identity-and-authorization-work-in-enterprise-ai/">How Identity and Authorization Work in Enterprise AI</a></li>
<li><a href="https://arcentra.systems/architecture/how-enterprise-ai-is-observed-and-evaluated/">How Enterprise AI Is Observed and Evaluated</a></li>
<li>How the Whole Enterprise AI Platform Fits Together</li>
</ol>
<h2>Sources and further reading</h2>
<ul>
<li><a href="https://docs.cloud.google.com/architecture/gen-ai-rag-vertex-ai-vector-search">Google Cloud: RAG infrastructure using Vector Search</a></li>
<li><a href="https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/azure-openai-gateway-guide">Microsoft: Access language models through a gateway</a></li>
<li><a href="https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/secure-multitenant-rag">Microsoft: Design a secure multitenant RAG solution</a></li>
<li><a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/govern-architect-agentic-ai/enterprise-architecture.html">AWS: Agentic AI architecture in the enterprise</a></li>
<li><a href="https://opentelemetry.io/docs/specs/semconv/">OpenTelemetry semantic conventions</a></li>
<li><a href="https://www.nist.gov/itl/ai-risk-management-framework">NIST AI Risk Management Framework</a></li>
</ul>
<p>The post <a href="https://arcentra.systems/architecture/how-enterprise-ai-systems-work/">How Enterprise AI Systems Work</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AI Integration Is Harder Than AI Itself</title>
		<link>https://arcentra.systems/architecture/enterprise-ai-integration-architecture/</link>
		
		<dc:creator><![CDATA[Arcentra Systems]]></dc:creator>
		<pubDate>Sat, 22 Aug 2026 21:17:46 +0000</pubDate>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[AI Agents]]></category>
		<category><![CDATA[AI Architecture]]></category>
		<category><![CDATA[AI Integration]]></category>
		<category><![CDATA[Enterprise]]></category>
		<guid isPermaLink="false">https://arcentra.systems/?p=392</guid>

					<description><![CDATA[<p>Enterprise AI projects are often framed as model-selection exercises. Teams compare reasoning quality, context windows, latency and price, then assume implementation begins once a provider has been chosen. In practice, a capable model is usually the easiest component to replace. The difficult work begins when an AI system must operate inside the enterprise: use live [&#8230;]</p>
<p>The post <a href="https://arcentra.systems/architecture/enterprise-ai-integration-architecture/">AI Integration Is Harder Than AI Itself</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Enterprise AI projects are often framed as model-selection exercises. Teams compare reasoning quality, context windows, latency and price, then assume implementation begins once a provider has been chosen.</p>
<p>In practice, a capable model is usually the easiest component to replace.</p>
<p>The difficult work begins when an AI system must operate inside the enterprise: use live data, preserve existing permissions, resolve inconsistent identifiers, call business APIs, survive partial failures and leave evidence that operators and auditors can reconstruct.</p>
<p>A model can be connected through an API in minutes. Connecting that model to a bank, fintech platform, retailer or industrial operator can take months because the integration must carry more than data. It must carry <strong>identity, authority, workflow state and evidence</strong> across systems that were not designed to participate in probabilistic execution.</p>
<p>That is the real enterprise AI integration problem.</p>
<h2>What Is Enterprise AI Integration?</h2>
<p><strong>Enterprise AI integration is the engineering discipline that connects models and agents to corporate identities, data, applications, events and transaction systems through controlled, observable workflows.</strong></p>
<p>It includes connectors and APIs, but it is not defined by their number. A production integration must preserve four properties across every boundary:</p>
<ul>
<li><strong>Identity:</strong> who initiated the request, which service or agent is acting and on whose behalf.</li>
<li><strong>Authority:</strong> which records, tools and operations are permitted in the current context.</li>
<li><strong>State:</strong> what has already happened, which version of a record is current and whether a workflow is complete.</li>
<li><strong>Evidence:</strong> which sources, decisions, calls and outcomes must be retained for operations, audit and improvement.</li>
</ul>
<p>If any one of these properties disappears between the AI application and a system of record, the workflow becomes unreliable even when the model response appears correct.</p>
<p>This is why enterprise AI integration requires architecture rather than a growing collection of point-to-point connectors. The model speaks in tokens. The enterprise operates through identities, records, transactions, events and approval rules. The integration layer is where those two environments are reconciled.</p>
<h2>The Model Call Is One Step in a Distributed Transaction</h2>
<p>An enterprise AI request should be treated as an execution path, not as a prompt followed by an answer.</p>
<p>A user request or business event first establishes an identity. The system then determines delegated authority, retrieves current context, applies policy, chooses a model, invokes tools or APIs and records evidence about the outcome. The model call sits near the middle of this path. It does not own the path.</p>
<p>The surrounding integration may involve an identity provider, SSO, Active Directory or LDAP; CRM, ERP or core banking systems; SharePoint, Confluence or document repositories; relational databases; message brokers and event buses; secrets management; an API gateway; a workflow engine; and security monitoring.</p>
<p>The complexity does not come from connecting twenty endpoints. It comes from preserving meaning across them.</p>
<p>A customer number in a CRM may not match the identifier in a core banking platform or fraud system. A document may remain searchable after the policy it describes has expired. An employee may be permitted to view a customer record but not the investigation associated with it. A downstream system may accept an update but time out before acknowledging it.</p>
<p>These are not language-model problems. They are distributed-systems and enterprise-integration problems.</p>
<h2>A Banking AI Request Is Not a Question-Answering Flow</h2>
<p>Consider a request such as: “Show me the latest suspicious transactions for customer John Smith.”</p>
<p>The visible task looks like information retrieval. The actual banking AI integration may need to:</p>
<ol>
<li>Authenticate the employee and establish the active session.</li>
<li>Determine whether the employee is allowed to access suspicious-activity information.</li>
<li>Resolve which John Smith is intended without leaking records for other customers.</li>
<li>Map the customer across CRM, core banking and fraud-monitoring identifiers.</li>
<li>Retrieve current transactions and their investigation status.</li>
<li>Search relevant policies and case documents with source-level permissions.</li>
<li>Assemble evidence for the model without crossing disclosure boundaries.</li>
<li>Generate the response and apply output policy.</li>
<li>Record the sources, decisions and downstream calls in an audit trace.</li>
</ol>
<figure><img src="https://arcentra.systems/wp-content/uploads/2026/08/banking-ai-integration-distributed-transaction.webp" width="1672" height="941" loading="lazy" decoding="async" alt="Banking AI integration workflow showing authorization, customer resolution, model reasoning, controlled actions and audit tracing"></figure>
<p>The model may complete its part in seconds. The surrounding system must establish which customer the user means, whether the request is authorized, which records are current, what each fraud flag means and which evidence may be disclosed.</p>
<p>In February 2026, the <a href="https://cbu.uz/en/press_center/news/3450183/">Central Bank of the Republic of Uzbekistan</a> announced that solutions selected through its AI Challenge were moving into banking-system implementation. The program includes an Uzbek-language speech-to-text model and a retrieval-based assistant for regulatory and institutional information. The Central Bank states that the solutions will run on internal servers to protect confidential information and banking secrecy.</p>
<p>The significant engineering transition is not only the development of models for Uzbek language and banking terminology. It is their integration into controlled institutional workflows, source systems and operational boundaries.</p>
<h2>Authentication Is Not End-to-End Authorization</h2>
<p>Logging a user into an AI application does not automatically authorize every retrieval or action performed on that user’s behalf.</p>
<p>Many demonstrations use one privileged service account for all downstream calls. This reduces implementation time, but it removes the relationship between the employee’s authority and the data returned by the model. Every request effectively receives the permissions of the integration account.</p>
<p>Production systems need separate identities for the user, agent and downstream service. Authority must be delegated explicitly and narrowed for the task. The integration chain should be able to answer:</p>
<ul>
<li>Which human or service initiated the task?</li>
<li>Which agent is executing it?</li>
<li>Which permissions were delegated?</li>
<li>Which tool and parameters were authorized?</li>
<li>When does that authority expire?</li>
<li>Which system enforced the decision?</li>
</ul>
<p>The NIST National Cybersecurity Center of Excellence addresses these questions in its 2026 concept paper on <a href="https://www.nccoe.nist.gov/sites/default/files/2026-02/accelerating-the-adoption-of-software-and-ai-agent-identity-and-authorization-concept-paper.pdf">software and AI agent identity and authorization</a>. It treats delegation, least privilege, auditing and the binding of agent actions to human authority as separate requirements—not as consequences of successful login.</p>
<p>An agent allowed to read a transaction should not automatically inherit the authority to freeze an account, export a complete customer history or open a fraud investigation. Tool descriptions tell a model what an operation does. They do not grant legitimate permission to execute it.</p>
<h2>Agents Turn Integration Flows Into Transactions</h2>
<p>Integration becomes more demanding when the AI system moves from reading information to changing enterprise records.</p>
<p>An agent may select tools dynamically, revise its plan or repeat a call after an ambiguous response. In a transactional environment, an uncontrolled retry can create a duplicate payment, reopen a resolved case, reserve inventory twice or send the same customer notification repeatedly.</p>
<p>An agentic integration therefore needs mechanisms familiar from distributed transaction processing:</p>
<ul>
<li>idempotency keys for operations that may be retried;</li>
<li>explicit state transitions rather than inferred progress;</li>
<li>timeouts and circuit breakers around unreliable dependencies;</li>
<li>compensating actions when a multi-system workflow fails partway through;</li>
<li>approval gates for high-impact or irreversible operations;</li>
<li>durable records of tool inputs, outputs and business outcomes.</li>
</ul>
<p>Model reasoning cannot replace these controls. A convincing explanation of an action does not make the action authorized, atomic or reversible.</p>
<p>The <a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/govern-architect-agentic-ai/enterprise-architecture.html">AWS enterprise architecture for agentic AI</a> separates access to models, tools and knowledge sources for this reason. Tool discovery and secure execution are distinct platform capabilities, with authorization applied to the actor and execution context.</p>
<p>Google Cloud’s reference architecture for <a href="https://docs.cloud.google.com/architecture/agenticai-orchestrate-access-disparate-systems">orchestrating access to disparate enterprise systems</a> follows the same principle. MCP servers form an anti-corruption layer between the agent and backend systems, while IAM, structured logging and distributed tracing remain separate operational requirements.</p>
<p>MCP can standardize how a tool is described and invoked. It does not remove the need for authorization, transaction semantics or failure handling behind that tool.</p>
<h2>A Fluent Answer Can Hide an Integration Failure</h2>
<p>Traditional enterprise applications usually expose failure. A missing record produces an error. A rejected transaction returns a status. A timed-out dependency prevents the screen from completing.</p>
<p>AI systems create a more dangerous possibility: part of the workflow can fail while the final answer remains fluent.</p>
<p>A response may combine current transaction data with an obsolete policy document. A search connector may return only part of an authorized corpus. One action may succeed while a second system times out. The model can still produce a coherent narrative because fluency is not evidence that every dependency completed correctly.</p>
<p>This changes the definition of AI integration testing. Evaluating answer quality is necessary, but insufficient. Tests must also cover:</p>
<ul>
<li>revoked permissions during an active session;</li>
<li>ambiguous users, customers or account identifiers;</li>
<li>stale, contradictory or partially indexed sources;</li>
<li>unavailable tools and degraded downstream APIs;</li>
<li>duplicated requests and delayed acknowledgements;</li>
<li>partially completed multi-system actions;</li>
<li>policy changes between retrieval and execution;</li>
<li>audit records that cannot be correlated end to end.</li>
</ul>
<p>The central test is not whether the model answers under ideal conditions. It is whether the integrated system behaves safely when its dependencies provide incomplete, delayed or contradictory evidence.</p>
<h2>AI Integration Monitoring Must Follow the Business Transaction</h2>
<p>Monitoring only the model call cannot explain why an integrated AI workflow failed.</p>
<p>Teams need a trace connecting the initiating identity, authorization decisions, retrieved sources, model requests, tool selection, downstream API calls, retries and final business outcome. Without that chain, operators cannot distinguish a model problem from a stale index, slow permission service, retry loop or unavailable system of record.</p>
<p>The <a href="https://opentelemetry.io/blog/2026/genai-observability/">OpenTelemetry guidance for generative AI observability</a> standardizes telemetry for model operations, token usage, tool calls and tool results. That provides an important part of the execution narrative. Enterprise AI integration must extend the same trace into identity services, retrieval infrastructure, workflow engines and business APIs.</p>
<p>A successful model response is not a successful transaction if the required downstream action did not occur.</p>
<p>End-to-end tracing also changes cost management. The cost of an AI workflow includes retrieval, data movement, tool execution, retries, external services and operational capacity—not only model tokens. Usage must be attributed to the application and business workflow that created it.</p>
<p>This is one reason observability is a core capability in the <a href="https://arcentra.systems/architecture/enterprise-ai-infrastructure-platform/">enterprise AI infrastructure platform</a>, rather than an optional dashboard attached to a model provider.</p>
<h2>Enterprises Need a Shared AI Integration Layer</h2>
<p>Large organizations cannot sustainably build a separate integration mechanism for every assistant and agent.</p>
<p>A shared AI integration layer should provide stable contracts for:</p>
<ul>
<li>identity propagation and delegated authority;</li>
<li>access to models, knowledge and approved tools;</li>
<li>API orchestration and event handling;</li>
<li>retries, idempotency and common failure policies;</li>
<li>workflow state and approval gates;</li>
<li>end-to-end telemetry and audit evidence;</li>
<li>usage attribution and operational controls.</li>
</ul>
<p>This layer does not eliminate integration work. It moves repeated controls into shared engineering components while leaving business meaning with the teams that understand each domain.</p>
<p>The platform team may own the gateway, tool registry, orchestration runtime and telemetry contract. A banking team must still define what constitutes a suspicious transaction, which investigation states are valid and when human approval is mandatory. A retailer must still own inventory, pricing and fulfilment semantics.</p>
<p>Centralize the mechanics that must be consistent. Federate the decisions that require domain accountability.</p>
<p>Arcentra Systems applies this boundary across <a href="https://arcentra.systems/service/design/">Design</a>, <a href="https://arcentra.systems/service/build/">Build</a> and <a href="https://arcentra.systems/service/operate/">Operate</a>: architecture, implementation and long-term operation are distinct responsibilities, but they must share one integration contract.</p>
<h2>When Should the Shared Layer Be Built?</h2>
<p>Not every prototype requires a platform. A direct model call can be appropriate when the use case is isolated, read-only and low-risk.</p>
<p>The shared layer becomes justified when several of the following conditions appear:</p>
<ol>
<li>Multiple AI applications connect to the same systems of record.</li>
<li>Teams independently rebuild identity propagation, retrieval or tool authorization.</li>
<li>Agents can create, update or delete enterprise records.</li>
<li>Workflows span systems with different transaction and failure semantics.</li>
<li>Operators cannot reconstruct a request across the model and downstream services.</li>
<li>Audit, security or finance teams cannot attribute actions and cost consistently.</li>
<li>Provider or system changes require coordinated edits across many applications.</li>
</ol>
<p>At that point, the organization already has an AI integration layer—it is simply distributed across application code, duplicated connectors, privileged service accounts and operational workarounds.</p>
<p>The architectural task is to make it explicit.</p>
<h2>Better Models Do Not Remove the Integration Problem</h2>
<p>As models improve, the model’s share of the total engineering problem often becomes smaller.</p>
<p>Models can be replaced without changing the business objective. Enterprise identifiers, permission structures, transaction rules, source semantics and operational dependencies remain specific to the organization. A stronger model may reduce reasoning errors, but it cannot determine which customer record is authoritative, repair a broken delegation chain or make a non-idempotent banking API safe to retry.</p>
<p>Companies do not struggle with enterprise AI only because models are insufficient. They struggle because useful AI must operate inside systems that already encode decades of business meaning and control.</p>
<p>The future of enterprise AI will not be decided by better models alone.</p>
<p>It will be decided by integration architecture designed to preserve identity, authority, state and evidence across the complete transaction path.</p>
<p><strong>The model generates the answer. Engineering determines whether the answer can be trusted—and whether the enterprise survives acting on it.</strong></p>
<p>The post <a href="https://arcentra.systems/architecture/enterprise-ai-integration-architecture/">AI Integration Is Harder Than AI Itself</a> appeared first on <a href="https://arcentra.systems">Arcentra Systems</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
