Live
Pod‑Level GPU Cost Tracking in Kubernetes with CloudBoltShadow AI: Operational Risks and Practical Guardrails for EngineersAI code generation delivers a 45k‑line data pipeline in 7 hours – practical takeaways for engineersAzure AI Gateway Hits GA as a Dedicated Service for Model Access GovernanceAWS Nitro Sandboxes Enable Isolated AI Agent Execution on Shared EC2 NodesPyTorch Adds GreenLight AI Reviewer for Auto‑Approving Low‑Risk Pull RequestsCognition’s SWE‑2.1 Ultrafast delivers 10× coding model speedup on CerebrasAI‑driven troubleshooting and unified self‑service in VMware Cloud Foundation and VKSPod‑Level GPU Cost Tracking in Kubernetes with CloudBoltShadow AI: Operational Risks and Practical Guardrails for EngineersAI code generation delivers a 45k‑line data pipeline in 7 hours – practical takeaways for engineersAzure AI Gateway Hits GA as a Dedicated Service for Model Access GovernanceAWS Nitro Sandboxes Enable Isolated AI Agent Execution on Shared EC2 NodesPyTorch Adds GreenLight AI Reviewer for Auto‑Approving Low‑Risk Pull RequestsCognition’s SWE‑2.1 Ultrafast delivers 10× coding model speedup on CerebrasAI‑driven troubleshooting and unified self‑service in VMware Cloud Foundation and VKS

Enterprise Data for AI Agents: Cutting Token Overhead with Data Mesh and MCP

AI SummaryPowered by AI

TOTVS introduced a data‑layer approach that combines a data mesh, low‑latency databases, semantic ontologies, and dynamic Model Context Protocol (MCP) selection to feed token‑hungry AI agents. This reduces token consumption, improves latency, and balances deterministic logic with LLM flexibility, directly impacting cost, performance, and security for engineers.

TOTVS has re‑engineered its enterprise data layer to serve token‑intensive AI agents. By weaving a data mesh with low‑latency databases, adding semantic ontologies, and selecting Model Context Protocol (MCP) tools dynamically, the company reduces the number of tokens required to convey transactional context while keeping deterministic logic where precision and security matter.

Data Mesh and Low‑Latency Storage

The new layout treats each domain as a mesh node, exposing data close to the point of consumption. Low‑latency database architectures keep round‑trip times short, which is critical when AI agents request fresh transactional records within tight context windows.

Semantic Ontologies for Context

Semantic models describe relationships and meanings across the mesh, allowing agents to construct richer prompts without inflating token counts. The ontologies act as a deterministic layer that guides LLMs, helping maintain precision and limiting exposure of raw data.

Dynamic MCP Tool Selection

Instead of a static protocol, the system picks the appropriate MCP implementation per request. This flexibility lets engineers match the protocol’s token‑packing strategy to the size and sensitivity of the data, directly influencing cost and security posture.

Related CloudNinjas coverage: AI engineering.

What This Means For Practitioners

Engineers should evaluate their own data‑mesh topology, latency characteristics, and semantic modeling practices when integrating AI agents. Consider introducing a configurable MCP selection mechanism to tune token usage per workload. Monitoring token consumption alongside latency and security metrics will reveal trade‑offs and guide further optimisation.

Originally published atInfoQ AI/ML/Data