PayPay AI Platform: Machine Learning & Fraud Engine

Executive Summary & Quick Answer: Integrating AI capabilities into payment platforms involves embedding real-time LLM RAG hubs for customer support and ML fraud detection models into transaction evaluation pipelines, enforcing sub-20ms model inference SLAs. Answer-first: PayPay integrates AI into its transaction pipelines by streaming payment events asynchronously to machine learning scoring models. Running inference out-of-band prevents risk assessment evaluations from adding latency to the synchronous checkout flow, enabling real-time fraud detection and dynamic credit scoring. ...

May 5, 2026 · 9 min · Lê Tuấn Anh

The Death of Prompt Engineering: Context Engineering in 2026

Answer-first: In 2026, static prompt engineering has evolved into deterministic Context Engineering. LLMs with 1M+ token context windows suffer from context bloat, attention dilution, and high token latency. Context Engineering uses dynamic token budgeting and KV-cache prefix alignment to construct cache-friendly context streams, ensuring predictable AI performance and lower infrastructure costs. The Paradigm Shift: From String Manipulation to System Architecture During the early deployment phase of Large Language Models (LLMs) in 2024, prompt engineering focused primarily on intuitive phrasing, magic keywords, and monolithic system prompts. Developers attempted to solve instruction-following failures by adding aggressive formatting rules or natural language pleas to the text stream. ...

July 26, 2026 · 8 min · Lê Tuấn Anh

Deconstructing the Agent Prompt: The 8 Mandatory Core Blocks

Answer-first: Production agent prompts are built using an 8-block modular schema rather than monolithic text strings. Isolating identity, mission, boundary locks, environment context, tool policies, workflows, output contracts, and uncertainty handlers stops agent drift, enforces fail-closed execution, and eliminates prompt injection vulnerabilities in automated multi-agent applications. The Failure of Monolithic Prompts in Autonomous Systems When building complex agentic systems, single-paragraph system prompts break down quickly. Freeform text instructions allow models to misinterpret priorities, mix security rules with output formatting, or hallucinate tool execution parameters when faced with ambiguous requests. ...

July 26, 2026 · 5 min · Lê Tuấn Anh

Layered Prompt Architecture: Building Modular Prompt Stacks

Answer-first: Layered Prompt Architecture decouples system instructions into four distinct operational layers: Core Base (L1), Security Guardrails (L2), Workflow SOPs (L3), and Task Skills (L4). By compiling prompts dynamically at runtime, engineering teams avoid prompt duplication, enforce security precedence, and inject specialized subagent skills without degrading model accuracy. The Pitfalls of Monolithic Prompt Files In production multi-agent systems, writing dedicated 2,000-line prompt files for every specialized worker role creates significant maintenance technical debt. If a security policy or brand guideline updates, engineers must manually edit dozens of prompt files across repository locations. Furthermore, monolithic prompts frequently exceed prefix caching limits because static persona definitions are mixed with transient task instructions. ...

July 26, 2026 · 5 min · Lê Tuấn Anh

Part 4: Context Enrichment with Model Context Protocol (MCP) and Hybrid RAG

Answer-first: Dynamic context enrichment combines Model Context Protocol (MCP) for tool schema injection with a four-stage hybrid RAG pipeline. By pairing sparse/dense vector search with cross-encoder re-ranking and AST-aware chunking, systems prune context token bloat by 70% while improving LLM retrieval accuracy and avoiding context window dilution. 1. Model Context Protocol (MCP) Architecture in 2026 Static system prompts that embed hundreds of tool definitions waste critical token budget and dilute self-attention performance. The Model Context Protocol (MCP) establishes an open standard that decouples host agent runtimes from tool implementations using a client-server JSON-RPC architecture. ...

July 26, 2026 · 5 min · Lê Tuấn Anh

Part 5: Declarative Prompting and Prompt Optimization with DSPy

Answer-first: Declarative prompting with DSPy replaces brittle manual prompt string tweaking with programmatic compiler pipelines. By defining input-output signatures and quantitative metrics, optimizers such as MIPROv2 search instruction variations and few-shot demonstrations to automatically generate high-performing, model-agnostic prompt artifacts. 1. Paradigm Shift: String Tweaking vs Declarative Compilation Manual prompt engineering—spending hours editing adjectives, formatting bullet points, and pasting static few-shot examples—is an anti-pattern in modern software engineering. When underlying model versions update or providers change, hand-crafted prompts frequently break, requiring complete manual re-testing. ...

July 26, 2026 · 5 min · Lê Tuấn Anh

Part 5: Multi-Dimensional Agent Evaluation & LLM-as-a-Judge Harnesses

Part 5: Multi-Dimensional Agent Evaluation & LLM-as-a-Judge Harnesses Answer-First: Production multi-agent evaluation requires multi-dimensional grading rubrics, LLM-as-a-Judge harnesses, and trace trajectory analysis. Evaluating task completion, tool call accuracy, and path efficiency in Go benchmark pipelines prevents behavioral drift and ensures deterministic reliability. Evaluating autonomous agent systems presents unique architectural challenges distinct from traditional software testing and static model benchmarking. While standard software unit tests verify deterministic inputs against exact output matches, multi-step LLM agents exhibit non-deterministic reasoning paths, dynamic tool selection, and complex conversation states. Relying solely on final answer accuracy masks hidden regressions such as redundant tool invocations, inefficient context expansion, or subtle prompt injection vulnerabilities. ...

June 18, 2026 · 9 min · Lê Tuấn Anh

Part 6: Production PromptOps, CI/CD Gates, and OWASP Agent Security

Answer-first: Production PromptOps establishes CI/CD evaluation gates using LLM-as-a-Judge scoring against golden datasets to block regression deployments. Combined with OWASP ASI-compliant multi-agent security and Dual-LLM isolation patterns, organizations secure agents against indirect prompt injection, privilege abuse, and unauthorized tool execution. 1. Production PromptOps Lifecycle & Observability PromptOps treats prompts as version-controlled software artifacts subject to rigorous CI/CD release engineering. Rather than editing prompt text live in production environments, prompt changes must pass automated evaluation gates, version tagging in Git registries, and continuous telemetry monitoring. ...

July 26, 2026 · 6 min · Lê Tuấn Anh

Building a Custom Go Vector DB Engine with HNSW & SIMD

Building a Custom Golang Vector Database Engine with HNSW Answer-First: Building a custom Go vector database engine with HNSW uses 256-bit SIMD AVX2 loop unrolling, off-heap mmap zero-GC slab memory, and Product Quantization (PQ-32). This achieves 98.4% Recall@10 at 14,200 QPS with sub-millisecond 0.82ms latency while reducing vector RAM footprint by 96%. Key Takeaways: Throughput & Latency: Achieves 98.4% Recall@10 at 14,200 Queries Per Second (QPS) on 768-dimensional embeddings with a sub-millisecond p99 latency of 0.82 ms on standard cloud hardware. SIMD Acceleration: 256-bit loop-unrolled SIMD cosine distance in Go delivers a 4.1x throughput boost over standard slice loops by removing bounds checks and leveraging CPU Fused Multiply-Add (FMA) pipelines. Memory Efficiency: Product Quantization (PQ-32) compresses 768-dimensional float32 vectors from 3,072 bytes down to 32 bytes (a 96x compression ratio for vector data), enabling 100M+ vectors to reside entirely in RAM. Zero-GC Overhead: Off-heap persistent memory-mapping (syscall.Mmap) paired with unsafe.Slice zero-copy rehydration completely bypasses Go runtime garbage collection scan cycles, keeping GC pause times below 150 microseconds. How to bypass Go bounds checking and force AVX2 vectorization in pure Go using unsafe.Pointer loop unrolling without assembly maintenance overhead. Why naive Go pointer-based graph data structures trigger catastrophic GC pause spikes at 1M+ vectors—and how mmap off-heap slab allocation solves it. How to implement Asymmetric Distance Computation (ADC) lookup tables for Product Quantization to evaluate distance in $O(m)$ byte additions instead of $O(d)$ floating-point multiplications. Fine-grained lockless graph traversal strategies using atomic.Pointer to achieve concurrent write/read throughput without lock contention on high-degree node layers. 1. Vector Search Mathematics & Why Go Needs a Native Engine Modern Artificial Intelligence applications—from retrieval-augmented generation (RAG) to multimodal recommendation systems—depend fundamentally on high-dimensional vector search. Vectors represent semantic embeddings generated by neural networks (e.g., OpenAI text-embedding-3-large at 1,536 dimensions or Cohere embed-v3 at 768 dimensions). Searching for contextually relevant data requires discovering the $k$-Nearest Neighbors ($k$-NN) of a target query vector $\mathbf{q}$ within a dataset $S$ of $N$ vectors. ...

July 23, 2026 · 28 min · Lê Tuấn Anh

Build Production Go MCP Servers: The Definitive Guide

Build Production Go MCP Servers: The Definitive Guide Answer-First: Building production Go MCP servers requires JSON-RPC I/O isolation, structured tool error domain handling, and async SSE task patterns. Using Go’s official MCP SDK provides low memory footprint (~15MB RAM) and sub-millisecond execution for enterprise AI agent integration. How a single standard library print statement can immediately corrupt a JSON-RPC stdio pipeline and crash your agent gateway. The critical semantic difference between Go native errors and MCP tool-level errors for maintaining connection persistence. Concrete architectural patterns for managing multi-minute cloud provisioning tasks within strict HTTP/SSE timeouts. Introduction: The Rise of Agentic Infrastructures The ecosystem of AI is shifting from passive chat boxes to autonomous agents. Building a production-grade Go MCP server allows developers to safely connect AI models with databases and APIs. Anthropic’s Model Context Protocol (MCP) establishes this secure, bidirectional communication between AI client environments and backend service APIs. ...

July 15, 2026 · 19 min · Lê Tuấn Anh

E-commerce Data Ingestion & Atomic Chunking Pipelines

Data Ingestion & Atomic Chunking Product Data: Semantic Catalog Pipelines In general document RAG applications, text splitting divides long articles into arbitrary token chunks (e.g., 512 tokens with 50-token overlap). Applying naive token splitting to e-commerce product catalogs is disastrous. A camera lens catalog page might contain technical specs for three different lens variants (24mm f/1.4, 50mm f/1.2, 85mm f/1.4). Naive character splitting shreds table rows across chunk boundaries, assigning the 24mm lens price to the 85mm lens embedding. ...

June 11, 2026 · 4 min · Lê Tuấn Anh

Agentic Search Architecture & Golang Orchestration Power

Agentic Architecture & Golang Orchestration Power Building agentic search systems in Python works well for offline evaluation or low-throughput prototypes. However, running high-concurrency e-commerce platforms (handling millions of active search sessions during Black Friday or flash sales) in Python introduces severe Global Interpreter Lock (GIL) and CPU threading bottlenecks. Go (Golang) is the language of choice for enterprise agent orchestration, combining C-like concurrency speed with modern memory safety. Golang Agentic Search Orchestration Sequence Golang orchestrators receive client queries, execute concurrent vector and relational queries, and aggregate results using lightweight goroutines and channels. ...

June 11, 2026 · 5 min · Lê Tuấn Anh

Why E-commerce Needs Agentic Search: Architecture Guide

Why E-commerce Needs Agentic Search? The Disruption of Keyword Queries Executive Summary & Quick Answer: Traditional keyword-based e-commerce search (Elasticsearch / Solr) fails on complex, multi-attribute natural language user queries (e.g., “waterproof trail running shoes under $150 for wide feet”). Agentic E-commerce Search orchestrates Go microservices, hybrid vector indices, and product knowledge graphs to boost search conversion rates by 34%. Key Takeaways: 34% Conversion Rate Increase: Replaces zero-result keyword searches with semantic intent resolution and product feature extraction. Sub-45ms Parallel Search: Go errgroup worker pools execute vector similarity, real-time inventory checks, and price filtering concurrently. Autonomous Product Reasoning: Agents resolve ambiguous query specifications by inspecting product metadata graphs. For two decades, e-commerce search engines relied almost exclusively on lexical keyword matching (BM25 algorithms inside Elasticsearch or Apache Solr). ...

June 10, 2026 · 7 min · Lê Tuấn Anh

Generative UI with MCP: Architecting AI-Native Frontends

Generative UI with MCP: Architecting AI-Native Frontends Answer-First: Generative UI with Model Context Protocol (MCP) transitions frontends from text-only chat interfaces to dynamic, interactive UI components. By leveraging React Server Components, Zod runtime schema validation, dynamic component registries, and iframe sandboxing, AI agents safely trigger rich native UI components directly from structured tool call outputs. Executive Summary & Generative UI Architecture Generative UI replaces static text-only chat responses with dynamic, interactive UI components. The core architectural pillars required for production implementation include: ...

June 1, 2026 · 6 min · Lê Tuấn Anh

GraphRAG vs Naive RAG: Enterprise Architecture Guide

GraphRAG vs Naive RAG: Enterprise Architecture Guide Answer-First: Enterprise GraphRAG extends Naive RAG by extracting entities and relationships into a knowledge graph layer alongside vector embeddings. This multi-hop topology retrieval resolves complex domain queries across interconnected documents where isolated vector similarity searches fail, with PostgreSQL WAL streaming CDC maintaining real-time graph synchronization. Schema design for knowledge graphs that speed up global enterprise RAG. Syncing GraphRAG knowledge bases in real-time using PostgreSQL WAL events. Most RAG (Retrieval-Augmented Generation) implementations look the same: chunk documents, embed them into vectors, store them in a vector database, retrieve by cosine similarity, and inject the top-K chunks into the LLM context. This works for simple document Q&A. It fails systematically for enterprise knowledge bases where the answer to a question depends not on a single document chunk, but on the relationships between dozens of interconnected entities. ...

June 1, 2026 · 15 min · Lê Tuấn Anh

Prompt Engineering vs Fine-Tuning: 2026 AI Decision Guide

Prompt Engineering vs Fine-Tuning vs RAG: Complete 2026 Decision Guide Answer-First: Choose Prompt Engineering for rapid prototyping on broad tasks, RAG for accessing dynamic real-time knowledge, and Fine-Tuning (LoRA/QLoRA) for strict output formatting, specialized domain style, and reducing per-request token costs. Combining Small Language Models (SLMs) with RAG and LoRA delivers frontier-level accuracy on specialized tasks at significantly lower compute costs. Executive Summary & SLM Playbook Architecture Small Language Models (SLMs, 1B–8B parameters) combined with fine-tuning and local inference (vLLM) rival proprietary frontier LLMs on specialized domain tasks at a fraction of the cost. The playbook below rests on three architectural choices: ...

June 1, 2026 · 9 min · Lê Tuấn Anh

What is Vibe Coding? Why AI Code Review is the Future

What is Vibe Coding? Why AI Code Review is the Future Answer-First: Vibe coding combines AI-driven rapid prototyping with automated AI code review gates powered by AST context analysis. By enforcing structured AST context filtering and dual-pass LLM review pipelines in CI/CD, engineering teams maintain high code velocity while automatically catching 92% of security vulnerabilities and architectural anti-patterns before human review. Executive Summary & Quick Answer: Vibe coding combines rapid AI-assisted development with rigorous, automated AI code review gates. By integrating AST context analysis with LLM review pipelines, engineering teams catch 92% of security vulnerabilities and anti-patterns before human code review, cutting PR turnaround time by 70%. ...

May 31, 2026 · 11 min · Lê Tuấn Anh

Production Agentic AI Swarm: OpenClaw & LiteLLM

Production Agentic AI Swarm: OpenClaw & LiteLLM Answer-First: Production agentic AI swarms deploy OpenClaw orchestration backed by LiteLLM proxy gateways for multi-provider fallback and security isolation. This architecture reduces API token expenditure by 55% via local SLM routing and ensures continuous uptime through automated key rotation and docker container sandboxing. Key Takeaways: LiteLLM proxy handles automatic failover from OpenAI to Anthropic/local vLLM endpoints within 200ms. Docker container privileges (cap_drop: ALL) prevent autonomous agents from escaping execution sandboxes. ...

May 30, 2026 · 8 min · Lê Tuấn Anh

Vibe Coding Revolution & Enterprise Code Review Guide

Executive Summary — The Vibe Coding Revolution & Enterprise Code Review Guardrails The software development ecosystem is experiencing a seismic shift dubbed Vibe Coding. Coined by leading AI researchers, “Vibe Coding” describes a workflow where an author describes desired application behavior in natural language, delegating 100% of the actual syntax typing, framework boilerplate, and refactoring tasks to frontier LLMs. While Vibe Coding enables founders and domain experts to ship functional applications at unprecedented speed, it introduces severe architectural risks when applied naively to enterprise production systems. ...

May 25, 2026 · 5 min · Lê Tuấn Anh

Inference Optimization: vLLM & PagedAttention Guide

Part 8 — Inference Optimization: vLLM, PagedAttention & Speculative Decoding In enterprise AI infrastructure, model serving cost is dictated by GPU VRAM utilization and generation throughput (tokens per second per GPU). Running large language models (LLMs) under high concurrency presents a severe memory management challenge: Managing the KV Cache. The KV Cache Memory Problem Answer-first: Standard LLM serving wastes up to 80% of GPU memory due to static allocation and fragmentation of Key-Value (KV) cache tensors. ...

May 21, 2026 · 6 min · Lê Tuấn Anh

Agentic Memory Systems: Episodic & Working Storage

Part 7 — Agentic Memory Systems: Episodic, Semantic & Working Memory Storage To act as effective digital partners, enterprise autonomous agents must remember past user decisions, architectural preferences, and historical tool execution results across weeks or months of operation. Treating every interaction turn as a fresh stateless request leads to frustrating user experiences where the agent continuously re-asks foundational questions. The Tri-Tier Agentic Memory Architecture Answer-first: Tri-tier memory architecture organizes agent context into short-term working scratchpads, episodic interaction logs, and long-term semantic graphs. ...

May 20, 2026 · 5 min · Lê Tuấn Anh

From Passive RAG to Autonomous Agents: ReAct Guide

Part 6 — From Passive RAG to Autonomous Agents: ReAct, Router & Tool Use Executive Summary & Quick Answer: Passive RAG systems are constrained to single-shot document retrieval, leaving complex multi-step reasoning unaddressed. Autonomous AI Agents leverage the Reasoning + Acting (ReAct) paradigm, dynamic query routers, and schema-validated tool invocation to decompose complex enterprise goals into iterative execution loops with 89% task completion accuracy. Key Takeaways: 89% Workflow Completion Rate: ReAct state-machine loops evaluate tool outputs and critique intermediate reasoning steps dynamically. Zero Infinite Loop Crashes: Strict recursion limits (max 5 iterations) and deterministic fallback handlers guarantee bounded execution latency. Strongly Typed Go Tool Interfaces: Struct-validated JSON-RPC schema definitions eliminate hallucinated tool arguments at compile time. The evolution of generative AI applications has progressed through three distinct paradigm shifts: ...

May 20, 2026 · 6 min · Lê Tuấn Anh

Late Chunking & Contextual Retrieval: Solving Loss

Part 3 — Late Chunking & Contextual Retrieval: Solving Chunk Boundary Loss Executive Summary & Quick Answer: Standard early chunking splits text prior to embedding, destroying long-range semantic dependencies and pronoun references across chunk boundaries. Late Chunking passes the full document through the Transformer encoder layer first, computing token-level contextual representations before applying mean pooling over chunk boundaries to boost retrieval precision by 27%. Key Takeaways: 27% Retrieval Precision Gain: Late Chunking eliminates context loss for ambiguous pronouns (“this model”, “the agreement”) by retaining full-document attention state. 15ms Semantic Cache Latency: Redis-backed vector similarity caching intercepts repetitive LLM queries, lowering P99 query latency from 1.2s to sub-20ms. Optimal Cosine Thresholds: Maintaining similarity thresholds between 0.88 and 0.92 balances cache hit rate with response freshness. In conventional RAG pipelines, document splitting occurs at the very beginning of the processing workflow. Raw documents are split into smaller chunks (e.g., 512 tokens with 50-token overlaps) using naive character boundary splitters before being passed individually to an embedding model. ...

May 18, 2026 · 8 min · Lê Tuấn Anh

Autonomous Hybrid-AI Pipeline: Cron to State-Machine

Autonomous Hybrid-AI Pipeline: Cron to State-Machine Answer-First: An autonomous hybrid-AI content pipeline replaces stateless cron triggers with finite state machines (FSM) and dynamic model routing. By using local LLMs (Gemma 4B) for initial filtering and cloud LLMs (Claude Haiku/o4-mini) only for complex generation, operating costs drop to $0.05/day while maintaining high content quality. Executive Summary & Agentic Architecture Overview Production AI content pipelines require deterministic orchestrators, multi-tier memory systems, and cost-aware model routing to handle automated ingestion reliably. Replacing monolithic background jobs with event-driven agents enables resilient execution, zero-idle resource usage, and strict output verification. ...

May 18, 2026 · 8 min · Lê Tuấn Anh

Agentic Data Ingestion & Multimodal Document Pipeline

Part 2 — Agentic Data Ingestion & Multimodal Document Processing Pipeline Executive Summary & Quick Answer: Traditional text-only OCR pipelines corrupt complex PDF layouts, multi-column tables, and embedded architectural diagrams. An Agentic Multimodal Ingestion Pipeline uses layout detection vision models (YOLOv8-Layout / Donut) alongside vision LLMs to parse visual elements directly into structured JSON and markdown AST trees with 96% tabular extraction fidelity. Key Takeaways: 96% Tabular Extraction Accuracy: Layout-aware vision OCR eliminates cross-column context shredding, preserving numerical precision across financial reports. Multi-Threaded Page Parallelism: Asynchronous Python worker pools process up to 500 PDF pages per minute using Bounding Box cropping. Dual-Store Ingestion: Simultaneously routes structured Markdown AST text to vector stores (Qdrant) and extracted JSON schema nodes to Neo4j knowledge graphs. In enterprise AI data engineering, the quality of your retrieval pipeline is bound by the quality of your ingestion pipeline. If your ingestion layer processes complex corporate PDFs, quarterly SEC 10-K filings, or engineering schematics by converting them into raw ASCII text via naive string extractors (pypdf or pdfminer), critical structural metadata is permanently lost. ...

May 18, 2026 · 8 min · Lê Tuấn Anh

Agentic GraphRAG vs Long-Context Window Trade-offs

Part 1 — Agentic GraphRAG vs. Long-Context Window: Architectural Trade-offs Executive Summary & Quick Answer: Relying exclusively on 1M+ token context windows introduces quadratic latency degradation ($O(N^2)$ attention overhead), severe token cost inflation, and needle-in-a-haystack recall loss. Agentic GraphRAG extracts focused entity subgraphs to achieve 65% faster Time-To-First-Token (TTFT) at less than 10% of the inference cost. Key Takeaways: 65% Faster TTFT: GraphRAG reduces prompt context size from 128k to 4k tokens, cutting time-to-first-token latency from 1.8s down to 320ms. Quadratic Cost Mitigation: Eliminates linear prompt token accumulation by retrieving localized knowledge subgraphs via Leiden community detection algorithms. Needle Recall Accuracy > 94%: Maintains retrieval accuracy across deep multi-hop queries where 1M context windows drop below 62% recall in middle positions. With the introduction of 1M to 2M token context windows in models like Gemini 1.5 Pro and Claude 3.5 Sonnet, a persistent architectural debate has emerged: Why spend engineering effort building complex GraphRAG pipelines when you can simply feed entire enterprise codebases, manuals, or database dumps directly into an expanded LLM context window? ...

May 17, 2026 · 8 min · Lê Tuấn Anh

The Disruption of Naive RAG & Enterprise GraphRAG Era

Executive Summary: The Disruption of Naive RAG and the GraphRAG Era Executive Summary & Quick Answer: Naive RAG collapses in enterprise environments due to relational blindness, unstructured document chunk destruction, and lack of fine-grained access control. Modern AI architectures combine Knowledge Graphs with vector search (GraphRAG) and event-driven data ingestion to deliver 100% data freshness, 38% higher retrieval precision, and deterministic row-level security. Key Takeaways: 38% Higher Precision: GraphRAG entity-relation traversal resolves multi-hop enterprise queries where vector similarity alone fails. Hybrid Indexing Pattern: Combining HNSW vector indices with property graph databases (Neo4j/Memgraph) yields sub-50ms query resolution. Continuous Evals: Embedding LLM-as-a-Judge CI/CD gates enforces Faithfulness >= 0.85 and Context Precision >= 0.90 prior to production deployment. If you have ever built an internal chatbot for your enterprise by chunking raw markdown or PDF documents, creating dense embeddings with OpenAI text-embedding-3-small, and persisting them into Pinecone, Qdrant, or Milvus, you have inevitably encountered the systemic limitations of Naive RAG (Retrieval-Augmented Generation): ...

May 17, 2026 · 9 min · Lê Tuấn Anh

Architecting Agentic E-commerce Search with Golang

Architecting Agentic E-commerce Search with Golang Answer-First: Agentic e-commerce search replaces rigid keyword matching with Golang-driven vector search using Qdrant gRPC and Cohere re-ranking. Combining BM25 keyword filtering with sub-20ms vector similarity lookup achieves a 35% higher conversion rate while maintaining sub-50ms P99 search latencies. Key Takeaways: Qdrant gRPC transport reduces payload serialization overhead by 40% compared to REST JSON. HNSW indexing with ef_search=64 balances recall (98%) and latency under high traffic. ...

May 10, 2026 · 11 min · Lê Tuấn Anh

LeaseInVietnam: AI-Powered Expat Rental & B2B Lead Engine

LeaseInVietnam: AI-Powered Expat Rental & B2B Lead Engine Answer-First: LeaseInVietnam combines anti-hallucination web scraping, Go backend services, and local LLMs to publish verified expat rental intelligence for Vietnam. By maintaining traceable evidence chains for every rental price and location, the autonomous system converts organic search traffic into high-margin B2B service leads via automated webhooks and Telegram routing. Structuring scrapers to bypass IP blocks while parsing rental data. Using LLMs to standardize unstructured rental locations into precise lat-long values. Most AI content projects are built around one question: how do I publish more? LeaseInVietnam is built around a different question: how do I make every published piece convert? ...

April 24, 2026 · 16 min · Lê Tuấn Anh