Datalab Marker v2 is an open-source document parsing pipeline designed to convert PDFs, images, and office documents into clean Markdown, JSON, or HTML. It utilizes a shared inference server architecture to maximize GPU throughput by batching requests from multiple CPU workers, achieving up to 23.7 pages per second on a B200 GPU. The system is powered by Sur…
Deep reads
Section-by-section takeaways from 7 newsletters (ByteByteGo, Daily Dose of DS, Berkeley RDI, ExplainThis, Latent Space, The Batch, DataTalks.Club Weekly); 228 articles in the last 120 days.
This newsletter issue introduces the evolution of AI-driven software development from autocompletion in 2021 to advanced AI agents by 2026. As AI agent technologies have matured, emerging concepts such as Harness Engineering, Loop Engineering, and Software Factory have become central to community discussions. The issue explores why the concept of the Softwar…
Managing long-running AI agent tasks effectively requires moving the task state out of the prompt and into an explicit external structure. This approach allows for incremental updates where only specific subgraphs of a plan are invalidated when requirements change, rather than restarting the entire run. Apodex has implemented this architecture in their Apode…
Traditional graph databases like Neo4j are designed for single large graphs, making them inefficient for agent memory workloads that require millions of small, per-user graphs. Zep developed Konig to solve this by implementing a tiered storage architecture that moves idle graphs to object storage while keeping active ones in RAM. This design allows for per-g…
Handling all processing tasks synchronously during a user request path can degrade user experience by causing noticeable delays. Background work addresses this problem by moving resource-intensive and secondary tasks, such as image manipulation and distribution, outside the active request flow. Tasks executed in the background can be triggered by user intera…
Anthropic's research into multi-agent systems revealed that splitting tasks among specialized roles often leads to excessive coordination costs and information degradation, a phenomenon termed the 'telephone game.' While OpenAI and Google have introduced SDKs to manage agent handoffs through pre-defined wiring, these methods struggle with dynamic, unforeseen…
The focus of artificial intelligence is shifting from merely scaling model size toward creating systems capable of acting, learning, and adapting over long horizons in complex environments. Discussions spanning agentic foundational capabilities, robotics, and world models examine how autonomous systems can reliably operate on real-world data and act within t…
Text generation in language models operates autoregressively, producing content one token at a time through sequential forward passes across all model layers. Because each new token strictly depends on the presence of all previous tokens, forward passes cannot be executed simultaneously without breaking coherence. Consequently, total generation duration equa…
Brendan Short identifies that effective GTM re-engagement should be driven by specific company triggers rather than arbitrary calendar dates. The challenge lies in the fragmentation of data, where leadership changes and news announcements reside in separate records, requiring agents to scrape and parse multiple sources. Seltz solves this by providing structu…
Modern frontier models produce an extended internal sequence of text prior to outputting a visible response, allowing them to explore hypotheses and correct errors. This internal sequence is referred to as a reasoning trace or chain of thought. Unlike the final polished output, the reasoning trace holds raw tool outputs, intermediate exploration, and any sen…
Recent empirical studies reveal that while AI coding tools increase code production, they can negatively impact development efficiency and delivery stability. Research from Google's DORA shows that higher AI adoption correlates with lower delivery stability and lingering developer distrust. Furthermore, a controlled trial by METR found experienced developers…
The RAG Systems course introduces preloading as a method to eliminate repetitive document processing by having the model read a knowledge base once and storing the resulting KV cache. This approach addresses the high cost of prefill, which scales quadratically with input length and often dominates inference expenses in production environments. While provider…
Ollama, vLLM, and SGLang are three primary engines for serving open-weight models, each architected for distinct execution workloads. Ollama relies on a FIFO queue and pre-quantized GGUF models, making it optimal for local prototyping and laptop-scale hardware. vLLM implements continuous batching and PagedAttention to optimize KV cache management and maximiz…
Traditional KV cache management often reduces inference throughput because I/O-bound tensor movements stall the GPU's compute-heavy attention operations. LMCache solves this by decoupling cache management into a separate process that shares GPU memory with the inference engine. This architectural shift allows for concurrent searching across multiple storage…
Schema changes are deceptively simple in code review but represent one of the most difficult types of modifications in software systems. Migrations often appear successful in staging yet fail in production because multiple application versions run simultaneously against the same schema. Incompatibility problems also emerge across time, such as when historica…
Retrieval-Augmented Generation (RAG) can be inefficient when repeatedly querying static data from a vector database. Cache-Augmented Generation (CAG) optimizes this by storing static, 'cold' information in the model's internal key-value (KV) memory. By combining both approaches, systems can achieve faster inference and lower costs while maintaining access to…
The Agentic AI Summit 2026 explored how agentic systems are reshaping AI infrastructure and software engineering workflows. Key sessions highlighted the evolution of underlying platforms alongside a fireside discussion with Dawn Song and Jasjeet Sekhon addressing cyber risks and recursive self-improvement. The broader consensus across the summit indicates a…
Standard Retrieval Augmented Generation (RAG) operates through a straightforward pipeline where documents are split into token chunks and transformed into vectors via an embedding model. These vectors are stored in a vector index to facilitate proximity-based semantic search against incoming query vectors. During query execution, the closest document chunks…
The cost of running AI agents is primarily determined by the runtime harness rather than the model itself, as the harness controls prompt assembly and call frequency. Redundant context, such as re-reading tool outputs in conversation history, significantly inflates token bills. To mitigate this, developers can use strategies like on-demand tool schema loadin…
LLM application latency is often a placement problem rather than a model performance issue, as inference may only account for a small fraction of total response time. Factors such as network round trips, container cold starts, and retrieval hops contribute significantly to the 3-second delay often experienced by users. To optimize performance, developers sho…