algomiBlogs

Algomi Blogs

System design, AI engineering, databases, networking, concurrency and more, written for engineers building real trading and fintech systems — part of the Algomi Suite.

AllSystem DesignAI Solutions Architecture & AI EngineeringInterview Questions (61)
Browse by topic (29)
AI Engineering (7)Java (7)Distributed Systems (6)Reliability (6)Security (6)AI Agents (5)Caching (5)Concurrency (4)Databases (4)Low-Level Design (4)Messaging (4)Networking (4)Streaming (4)APIs (3)Architecture (3)Consistency (3)Design Patterns (3)Harness Engineering (3)Observability (3)RAG (3)Transactions (3)Agent Memory (2)Capacity Planning (2)Enterprise Architecture (2)Fintech (2)Kafka (2)Machine Coding (2)Storage (2)Tool Use (2)
Part 26 of 28

Agent Patterns: State Machines, Memory, and Tool Safety

The design patterns behind reliable LLM agents: ReAct and plan-and-execute loops, agents as explicit state machines, the memory taxonomy, multi-agent trade-offs, and the safety rules for tools that change the world.

Created 2026-09-29 · Updated 2026-10-15 · AI Solutions Architecture & AI Engineering

Part 1 of 3

Harness Engineering: Making AI Agents Repeatable

Prompts tell an agent what to do; a harness decides what it knows, what it may touch, and what counts as done. Five subsystems, the session lifecycle, and a working Java shift-handover model, told as a hospital night ward.

Created 2026-10-02 · Updated 2026-10-15 · AI Solutions Architecture & AI Engineering

Part 2 of 3

Agent Loops, Maker-Checker, Skills and Tool Gateways

How to turn repeated prompting into a controlled loop: goal loops, a separate checker, retry budgets, state kept outside the loop, reusable skills, and a tool gateway with permissions, timeouts and idempotency. Told as a child doing homework.

Created 2026-10-02 · Updated 2026-10-15 · AI Solutions Architecture & AI Engineering

Part 3 of 3

Agent Graphs, Isolation, Rollback and Harness Evaluation

When one loop is not enough: model the workflow as a graph, fan work out and back in, isolate parallel agents, roll back on failure, gate risky steps on a human, and measure the harness with ablation tests. Told as building a house.

Created 2026-10-02 · Updated 2026-10-15 · AI Solutions Architecture & AI Engineering

Enterprise MCP Gateway: One Front Door for Thousands of AI Agent Tools

Why a company with hundreds of MCP servers needs a gateway, and how a control plane, a data plane, tool-level authorization, progressive discovery and response projection work, using Uber's published MCP Gateway as a case study.

Created 2026-10-04 · Updated 2026-10-15 · AI Solutions Architecture & AI Engineering