The article explores a real-world architectural shift where specialized data tools—Redis for caching/pub-sub, Elasticsearch for search, and Kafka for event streaming—were consolidated into a single database engine: PostgreSQL. The primary motivation was to reduce operational complexity, simplify the infrastructure stack, and minimize the cognitive load on developers by managing one unified system instead of several distributed ones.
Summary points:
- Consolidating specialized tools into PostgreSQL reduces overhead in deployment, monitoring, and data synchronization.
- Modern Postgres features like GIN indexes and Full Text Search can effectively substitute for Elasticsearch in many use cases.
- Utilizing Postgres's LISTEN/NOTIFY or simple table structures can replace lightweight pub-sub needs previously handled by Redis or Kafka.
Context engineering shifts RAG focus from prompt tuning to structured data assembly for LLM calls. The single-document architecture utilizes four bricks—parsing, question parsing, retrieval, and generation—to produce typed context pieces. These include system prompts, filtered document segments, and structured metadata. This engineering discipline improves auditability, enables caching, and supports scalable component composition.
- Four-brick pipeline: parsing, question parsing, retrieval, generation
- Typed data outputs for LLM context assembly
- Fixed system prompts for caching efficiency
- Filtered document lines and structured metadata
- Improved auditability and cost control
This article explains how to distinguish agentic workflows from autonomous agents by focusing on ownership of control flow. It argues that the primary distinction is a spectrum between predictability and autonomy, rather than just whether a large language model is involved. The author breaks down four key stages of system design:
* Deterministic workflows where humans define fixed sequences in advance
* Orchestrated workflows where models choose from predefined branches
* Reactive agents that use reasoning to decide actions at runtime via patterns like ReAct
* Autonomous multi-agent systems where agents act as nested tools for one another
While fully autonomous systems offer high flexibility, the piece concludes that production environments typically favor hybrid architectures that combine structured workflows with targeted autonomy.
This article explores the critical architectural decision of where to store conversation history when building AI agents. It examines how different storage strategies impact user experience, privacy, cost, and portability. The author compares service-managed versus client-managed storage models and details how modern APIs support both linear threads and forking/branching capabilities.
Key topics include:
* Service-Managed vs. Client-Managed storage tradeoffs
* Linear (single-threaded) vs. Forking-capable conversation models
* Strategies for context window management and compaction such as truncation, summarization, and sliding windows
* How Microsoft Agent Framework abstracts these patterns using AgentSession and ChatHistoryProvider to ensure provider-agnostic code
* Practical implementation examples for the Responses API in different modes
A comprehensive curated collection of Large Language Model (LLM) architecture figures and technical fact sheets. This gallery provides a visual and data-driven overview of modern model designs, ranging from classic dense architectures like GPT-2 to advanced sparse Mixture-of-Experts (MoE) systems and hybrid attention models. Users can explore detailed specifications including parameter scales, context windows, attention mechanisms, and intelligence indices for various prominent models.
Key features include:
* Detailed architecture fact sheets for a wide array of models such as Llama, DeepSeek, Qwen, Gemma, and Mistral.
* An architecture diff tool to compare two different model designs side-by-side.
* Comparative analysis across dense, MoE, MLA, and hybrid decoder families.
* Links to original source articles and technical reports for deeper research.
The author proposes a 5-layer framework to standardize "harness engineering":
1. **Constraint (Architecture):** Deterministic rules (linters, API contracts).
2. **Context (Dev):** Memory and knowledge injection.
3. **Execution (Platform):** Tool orchestration and sandboxing.
4. **Verification (Dev/QA):** Output validation and error loops.
5. **Lifecycle (SRE):** Monitoring, cost tracking, and recovery.
**Strategic Insight:** While platforms like Anthropic are increasingly absorbing the Context, Execution, and Lifecycle layers, developers must still own **Constraint** and **Verification**. To maximize efficiency on managed platforms, teams should prioritize deterministic constraints (Layer 1) to reduce token waste and improve reliability.
Tansu, an open-source, Apache Kafka-compatible messaging broker, challenges traditional approaches by prioritizing statelessness. Instead of replicating data like Kafka, Tansu delegates durability to external storage, allowing for brokers that are lightweight ("cattle," not "pets") and scale rapidly. It supports various storage backends like S3, SQLite, and Postgres, with a particular emphasis on Postgres integration for streamlined data pipelines. Tansu also offers broker-side schema validation and the ability to directly write validated data to open table formats like Iceberg, Delta Lake, or Parquet. The project is written in Rust and seeks contributors.
Júlio Falbo argues that integrating AI into engineering organizations is hampered by complex connection methods, proposing a solution centered around “SKILL.md” – Markdown files defining tool usage – and “AI Gateways” for centralized orchestration. This combination fosters an “AI-native architecture” prioritizing ease of use, governance, and scalability over bespoke integrations. Ultimately, this approach shifts the focus from complex coding to clear documentation, democratizing AI tool access and boosting productivity.
* Simplifies AI integration via Markdown-based "skills."
* Utilizes AI Gateways for centralized control and security.
* Promotes a convention-over-configuration approach for AI systems.
Developers are replacing bloated MCP servers with Markdown skill files — cutting token costs by 100x. This article explores a two-layer architecture emerging in production AI systems, separating knowledge from execution. It details how skills (Markdown files) encode stable knowledge, while MCP servers handle runtime API interactions. The piece advocates for a layered approach to optimize context window usage, reduce costs, and improve agent reasoning by prioritizing knowledge representation in a version-controlled, accessible format.
This article explains the differences between Model Context Protocol (MCP), Retrieval-Augmented Generation (RAG), and AI Agents, highlighting that they solve different problems at different layers of the AI stack. It also covers how ChatGPT routes prompts and handles modes, agent skills, architectural concepts for developers, and service deployment strategies.