---
title: "GenAI-based development platform - part 4: The coding agent sandwich pattern"
url: https://daily.dev/posts/genai-based-development-platform---part-4-the-coding-agent-sandwich-pattern-xhlh3gggi
source_url: http://microservices.io/post/architecture/2026/05/19/genai-development-platform-part-4-coding-agent-sandwich-pattern.html
type: article
source: "Microservices.io"
published: 2026-05-19T16:05:22.690Z
updated: 2026-05-19T16:05:48.808Z
tags: ["python", "architecture", "ai-agents", "claude-code"]
reading_time: 7
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GenAI-based development platform - part 4: The coding agent sandwich pattern

**[Microservices.io](https://daily.dev/sources/microservicesio)** · 7 min read · 0 upvotes · 0 comments

## Summary

Introduces the 'coding agent sandwich' pattern for building GenAI-based development workflows. The pattern layers plain old code (POC) as the top orchestrator, LLM invocations as the filling for non-deterministic tasks, and deterministic tools as the bottom slice. Illustrated through the `implement plan` workflow in the open-source `idea-to-code` project, which uses TDD to turn a generated plan into Git commits. The core principle: use deterministic code whenever possible and invoke LLMs only for tasks that genuinely require probabilistic reasoning, such as generating commit messages, fixing CI failures, or responding to PR comments. The architecture is described as fractal — tools in the bottom slice can themselves be sandwiches if they incorporate LLM calls.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <http://microservices.io/post/architecture/2026/05/19/genai-development-platform-part-4-coding-agent-sandwich-pattern.html>

## Similar posts on daily.dev

- [GenAI-based development platform](https://daily.dev/posts/genai-based-development-platform-amtrdhklf) · Microservices.io · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#architecture](https://daily.dev/tags/architecture), [#ai-agents](https://daily.dev/tags/ai-agents), [#claude-code](https://daily.dev/tags/claude-code)

[View this post on daily.dev](https://daily.dev/posts/genai-based-development-platform---part-4-the-coding-agent-sandwich-pattern-xhlh3gggi)
