Model vs. Harness: Where AI Agent Controls Belong
A comparison of what AI models should learn versus what agent infrastructure must enforce. See how reasoning, permissions, isolation, budgets, and observability split across the boundary.
A comparison of Apache Lucene's BM25 scoring and StableTfl for paginated search: BM25 maximizes relevance, while StableTfl trades a small relevance drop for consistent ranking across replicas and pages.
Apache Lucene scores documents with BM25 using corpus-wide statistics such as document frequency, which makes relevance strong but causes scores to drift as replicas and indexes change. StableTfl is a Lucene similarity that drops corpus statistics and scores using term frequency, document length, and term length as a rarity proxy. In a comparison, BM25 wins on peak relevance, while StableTfl wins on repeatable pagination and multi-replica consistency. The right choice depends on whether your search is ranked once for discovery or must return the same order across pages, replicas, and RAG retrieval steps.
BM25 uses corpus-wide statistics such as document frequency. As the corpus changes or replicas see different index states, the same query can receive different scores, so pagination can duplicate or skip results. Workarounds like sticky routing or index snapshots add extra state to manage.
StableTfl drops corpus statistics and scores with term frequency, document length, and term length as a rarity proxy. In BEIR benchmarks it reaches 0.315 NDCG@10 versus BM25's 0.346, about a 9% relative drop. Choose it when stable ordering matters more than peak relevance.
Keep BM25 when peak relevance is the priority and you can absorb consistency work with extra state. StableTfl is better suited to paginated search, RAG pipelines, and multi-replica deployments where the same query should return the same score.
The posts behind it
AI agent orchestration coordinates multiple AI agents working on a single task, deciding routing, carrying context, resolving contradictions, and escalating to humans when needed. It operates at two levels: the agent level, where frameworks like LangGraph route between specialized agents, and the conversational AI level, which preserves customer identity and history across Voice, SMS, and WhatsApp channels. Orchestration comprises four jobs: routing, shared memory and state, conflict resolution, and human escalation, with parallel execution requiring robust memory management. Twilio’s Conversation Orchestrator provides a shared conversation record as a system of record, while Conversation Memory extracts observations and resolves conflicts by updating records with the most recent version. The FAQ section addresses differences from workflow automation, comparison criteria for orchestration tools, and the mechanism for agent-to-human handoffs within the same session without callbacks.
Paginated search in Atlas Search can show duplicate or skipped results across pages because BM25 scores drift between replicas due to changing corpus statistics. The usual workarounds like sticky routing or index snapshots require extra state and are cumbersome. The solution is StableTfl, a scoring function that uses only term frequency and document length, with term length as a proxy for rarity based on Zipf’s brevity law, eliminating corpus statistics and requiring no extra state. StableTfl is contributed to Apache Lucene and is available as a per-field similarity option in Atlas Search. Benchmarks on BEIR show StableTfl achieves 0.315 NDCG@10 compared to BM25’s 0.346, a 9% relative drop, making it suitable for paginated search, RAG pipelines, and multi-replica deployments where consistency matters more than peak relevance.
Most enterprise REST APIs are invisible to AI agents, forcing teams to run separate MCP servers that duplicate their existing gateway logic. Google Cloud API Gateway in Public Preview solves this by acting as a remote MCP server — annotate the OpenAPI 3.0.x/3.1.x spec with x-google-api-management.mcp and deploy it with no extra infrastructure. The gateway accepts MCP JSON-RPC requests on a single /mcp endpoint, transcodes tools/call into the corresponding REST call, runs it through existing policies, and returns the response as an MCP result. Authentication via JWT or API key works unchanged for REST operations; tools/list is unauthenticated by default and requires JWT in production for security. With no separate server to operate, teams in Public Preview can expose up to 1,000 tools per gateway that support existing authentication and quota, and the MCP server is automatically discoverable via API hub and Agent Registry.
Business concepts like active customer or completed trip are often defined differently across teams, scattered in Slack threads and spreadsheets, causing AI agents to guess confidently when answering questions. Databricks introduces Unity Catalog Pages as a governed home within Genie Ontology where data stewards with Genie Code define the authoritative meaning of those terms and entities. Pages complement existing semantics — metric views how to calculate, domains where to look, and certification what to trust — by capturing what each concept means. Genie Code can bootstrap Pages by extracting definitions from Confluence, Slack, Google Docs, or GitHub via MCP-connected tools, turning weeks of work into minutes. When Genie One uses a Page to ground an answer, the Page is cited as a clickable source so users can inspect the definition and verify the reasoning.
Default inference configurations for large language models often leave significant performance unused, even on expensive hardware like 16 NVIDIA H200 GPUs across two nodes. The author tested this setup with vLLM and Red Hat AI Inference 3.4 on a CoreWeave Kubernetes cluster, using enterprise RAG workloads with 2,000-token inputs and 100 concurrent users. By systematically comparing aggregated and prefill-decode (PD) disaggregated architectures, and tuning tensor parallelism (TP) and PD split, latency was dramatically reduced. For Qwen3-32B, time-to-first-token (TTFT) on the best aggregated configuration (2xTP8) dropped from 995ms to 304ms, and with optimized routing to 287ms — a 71% improvement without hardware changes. For Llama-70B, TTFT fell from 1,292ms to 463ms, a 64% gain. The author also built ServeIt Studio, an open-source tool that automates the full optimization pipeline on Kubernetes.
More like this
A comparison of what AI models should learn versus what agent infrastructure must enforce. See how reasoning, permissions, isolation, budgets, and observability split across the boundary.
Compare two places to keep Claude's working state: curated files on your own machine versus a durable session store or isolated cloud computer, and learn which one fits your deployment.
CIMD uses an HTTPS URL as an OAuth client identifier that points to a metadata document. This comparison shows when to pre-register clients manually and when to let dynamic discovery handle agent onboarding.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
One useful email. Unsubscribe anytime.