# Article: The Evolution of Agentic Harnesses: From Chains to Graph to Code

DevFeed: [Article: The Evolution of Agentic Harnesses: From Chains to Graph to Code](<https://devfeed.tech/articles/article-the-evolution-of-agentic-harnesses-from-chains-to-graph-to-code-100405.md>)

Original publisher: [Read original article](<https://www.infoq.com/articles/agentic-ai-architecture-harness-evolution/>)

Author: Karthik Ramgopal

Published: 2026-10-26T11:00:00Z

Content type: article

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [ai observability](<https://devfeed.tech/topics/ai-observability.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-ai-architecture](<https://devfeed.tech/tags/agentic-ai-architecture.md>), [agentic-ai-architecture-harness-evolution](<https://devfeed.tech/tags/agentic-ai-architecture-harness-evolution.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-architecture](<https://devfeed.tech/tags/ai-architecture.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [article](<https://devfeed.tech/tags/article.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [based](<https://devfeed.tech/tags/based.md>), [but](<https://devfeed.tech/tags/but.md>), [code](<https://devfeed.tech/tags/code.md>), [complex](<https://devfeed.tech/tags/complex.md>), [cost](<https://devfeed.tech/tags/cost.md>), [design](<https://devfeed.tech/tags/design.md>), [evolution](<https://devfeed.tech/tags/evolution.md>), [execution](<https://devfeed.tech/tags/execution.md>), [graph](<https://devfeed.tech/tags/graph.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [langchain](<https://devfeed.tech/tags/langchain.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [linear](<https://devfeed.tech/tags/linear.md>), [llm](<https://devfeed.tech/tags/llm.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [model](<https://devfeed.tech/tags/model.md>), [model-context-protocol-mcp](<https://devfeed.tech/tags/model-context-protocol-mcp.md>), [openai](<https://devfeed.tech/tags/openai.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [retries](<https://devfeed.tech/tags/retries.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [simple](<https://devfeed.tech/tags/simple.md>), [speed](<https://devfeed.tech/tags/speed.md>)

## AI overview

Agentic harnesses have progressed from simple prompt chains to graphs and code execution, adding control and validation at the cost of greater complexity. Chains are fast and economical for narrow linear tasks, but errors can cascade. Graphs add branching, retries, parallelism, and structured state for complex workflows, with higher orchestration cost and latency. Code harnesses run generated code in a sandbox and use logs, checks, and iterative retries to verify outputs; they suit tasks where precision and recoverability matter, but can require the most compute and time. The article recommends validating model outputs, separating planning from controlled execution, maintaining observability, and choosing the simplest design that meets reliability, speed, and cost needs.

## Source excerpt

Agentic LLM systems have moved from linear prompt chains to graph-based workflows and, more recently, code-executing harnesses. Chains are simple but fragile, graphs add branching, retries, and validation, and code harnesses verify outputs through execution. The article advises validating model outputs and choosing the least complex design that meets reliability, speed, and cost needs. By Karthik Ramgopal