<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gurdeep Dhillon</title>
    <description>The latest articles on DEV Community by Gurdeep Dhillon (@gurdeep_dhillon).</description>
    <link>https://dev.to/gurdeep_dhillon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4227688%2F8de2dfb1-521b-4cfc-bad7-1d510b478158.jpg</url>
      <title>DEV Community: Gurdeep Dhillon</title>
      <link>https://dev.to/gurdeep_dhillon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gurdeep_dhillon"/>
    <language>en</language>
    <item>
      <title>What Is a System Prompt? Roles, Messages, and the Chat API</title>
      <dc:creator>Gurdeep Dhillon</dc:creator>
      <pubDate>Mon, 23 Nov 2026 09:15:21 +0000</pubDate>
      <link>https://dev.to/gurdeep_dhillon/what-is-a-system-prompt-roles-messages-and-the-chat-api-ld7</link>
      <guid>https://dev.to/gurdeep_dhillon/what-is-a-system-prompt-roles-messages-and-the-chat-api-ld7</guid>
      <description>&lt;p&gt;If you have built anything with a modern language model, you have encountered the idea of a "system prompt," often described as the instruction that sets the model's behavior or persona. But the system prompt is best understood not in isolation but as one piece of a larger structure: the chat message format. That format, a list of messages each tagged with a role, is how virtually all conversational models receive input today. Understanding roles and messages explains how instructions, conversation history, and user input coexist in a single request, and why that structure matters. This article unpacks it from the ground up.&lt;/p&gt;

&lt;h3&gt;
  
  
  Before chat: a single blob of textasdasasdsadasdasddasd
&lt;/h3&gt;

&lt;p&gt;Early language models had a simpler interface. You passed one string of text, the prompt, and the model continued it. To build a chatbot on top of that, developers manually formatted everything into one blob: instructions, prior turns, and the latest question, separated by labels they invented. It worked, but it was fragile. There was no agreed structure, no clean boundary between the developer's instructions and the user's input, and every application reinvented the formatting.&lt;/p&gt;

&lt;p&gt;The chat message format standardized this. Instead of one string, you send a structured list of messages. Each message has a &lt;strong&gt;role&lt;/strong&gt; and &lt;strong&gt;content&lt;/strong&gt;. The roles carry meaning the model has been trained to respect, and the structure makes the boundaries between different kinds of text explicit.&lt;/p&gt;

&lt;h3&gt;
  
  
  The three core roles
&lt;/h3&gt;

&lt;p&gt;Most chat APIs share the same small set of roles. Their names are conventions, but the concepts are near-universal.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;System&lt;/strong&gt;: high-level instructions that frame the entire conversation. Tone, persona, rules, constraints, and context the model should honor throughout. Typically set by the developer, not the end user.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;User&lt;/strong&gt;: input from the person interacting with the model. Their questions, requests, and messages.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;-&lt;strong&gt;assistant&lt;/strong&gt;: the model's own responses. In a multi-turn conversation, prior assistant messages are included so the model can see what it already said.&lt;/p&gt;

&lt;p&gt;A request is an ordered list of these messages. The system message, when present, usually comes first. Then user and assistant messages alternate, representing the back-and-forth of the conversation, ending with the latest user message that the model should now respond to.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A chat request is a list of role-tagged messages&lt;br&gt;
messages = [&lt;br&gt;
    {"role": "system",    "content": "You are a concise technical assistant. "&lt;br&gt;
                                      "Prefer short answers and SI units."},&lt;br&gt;
    {"role": "user",      "content": "How far is the Moon from Earth?"},&lt;br&gt;
    {"role": "assistant", "content": "On average, about 384,400 km."},&lt;br&gt;
    {"role": "user",      "content": "And the Sun?"}&lt;br&gt;
]&lt;br&gt;
The model reads the whole list and generates the next&lt;br&gt;
assistant message, using the system framing and the prior turns.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In that example, the final user message "And the Sun?" only makes sense because the earlier turns are present. The model resolves "the Sun?" to "distance from Earth" using the conversation history, and it answers concisely with metric units because the system message told it to. Remove the system message and the style guidance disappears; remove the history and the follow-up becomes ambiguous.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the system prompt actually does
&lt;/h3&gt;

&lt;p&gt;The system prompt is a lever for behavior that should persist across the whole exchange. Good uses include setting a role ("You are a patient tutor for beginners"), establishing constraints ("Only answer questions about cooking; politely decline others"), defining output format ("Respond in valid JSON with keys 'summary' and 'tags'"), and supplying stable context ("The current product version is 4.2"). Because it is conceptually separate from user input, it is also where developers place guardrails they do not want casual user messages to override.&lt;/p&gt;

&lt;p&gt;It is important to be clear-eyed about its nature, though. A system prompt is strong guidance, not an impenetrable wall. The model weighs all the messages together. Instructions in the system role generally carry more influence than ordinary user text, which is why safety and formatting rules go there, but they are still probabilistic guidance rather than hard enforcement. Treating the system prompt as unbreakable security is a mistake; it shapes behavior, it does not guarantee it.&lt;/p&gt;

&lt;h3&gt;
  
  
  How roles become model input
&lt;/h3&gt;

&lt;p&gt;Underneath, the model still consumes a single sequence of tokens, so the structured message list has to be flattened back into text before generation. This is done with a chat template: a defined formatting scheme that inserts special tokens or markers around each message to signal its role. A simplified version looks like this.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Conceptual flattening of messages into one token sequence&lt;br&gt;
def render(messages):&lt;br&gt;
    out = []&lt;br&gt;
    for m in messages:&lt;br&gt;
        out.append(f"&amp;lt;|{m['role']}|&amp;gt;\n{m['content']}\n&amp;lt;|end|&amp;gt;")&lt;br&gt;
    out.append("&amp;lt;|assistant|&amp;gt;\n")   # cue the model to respond&lt;br&gt;
    return "\n".join(out)&lt;br&gt;
 The special role markers are what the model was trained to&lt;br&gt;
 recognize, so it knows which text is instruction vs. user input.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The exact markers differ between model families, and using the wrong template can noticeably degrade quality, because the model expects the specific delimiters it saw during training. This is a subtle but real detail: the "magic" of roles comes from the model having been fine-tuned on data formatted with these exact structural cues, so the format is not arbitrary decoration but part of what the model learned.&lt;/p&gt;

&lt;h3&gt;
  
  
  Beyond the core three: the tool role
&lt;/h3&gt;

&lt;p&gt;As models gained the ability to call external functions, the message format grew to accommodate it, and most chat APIs now include an additional tool role (sometimes called "function"). The pattern works like this: the assistant can respond not with text but with a request to call a named tool and some arguments; the application executes that tool and appends a message with the tool role containing the result; then the model is called again and sees the tool output as part of the conversation, letting it produce a final answer grounded in that result. The important observation is that this did not require a new mechanism. It reused the same roles-and-messages structure, simply adding another role whose messages carry tool outputs. This extensibility is a strength of the format: new interaction patterns slot in as new message types rather than new protocols.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-turn conversations and statelessness
&lt;/h3&gt;

&lt;p&gt;A key property catches many newcomers off guard: chat APIs are typically stateless. The model does not remember previous turns on its own. Each request must include the full conversation history you want the model to consider. The illusion of memory in a chat interface is created by the application resending the accumulated messages every turn.&lt;/p&gt;

&lt;p&gt;This has direct consequences. The conversation grows with each turn, consuming more of the context window and more tokens, which raises cost and eventually forces strategies like truncating or summarizing old turns. It also means the application, not the model, owns the conversation state and decides what history to include. Understanding this removes a lot of confusion about why a model "forgot" something: it was simply never sent that history in the current request.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why standardizing the format matters
&lt;/h3&gt;

&lt;p&gt;The roles-and-messages structure has become a de facto standard across the ecosystem, and that standardization is quietly powerful. Because many providers and open-weight models accept the same message shape, application code can target one format and talk to many different models. This is exactly what an OpenAI-compatible &lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;AI gateway&lt;/a&gt; standardizes: it exposes the familiar chat-messages interface so that the same request structure routes to different backends without rewriting the calling code. The system/user/assistant message list becomes a stable contract between applications and whatever model sits behind it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Practical tips for writing system prompts
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Be specific and concrete. "Answer in at most three sentences" beats "be brief."&lt;/li&gt;
&lt;li&gt;Put durable rules in the system role and transient requests in user messages, so persistent behavior stays separate from one-off asks.&lt;/li&gt;
&lt;li&gt;State output format explicitly when you will parse the response programmatically.&lt;/li&gt;
&lt;li&gt;Do not rely on the system prompt alone for security-sensitive restrictions; combine it with validation outside the model.&lt;/li&gt;
&lt;li&gt;Remember every turn resends history, so keep system prompts focused; needlessly long ones cost tokens on every single request.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A system prompt is one message in the chat format, which structures input as an ordered list of messages each tagged with a role.&lt;/li&gt;
&lt;li&gt;The core roles are &lt;strong&gt;system ** (durable framing and rules), **user&lt;/strong&gt; (the person's input), and &lt;strong&gt;assistant&lt;/strong&gt; (the model's prior replies).&lt;/li&gt;
&lt;li&gt;The system prompt sets persistent behavior like persona, constraints, and output format, but it is strong guidance, not unbreakable enforcement.&lt;/li&gt;
&lt;li&gt;Messages are flattened into one token sequence via a chat template with special role markers the model was trained to recognize, so the correct template matters.&lt;/li&gt;
&lt;li&gt;Chat APIs are usually stateless: the application must resend the full history each turn, which drives token cost and context limits.&lt;/li&gt;
&lt;li&gt;The roles-and-messages format is a de facto standard, and an OpenAI-compatible gateway standardizes exactly this interface so the same request can route to different models.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Raw MCP Servers vs an MCP Gateway: What Changes at Scale</title>
      <dc:creator>Gurdeep Dhillon</dc:creator>
      <pubDate>Tue, 17 Nov 2026 07:28:17 +0000</pubDate>
      <link>https://dev.to/gurdeep_dhillon/raw-mcp-servers-vs-an-mcp-gateway-what-changes-at-scale-4al0</link>
      <guid>https://dev.to/gurdeep_dhillon/raw-mcp-servers-vs-an-mcp-gateway-what-changes-at-scale-4al0</guid>
      <description>&lt;p&gt;Ask two engineers whether their agents need an MCP gateway and you will often get two reasonable-sounding, opposite answers. One says a gateway is overkill—agents can talk to MCP servers directly, and adding a layer just adds latency and operational burden. The other says a gateway is essential—without it, you cannot govern anything. Both are right, for different scales. The honest way to understand the gateway is not as a feature you either have or lack, but as the point where the direct approach stops paying for itself. This article compares connecting to raw MCP servers against routing through a gateway, dimension by dimension, so you can see exactly what changes as you grow and decide where your own project sits.&lt;/p&gt;

&lt;p&gt;We will reference an &lt;a href="https://www.truefoundry.com/mcp-gateway" rel="noopener noreferrer"&gt;MCP gateway&lt;/a&gt; for concreteness, but the comparison is about the two architectures, not a product. The goal is a clear-eyed view of the trade-offs, including an honest account of what the gateway costs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Starting from the same place
&lt;/h3&gt;

&lt;p&gt;Both approaches begin identically. You have an MCP server exposing some tools, and an agent that wants to use them. In the raw model, the agent is handed the server's address and a credential, and it connects straight through. In the gateway model, the agent is handed the gateway's address, and the gateway connects to the server on its behalf. For a single agent and a single server, these are nearly indistinguishable in behaviour, and the raw model is genuinely simpler—one fewer component, one fewer hop. If that is the entirety of your deployment and it will stay that way, the raw model is a defensible choice.&lt;/p&gt;

&lt;p&gt;The interesting question is what happens as you add agents, servers, teams, and compliance obligations. Below, each dimension is examined under both models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connection topology&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Raw:&lt;/strong&gt; Each agent connects to each server it needs. The number of relationships scales with agents multiplied by servers. Ten agents sharing twelve servers can mean up to 120 separately configured connections, each with its own credential and failure handling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gateway:&lt;/strong&gt; Each agent connects to the gateway; each server registers with the gateway. Relationships scale with agents plus servers—ten agents and twelve servers is twenty-two connections to the single hub, not 120 point-to-point links. The gateway becomes the hub of a star rather than the many edges of a mesh. This single topological difference is the root cause of most of the others: a sum is governable in ways a product is not.&lt;/p&gt;

&lt;h3&gt;
  
  
  Authentication and credentials
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Raw:&lt;/strong&gt; Every agent holds credentials for every server it calls. Rotating a key means updating it everywhere it appears. Revoking access when someone leaves means finding every place their access was wired in. There is no single inventory of who can reach what.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gateway:&lt;/strong&gt; Agents authenticate once against your identity provider or SSO at the gateway. The gateway brokers upstream credentials—OAuth two-legged and three-legged, API keys, token passthrough—so agents never hold them directly. Rotation and revocation happen in one place. Where a call should carry a specific person's permissions, auth overrides let that user supply their own upstream credentials, giving true per-user access instead of a shared service identity. Credentials move from being scattered secrets to being a managed, central concern.&lt;/p&gt;

&lt;h3&gt;
  
  
  Access control and policy
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Raw:&lt;/strong&gt; Policy, if it exists, lives inside each agent or each server. There is no central statement of what is allowed, and no way to answer a question like "which agents can call destructive tools?" without inspecting every deployment. Tightening a rule requires touching every place that implements it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gateway:&lt;/strong&gt; Because all calls pass through one interface, access control is expressed and enforced centrally. A default-deny posture means nothing is callable unless explicitly permitted, which bounds exposure as the catalogue grows. Policy engines such as Cedar (used as default-deny access control for MCP tools) and Open Policy Agent (OPA) let you write rules as reviewable policy rather than embedded code. A rule change is one change, applied everywhere.&lt;/p&gt;

&lt;h3&gt;
  
  
  Discovery and least privilege
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Raw:&lt;/strong&gt; An agent pointed at a server sees whatever tools that server exposes—often far more than it needs. If a database server exposes forty tools and the agent needs three, the other thirty-seven are still reachable. There is also no central catalogue of what servers exist, so teams duplicate work and nobody holds a current inventory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gateway:&lt;/strong&gt; A registry provides a curated, multi-tenant inventory of servers and tools. More importantly, &lt;strong&gt;virtual MCP servers&lt;/strong&gt; let you compose a scoped interface that exposes only the minimum tools a given team or workflow needs—the agent that needs three tools sees three, and never learns the other thirty-seven exist. Discovery and least privilege are delivered by the same mechanism. New tools can be added through OpenAPI-to-MCP conversion (generating a server from an existing API spec, no custom code) or hosted stdio servers (CLI-style tools with managed command, arguments, environment, and credentials), all landing in the same governed catalogue.&lt;/p&gt;

&lt;h3&gt;
  
  
  Safety inspection
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Raw:&lt;/strong&gt; There is no consistent place to inspect traffic. Each server might implement its own checks, or none. Detecting secrets in outbound arguments, masking personal data in responses, or catching prompt injection has to be rebuilt per server. The agent-specific risk of &lt;strong&gt;tool poisoning&lt;/strong&gt;—a malicious tool description that instructs the agent to misbehave—lands with full force, because the agent reads and tends to trust server-provided descriptions with nothing in the path to check them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gateway:&lt;/strong&gt; Guardrails run pre-tool (before execution) and post-tool (before the result returns) on every call, uniformly. The gateway can block unsafe calls, detect secrets, and mask personal data in one place. Curated discovery shrinks the set of servers that can inject anything into an agent, and in-path inspection can catch the downstream effects of an injection before a call executes. You can even select guardrail policy per request:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;curl -X POST "{GATEWAY_BASE_URL}/chat/completions" \&lt;br&gt;
  -H "Authorization: Bearer YOUR_API_KEY" \&lt;br&gt;
  -H "Content-Type: application/json" \&lt;br&gt;
  -H 'X-TFY-GUARDRAILS: {"llm_input_guardrails":["my-group/pii-redaction"]}' \&lt;br&gt;
  -d '{"model":"openai/gpt-4o","messages":[{"role":"user","content":"..."}]}'&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The header references a named policy group the gateway enforces. The exact field name is one platform's convention; the pattern of attaching inspection policy to a request without changing application code is what to remember.&lt;/p&gt;

&lt;h3&gt;
  
  
  Observability and audit
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Raw:&lt;/strong&gt; Each connection logs independently, if at all. Reconstructing "which agent called which tool, on whose behalf, and what came back" means stitching together logs from many systems, assuming they exist and agree. For an audit or an incident, this is slow and often incomplete.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gateway:&lt;/strong&gt; Because every call flows through one interface, the gateway produces a unified record tying each call to an authenticated identity, a policy decision, arguments and results (with sensitive fields masked), and a timestamp. Audit becomes a query, not an excavation—the difference between being able to prove a control and merely claiming it.&lt;/p&gt;

&lt;h3&gt;
  
  
  An honest accounting of the gateway's cost
&lt;/h3&gt;

&lt;p&gt;A fair comparison admits what the gateway costs. It is another component to deploy and operate. It adds a hop, and therefore some latency, to every call—well-designed gateways keep this small by keeping only the request-handling plane in the path and reading configuration from memory, but it is not zero. It introduces a dependency: if the gateway is down, agents cannot reach their tools, so it must be run with the availability you would give any critical infrastructure. And it requires someone to own policy, the registry, and guardrail configuration—governance is work, even when it is centralised.&lt;/p&gt;

&lt;p&gt;These costs are real, and for a genuinely small, static deployment they can outweigh the benefits. The reason the gateway wins at scale is that its costs are roughly fixed while the raw model's costs grow with every connection. One gateway to operate versus 120 connections to secure is not a close call at 120; it is only a close call near the crossover, which for most organisations arrives sooner than expected—usually the moment a second team, a compliance requirement, or a sensitive tool enters the picture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choosing where you sit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The practical way to use this comparison is to locate your project on each dimension. If you have one team, a handful of servers, no sensitive data, and no audit obligations, the raw model's simplicity is a feature. The moment any of those change—more teams, more servers, personal or regulated data, an auditor, or agents acting on behalf of real users—the dimensions above start turning against the raw model one at a time, and a gateway stops being overhead and starts being the thing that keeps the estate governable. TrueFoundry's MCP gateway is one example of the architecture described here, offered within a broader control plane and with deployment options spanning SaaS, self-hosted, and air-gapped for data-residency needs; the comparison itself applies whichever implementation you evaluate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Raw MCP servers and a gateway start identically; the difference emerges as agents, servers, teams, and compliance obligations grow.&lt;/li&gt;
&lt;li&gt;The root difference is topology: raw connections scale as agents times servers (a mesh), a gateway as agents plus servers (a star), and most other advantages follow from that.&lt;/li&gt;
&lt;li&gt;Across authentication, policy, discovery, safety inspection, and audit, the gateway centralises what the raw model scatters—one identity, default-deny policy with Cedar and OPA, scoped virtual servers, in-path guardrails, and unified audit.&lt;/li&gt;
&lt;li&gt;The gateway has honest costs: an extra component, some latency, a critical dependency, and governance work to own.&lt;/li&gt;
&lt;li&gt;Those costs are roughly fixed while the raw model's grow per connection, so the gateway wins once a second team, sensitive data, or an audit requirement appears—usually sooner than teams expect.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>mcp</category>
      <category>mcpgateway</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
    <item>
      <title>Data Residency and Sovereignty for Enterprise AI: SaaS, On-Prem, and Air-Gapped Deployments</title>
      <dc:creator>Gurdeep Dhillon</dc:creator>
      <pubDate>Wed, 11 Nov 2026 09:55:10 +0000</pubDate>
      <link>https://dev.to/gurdeep_dhillon/data-residency-and-sovereignty-for-enterprise-ai-saas-on-prem-and-air-gapped-deployments-2lj3</link>
      <guid>https://dev.to/gurdeep_dhillon/data-residency-and-sovereignty-for-enterprise-ai-saas-on-prem-and-air-gapped-deployments-2lj3</guid>
      <description>&lt;p&gt;When a team ships its first application backed by a large language model, security tends to live in the prompt. Someone writes "do not reveal personal data" into the system message and hopes the model complies. That approach breaks down quickly. Models are probabilistic, prompts can be overridden by cleverly crafted user input, and the same model is often reached by a dozen different applications with a dozen different copies of the rules. What one team calls a safeguard, another forgets entirely. The result is inconsistent protection that nobody can audit.&lt;/p&gt;

&lt;p&gt;Guardrails are the disciplined alternative. A guardrail is a programmatic check that sits outside the model, inspects the data flowing to and from it, and either blocks that data or rewrites it when a rule is violated. Instead of trusting the model to police itself, you place deterministic controls around it. This article explains what guardrails are, where they run in the request lifecycle, the difference between inspecting and rewriting, how to roll them out without breaking production, and why the API gateway is the natural place to enforce all of it.&lt;/p&gt;

&lt;h3&gt;
  
  
  What a guardrail actually does
&lt;/h3&gt;

&lt;p&gt;A guardrail inspects data and then acts on it. The inspection might look for personally identifiable information, a prompt-injection attempt, an API key that leaked into a response, or risky SQL. The action is one of two things: it refuses the request, or it modifies the data so the request can proceed safely. Because guardrails are ordinary code or hosted services rather than instructions to the model, their behavior is repeatable. The same input produces the same decision every time, which is exactly the property you want when you later need to prove to an auditor that a control was in force.&lt;/p&gt;

&lt;p&gt;Guardrails apply in two different settings. The first is a plain request to a language model. The second is a tool call made through the Model Context Protocol, where an agent invokes an external function such as a database query or a file read. The lifecycle differs slightly between the two, and understanding that difference is the foundation for everything else.&lt;/p&gt;

&lt;h3&gt;
  
  
  Input versus output for model requests
&lt;/h3&gt;

&lt;p&gt;For a request to a language model, guardrails run at two points. Input guardrails run before the model ever sees the prompt. This is where you catch a user trying to smuggle in an injection attack, or where you redact a customer's national ID number before it is sent to a third-party model provider. Output guardrails run after the model responds, before the answer reaches the user or the calling application. This is where you catch the model echoing back a secret, generating moderated content, or including PII it inferred from context.&lt;/p&gt;

&lt;p&gt;Both directions matter because the threats are different. Input controls protect the model and the downstream provider from malicious or sensitive data. Output controls protect your users and your organization from what the model produces. A complete posture uses both. The ability to sit directly in the request path and run these checks is one of the defining properties of &lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;AI gateway guardrails&lt;/a&gt;, because the gateway is the one component every request already passes through.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pre-tool versus post-tool for MCP tools
&lt;/h3&gt;

&lt;p&gt;When an agent calls a tool rather than a model, the two checkpoints are named differently but serve the same purpose. Pre-tool guardrails run before the tool executes. They can stop an agent from calling a destructive function or from passing sensitive arguments into an external system. Post-tool guardrails run before the tool's result is returned to the agent, so you can scrub a database row of PII before the model ever reads it. Guardrails run separately for each tool call, which means a single agent turn that fans out to five tools gets five independent evaluations rather than one coarse check.&lt;/p&gt;

&lt;h3&gt;
  
  
  Validate versus mutate
&lt;/h3&gt;

&lt;p&gt;Every guardrail operates in one of two modes, and the distinction is worth internalizing.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Validate&lt;/strong&gt; inspects the data and blocks the request if a rule is violated. It never changes the content. A prompt-injection detector is a natural validator: either the request is clean and proceeds untouched, or it is flagged and stopped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mutate&lt;/strong&gt; inspects the data and rewrites it, for example by redacting a detected credit-card number so the rest of the request can continue. A mutating guardrail can also block when rewriting is not enough.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The practical consequence is that mutation lets you keep a request alive while removing the dangerous part, whereas validation is all-or-nothing. PII redaction is the classic mutating use case; secrets detection and content moderation are often validators.&lt;/p&gt;

&lt;h3&gt;
  
  
  Enforcement strategy and staged rollout
&lt;/h3&gt;

&lt;p&gt;Deciding what a guardrail checks is only half the design. The other half is deciding what happens when it fires, and what happens when the guardrail itself fails. A hosted moderation service can time out. A detector can throw an error. If you have not decided in advance how to handle that, you will either block legitimate traffic during an outage or silently let everything through. There are three enforcement strategies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Enforce&lt;/strong&gt; blocks the request both when a violation is detected and when the guardrail errors. This is the strictest posture and treats an unavailable guardrail as a failure to prove the request is safe.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enforce but ignore on error&lt;/strong&gt; blocks on a genuine violation but allows the request through if the guardrail itself errors. This trades a small amount of safety for availability during guardrail outages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit&lt;/strong&gt; logs what the guardrail would have done but never blocks anything. Traffic flows normally while you gather evidence about how the rule behaves against real data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These three map onto a sensible rollout sequence. Start in Audit so you can measure false positives against live traffic without risk. Once the rule looks accurate, move to Enforce but ignore on error so real violations are blocked while a flaky guardrail cannot take down your application. Finally, when you trust both the rule and its reliability, promote it to Enforce. Audit, then enforce-but-ignore-on-error, then enforce: that progression turns a guardrail from a liability into a dependable control.&lt;/p&gt;

&lt;h3&gt;
  
  
  The execution order and the streaming caveat
&lt;/h3&gt;

&lt;p&gt;For a model request, the checkpoints run in a specific order. Input mutation runs first and blocks the pipeline until it finishes, because later stages need the rewritten prompt. Input validation then runs in the background while the model request is already in flight; if validation fails, the in-flight request is cancelled. After the model responds, output mutation runs, followed by output validation. Running input validation concurrently with the model call is a deliberate optimization: it hides the latency of the check behind work the system was going to do anyway.&lt;/p&gt;

&lt;p&gt;There is one caveat that trips up teams repeatedly. Output guardrails are skipped for streamed responses. When a response streams token by token, there is no complete output to inspect before the user starts seeing it, so the output stage cannot run. If you need output guardrails to apply, you must turn streaming off by setting the request's stream flag to false. Input guardrails always run regardless of streaming, so the input side of your posture is never affected. The trade-off is concrete: streaming gives a snappier user experience, but you forfeit output inspection unless you disable it.&lt;/p&gt;

&lt;p&gt;The Built-in catalogue&lt;/p&gt;

&lt;p&gt;A mature gateway ships a library of guardrails so teams do not reinvent detectors. Several categories are worth knowing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Content moderation&lt;/strong&gt; flags hate, self-harm, sexual, and violent content, with adjustable thresholds so you can tune sensitivity to your audience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PII/PHI detection&lt;/strong&gt; finds personal and protected health information and can optionally redact it, making it a natural mutating guardrail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt injection&lt;/strong&gt; detects jailbreak and injection attempts in user input before they reach the model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secrets detection&lt;/strong&gt; catches API keys, JWTs, and private keys so they are not leaked into prompts or responses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code safety linter&lt;/strong&gt; flags dangerous constructs such as eval, exec, or shell invocations in generated or submitted code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQL sanitizer&lt;/strong&gt; flags risky SQL, such as DROP or TRUNCATE statements, or UPDATE and DELETE statements that lack a WHERE clause.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Regex pattern matching&lt;/strong&gt; lets you enforce organization-specific patterns that no generic detector would know about.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cedar and OPA guardrails&lt;/strong&gt; provide default-deny access control for MCP tools and policy-based authorization decisions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three of these, content moderation, PII/PHI detection, and prompt injection, rely on hosted models and are available in the SaaS deployment. In a self-hosted environment you substitute external guardrail providers for those three, while the remaining detectors run locally. Beyond the built-ins, a gateway typically integrates many external guardrail vendors and lets you supply custom logic as a plain Python function. The point is not that any one detector is magic; it is that you assemble a layered set and apply them consistently.&lt;/p&gt;

&lt;h3&gt;
  
  
  Applying Guardrails: policies and per-request headers
&lt;/h3&gt;

&lt;p&gt;There are two ways to put guardrails into effect. The first is org-wide policy. You register a guardrail under the gateway's guardrails section, then attach it under policies. A policy matches on attributes such as the calling identity, the target model, or a specific MCP tool, so you can say "every request from the support team to this model gets PII redaction" without touching application code. This is how you achieve uniform coverage and a single audit trail.&lt;/p&gt;

&lt;p&gt;The second way is a per-request header, useful when one application needs a guardrail that the org-wide policy does not impose. You attach the guardrails in a header, and they run alongside any policy guardrails rather than replacing them. The header carries JSON naming the input and output guardrails by their group and name:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;{&lt;br&gt;
  "llm_input_guardrails": ["my-group/pii-redaction"],&lt;br&gt;
  "llm_output_guardrails": ["my-group/secrets-detection"]&lt;br&gt;
}&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A full request that attaches a guardrail by header looks like this. Note the scope header, which controls how much of the conversation the guardrail evaluates:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;curl -X POST "{GATEWAY_BASE_URL}/chat/completions" \&lt;br&gt;
  -H "Authorization: Bearer YOUR_API_KEY" \&lt;br&gt;
  -H "Content-Type: application/json" \&lt;br&gt;
  -H 'X-TFY-GUARDRAILS: {"llm_input_guardrails":["my-group/pii-redaction"]}' \&lt;br&gt;
  -H "X-TFY-GUARDRAILS-SCOPE: 10" \&lt;br&gt;
  -d '{"model":"openai/gpt-4o","messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"Hello"}]}'&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The scope header accepts all to evaluate the whole conversation, which is the default, last to evaluate only the most recent message, or an integer N to evaluate the last N messages. In the example above, only the last ten messages are inspected, which keeps large conversations from being re-scanned in full on every turn. System prompts are excluded from evaluation by default, so your own instructions do not trip the detectors you configured for user content.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why the gateway is the right enforcement point
&lt;/h3&gt;

&lt;p&gt;You could embed guardrail logic inside every application. Teams that try this discover the cost: each service carries its own copy of the rules, versions drift, a new application ships with none of them, and there is no single place to prove what was enforced. The gateway solves this structurally. Every request to every model and every tool already flows through it, so it is the one chokepoint where a control can be applied once and cover everything behind it. Policies live centrally, enforcement happens in the request path, and the audit trail is unified because there is a single component to record it. Guardrails defined at the gateway are independent of application code, which means a security team can tighten a policy without a release from every product team. That separation, controls owned by the people responsible for them and enforced where all traffic converges, is what makes guardrails trustworthy rather than aspirational.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A guardrail inspects data flowing to and from a model or tool and either blocks it (validate) or rewrites it (mutate); it is deterministic code, not a prompt instruction.&lt;/li&gt;
&lt;li&gt;Model requests are checked on input and output; MCP tool calls are checked pre-tool and post-tool, with a separate evaluation per tool call.&lt;/li&gt;
&lt;li&gt;Choose an enforcement strategy per guardrail, and roll out in stages: Audit, then Enforce but ignore on error, then Enforce.&lt;/li&gt;
&lt;li&gt;Input validation runs concurrently with the model call, but output guardrails are skipped for streamed responses; set stream to false when you need them.&lt;/li&gt;
&lt;li&gt;Apply guardrails org-wide through policies that match on caller, model, or tool, or per request through a header with a scope that limits how many messages are evaluated.&lt;/li&gt;
&lt;li&gt;The gateway is the right enforcement point because every request already passes through it, giving you one place to apply controls consistently and one audit trail to prove it.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>llm</category>
      <category>devops</category>
    </item>
    <item>
      <title>Cutting LLM Cost and Latency with Gateway-Level Caching</title>
      <dc:creator>Gurdeep Dhillon</dc:creator>
      <pubDate>Thu, 05 Nov 2026 05:48:15 +0000</pubDate>
      <link>https://dev.to/gurdeep_dhillon/cutting-llm-cost-and-latency-with-gateway-level-caching-8mh</link>
      <guid>https://dev.to/gurdeep_dhillon/cutting-llm-cost-and-latency-with-gateway-level-caching-8mh</guid>
      <description>&lt;p&gt;Large language models are expensive to run and slow to respond compared with almost any other component in a modern application stack. A single completion can cost orders of magnitude more than a database query and take a thousand times longer. As soon as an application serves real traffic, patterns emerge: the same questions recur, the same prompts repeat across users, and a surprising share of requests ask for something the system has already answered. Caching turns that repetition into savings. This article explains the economics and architecture of caching at the AI gateway layer, why the gateway is the right place to do it, and the pitfalls to watch for.&lt;/p&gt;

&lt;p&gt;The core idea is simple. An &lt;a href="https://www.truefoundry.com/ai-gateway" rel="noopener noreferrer"&gt;AI gateway&lt;/a&gt; sits in the request path between your applications and your model providers. Because every call passes through it, the gateway can recognise a repeated or near-duplicate request and return a stored response without making a new model call. That single capability cuts both cost and latency at once, and it does so centrally, so individual teams do not each have to build it.&lt;/p&gt;

&lt;h3&gt;
  
  
  The economics of a cache hit
&lt;/h3&gt;

&lt;p&gt;To see why caching matters, consider what a cache hit avoids. A cache miss follows the full path: your application sends a request, the gateway forwards it to a provider, the model runs a forward pass, tokens stream back, and you are billed for every input and output token. A cache hit short-circuits all of that. The response is read from a store and returned. You pay nothing to the model provider for that request, and the user waits only as long as the lookup takes rather than as long as generation takes.&lt;/p&gt;

&lt;p&gt;Two different costs fall at once:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Spend&lt;/strong&gt;. Each served-from-cache request is a model call you did not pay for. Across a workload with meaningful repetition, avoided calls accumulate into a real reduction in provider bills.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latency&lt;/strong&gt;. A stored response returns far faster than a fresh generation. For interactive products, that difference is felt directly by users; for batch and agentic workloads, it compounds across many steps.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The lever that governs both is hit rate: the proportion of requests served from cache. A workload with high repetition and a well-tuned cache can serve a large share of traffic without touching a model. A workload of mostly unique, personalised requests will see little benefit. The economics follow directly from how repetitive your traffic actually is, which is why measuring hit rate matters more than any headline promise.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why the gateway is the right layer
&lt;/h3&gt;

&lt;p&gt;You could implement caching inside each application, but doing it at the gateway is better for several structural reasons.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It already sees everything&lt;/strong&gt;&lt;br&gt;
The gateway is the one component every request flows through. That makes it the natural place for any logic that needs a complete view of traffic. A cache is only as good as the share of requests it can observe; a cache that sees all traffic can match a request from one application against a response generated for another, where that is safe to do. Scattering caches across services fragments that view and duplicates effort.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It centralises the hard parts&lt;/strong&gt;&lt;br&gt;
Correct caching requires careful handling of keys, expiry, invalidation, and isolation. Implementing that once, well, at the gateway is far more reliable than reimplementing it in every service in every language your organisation uses. Teams keep making ordinary model calls; the caching behaviour lives in shared infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It sits with related controls&lt;/strong&gt;&lt;br&gt;
Caching is one of a family of cross-cutting concerns the gateway handles, alongside routing, budgets, guardrails, and observability. These interact. The same layer that enforces a budget can reduce the spend that budget tracks; the same layer that records observability data can report cache hit rate as a first-class metric. Keeping caching beside these controls means they share one consistent view of traffic.&lt;/p&gt;

&lt;p&gt;Applications reach the gateway through an ordinary OpenAI-compatible client, so adopting it does not change application code:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;from openai import OpenAI&lt;br&gt;
client = OpenAI(&lt;br&gt;
    api_key="your_truefoundry_api_key",&lt;br&gt;
    base_url="&lt;a href="https://gateway.truefoundry.ai" rel="noopener noreferrer"&gt;https://gateway.truefoundry.ai&lt;/a&gt;",&lt;br&gt;
)&lt;br&gt;
response = client.chat.completions.create(&lt;br&gt;
    model="openai/gpt-4o",&lt;br&gt;
    messages=[{"role": "user", "content": "Summarise our return policy."}],&lt;br&gt;
)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;From the application's perspective nothing special happens; the gateway decides per request whether to serve a cached answer or forward to the model.&lt;/p&gt;

&lt;h3&gt;
  
  
  Configuring a cache: an illustrative example
&lt;/h3&gt;

&lt;p&gt;Caching behaviour is usually expressed as configuration rather than code. The snippet below is illustrative and generic, not a specific product API; it shows the kinds of knobs a cache exposes and how they map to the concepts above.&lt;/p&gt;

&lt;h1&gt;
  
  
  Illustrative cache configuration (generic, not a real API)
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;cache:&lt;br&gt;
  enabled: true&lt;br&gt;
  mode: semantic          # or "exact" for byte-identical matching&lt;br&gt;
  similarity_threshold: 0.92   # how close a match must be to reuse (semantic)&lt;br&gt;
  ttl: 3600               # seconds before an entry expires&lt;br&gt;
  scope: per_tenant       # isolate entries by tenant to avoid leakage&lt;br&gt;
  exclude:&lt;br&gt;
    - personalised&lt;br&gt;
    - tool_calls&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Each field corresponds to a decision worth understanding. mode chooses between exact-match caching, which reuses an answer only when the input is identical, and semantic caching, which reuses when a new prompt is close enough in meaning to a stored one. similarity_threshold governs how close "close enough" is for semantic matching and trades precision against recall. ttl bounds staleness. scope controls isolation. exclude keeps unsafe categories out of the cache entirely.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cache isolation and safety
&lt;/h3&gt;

&lt;p&gt;A cache that serves the wrong person's answer is worse than no cache at all. The central safety concern is isolation: making sure a stored response is only ever returned to a request that is genuinely entitled to the same answer.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Per-user and per-tenant partitioning.&lt;/strong&gt; In multi-tenant systems, cache lookups must be scoped so one tenant can never receive another tenant's cached content. This is a boundary, not an optimisation.
-** Excluding personal data.** Responses that embed a specific user's data should not sit in a shared cache. Either exclude them or confine them to that user's private scope.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Respecting context.&lt;/strong&gt; If a system prompt, injected context, or model parameter changes the correct answer, it must be part of what the cache keys on, or you will serve a response generated under different conditions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because the gateway owns identity and routing for every request, it is well placed to enforce these boundaries consistently rather than leaving each application to get isolation right on its own.&lt;/p&gt;

&lt;h3&gt;
  
  
  Invalidation: keeping answers fresh
&lt;/h3&gt;

&lt;p&gt;Every cached answer is a bet that the underlying truth has not changed. Invalidation is how you manage that bet. Two mechanisms work together:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Time to live.&lt;/strong&gt; A TTL sets a ceiling on staleness. Once an entry expires, the next matching request goes to the model and refreshes the stored answer. Short TTLs suit volatile information; longer TTLs suit stable facts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explicit eviction.&lt;/strong&gt; When a source changes, such as an updated policy or a corrected document, you need to purge affected entries immediately rather than wait for expiry. Namespace versioning (bumping a version tag so old entries become unreachable) and tag-based eviction (removing all entries derived from a given source) are the usual tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The right balance depends on your tolerance for staleness. A support bot answering stable product questions can use long TTLs; a system quoting anything that moves should keep them short and lean on explicit eviction.&lt;/p&gt;

&lt;h3&gt;
  
  
  Interaction with routing and budgets
&lt;/h3&gt;

&lt;p&gt;Caching does not operate in isolation at the gateway; it interacts with the other controls, and understanding that interaction prevents surprises.&lt;/p&gt;

&lt;p&gt;With routing, the cache sits logically in front of the routing decision: if a request can be served from cache, there is no need to choose a provider or model for it at all. That ordering is what delivers the latency win, since the fastest model call is the one you never make. With budgets, caching changes the shape of spend. A cached request consumes no provider tokens, so a well-populated cache can keep a workload within budget that would otherwise exceed it. Reporting should make this visible, attributing savings to the cache so teams understand where their spend did and did not go. With observability, hit rate becomes a metric to track over time, because it can drift as traffic patterns change, and a falling hit rate is an early signal that your cache or threshold needs attention.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pitfalls to watch for
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Caching what should not be cached.&lt;/strong&gt; Personalised, time-sensitive, tool-calling, and high-stakes outputs do not belong in a shared cache. Decide exclusions deliberately rather than caching everything by default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A threshold set too loose.&lt;/strong&gt; For semantic caching, an aggressive similarity threshold inflates hit rate while serving answers that only looked similar. Watch answer quality, not just hit rate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stale answers from missing invalidation.&lt;/strong&gt; Relying on TTL alone means updates take effect only after expiry. Pair TTL with explicit eviction for anything that can change underneath you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Isolation gaps.&lt;/strong&gt; A cache that is not correctly partitioned can leak one user's content to another. Treat isolation as a correctness requirement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measuring the wrong thing.&lt;/strong&gt; A high hit rate paired with degraded quality is a loss disguised as a win. Track hit rate, latency, savings, and quality together.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Key Takeaways&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A cache hit avoids a full model call, cutting both provider spend and user-facing latency at the same time.&lt;/li&gt;
&lt;li&gt;Hit rate, driven by how repetitive your traffic is, determines how much caching actually saves, so measure it.&lt;/li&gt;
&lt;li&gt;The gateway is the right layer because it already sees every request, centralises the hard parts of caching, and sits beside routing, budgets, guardrails, and observability.&lt;/li&gt;
&lt;li&gt;Cache configuration exposes clear knobs: exact versus semantic mode, a similarity threshold, a TTL, an isolation scope, and exclusions.&lt;/li&gt;
&lt;li&gt;Isolation per user and tenant is a safety requirement, not an optimisation; never serve one party's cached answer to another.&lt;/li&gt;
&lt;li&gt;Combine TTL with explicit invalidation so updated sources take effect promptly.&lt;/li&gt;
&lt;li&gt;Avoid caching personalised, time-sensitive, tool-calling, or high-stakes outputs, and never read hit rate without reading quality alongside it.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>infrastructure</category>
      <category>llm</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
