<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/in-software-the-code-documents-the-app-in-ai-the-traces-do--4345mlxhv" -->

---
title: In software, the code documents the app. In AI, the...
description: AI agents shift the source of truth from code to runtime traces because decision logic happens inside the model, not in your codebase. Unlike traditional...
canonical: https://daily.dev/posts/in-software-the-code-documents-the-app-in-ai-the-traces-do--4345mlxhv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: In software, the code documents the app. In AI, the traces do. | daily.dev
og:description: AI agents shift the source of truth from code to runtime traces because decision logic happens inside the model, not in your codebase. Unlike traditional...
og:url: https://daily.dev/posts/in-software-the-code-documents-the-app-in-ai-the-traces-do--4345mlxhv
og:image: https://api.daily.dev/og/posts/4345MlXhv.png
og:image:alt: In software, the code documents the app. In AI, the traces do.
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# In software, the code documents the app. In AI, the traces do.

**[LangChain](https://daily.dev/sources/langchain)** · 7 min read · 16 upvotes · 0 comments

## Summary

AI agents shift the source of truth from code to runtime traces because decision logic happens inside the model, not in your codebase. Unlike traditional software where code documents behavior deterministically, agent code is just scaffolding that orchestrates LLM calls. This fundamental change means debugging becomes trace analysis, testing requires continuous evals in production, performance optimization focuses on decision patterns rather than algorithms, and collaboration moves to observability platforms. Without structured tracing to capture reasoning chains, tool calls, and decision points, you're working blind since the actual intelligence lives in traces, not code.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.langchain.com/in-software-the-code-documents-the-app-in-ai-the-traces-do/>

## Similar posts on daily.dev

- [Coding agents are scaling fast. How do teams keep up?](https://daily.dev/posts/coding-agents-are-scaling-fast-how-do-teams-keep-up--spuq20grp) · Dynatrace · 0 upvotes · 0 comments
- [Beyond the stack trace: why AI requires a new debugging paradigm](https://daily.dev/posts/beyond-the-stack-trace-why-ai-requires-a-new-debugging-paradigm-zkpha29fg) · The New Stack · 2 upvotes · 0 comments
- [Understanding The Limits of AI in Software Development](https://daily.dev/posts/understanding-the-limits-of-ai-in-software-development-2ituxdrgp) · Organizing Automation · 1 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#llm](https://daily.dev/tags/llm), [#observability](https://daily.dev/tags/observability), [#langchain](https://daily.dev/tags/langchain)

[View this post on daily.dev](https://daily.dev/posts/in-software-the-code-documents-the-app-in-ai-the-traces-do--4345mlxhv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"In software, the code documents the app. In AI, the traces do.","url":"https://daily.dev/posts/in-software-the-code-documents-the-app-in-ai-the-traces-do--4345mlxhv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/in-software-the-code-documents-the-app-in-ai-the-traces-do--4345mlxhv"},"datePublished":"2026-01-10T17:42:15.819Z","dateModified":"2026-01-10T17:42:36.645Z","description":"AI agents shift the source of truth from code to runtime traces because decision logic happens inside the model, not in your codebase. Unlike traditional...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/25696ec09db02f998d6129a1604cb4a9?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/25696ec09db02f998d6129a1604cb4a9?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"LangChain","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"LangChain","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0f4f2629e0724a849823f8cd0d913e13","url":"https://daily.dev/sources/langchain"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/in-software-the-code-documents-the-app-in-ai-the-traces-do--4345mlxhv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":16},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,llm,observability,langchain","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"LangChain","item":"https://daily.dev/sources/langchain"},{"@type":"ListItem","position":3,"name":"In software, the code documents the app. In AI, the traces do."}]}
```

