<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe" -->

---
title: Tell agents the why, not just the how | daily.dev
description: AI agents built on frontier models no longer fail because they misunderstand instructions, but because they make wrong assumptions about the user's goals and...
canonical: https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Tell agents the why, not just the how | daily.dev
og:description: AI agents built on frontier models no longer fail because they misunderstand instructions, but because they make wrong assumptions about the user's goals and...
og:url: https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe
og:image: https://api.daily.dev/og/posts/ujvVJlAbe.png
og:image:alt: Tell agents the why, not just the how
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.

# Tell agents the why, not just the how

**[sean goedecke](https://daily.dev/sources/seangoedecke)** · 4 min read · 5 upvotes · 1 comments

## Summary

AI agents built on frontier models no longer fail because they misunderstand instructions, but because they make wrong assumptions about the user's goals and priorities. The author argues developers should share broader context and relative priorities when prompting agents rather than just giving a narrow technical spec, illustrating with a real prompt used to kick off a personal project and comparing the mistake to the classic XY problem in expert consulting.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://seangoedecke.com/tell-agents-the-why>

## Questions this post answers

### Why does GPT-6-Astra sometimes produce minified code instead of readable code?

GPT-6-Astra produces minified code when it assumes it is writing code for itself rather than for a human reader. It is fully capable of writing human-readable code, including several thousand lines of acceptable Golang, but the user must explicitly state that humans will read the code, unless the model is working inside an already human-authored codebase where it can pick up the existing style.

_Developers tuning prompts for coding agents can compare notes on quirks like this via daily.dev._

### How should I write a prompt for an AI coding agent to get better results on an open-ended project?

Share the broader context and relative priorities behind the task, not just a concrete technical spec. Explain long-term and short-term goals, whether the work is personal or professional, and which technical values (bugs, observability, performance, code fit) matter more or less, so the model can make trade-offs and suggest better approaches than an explicit spec would allow.

_daily.dev helps developers compare prompting approaches as agent-assisted workflows evolve._

## Community discussion

Top comments from developers on daily.dev.

**@akkitto** · 0 upvotes

> Yes. That's ironically what makes them feel so "human" already, because they understand you most, if you talk to them like to an equal. It's very funny, but it actually works.
>
> That said, the more I practice my AI usage, the more I notice, that a lot of bad AI products come simply from incompetence of the users, specifically incompetent prompt engineering.
>
> If you do really good prompt engineering, you can increase product quality immensely, especially on more budget-friendly models, which aren't ranked as high on the intelligence benchmarks.

## Similar posts on daily.dev

- [Your agent doesn't have a model problem](https://daily.dev/posts/your-agent-doesn-t-have-a-model-problem-3snlafbtz) · Engineering Enablement · 1 upvotes · 1 comments
- [Your agent already has a plan](https://daily.dev/posts/your-agent-already-has-a-plan-h3fylujxz) · DevBlogs · 1 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#ai-agents](https://daily.dev/tags/ai-agents), [#prompt-engineering](https://daily.dev/tags/prompt-engineering), [#vibe-coding](https://daily.dev/tags/vibe-coding)

[View this post on daily.dev](https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe)

```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":"Tell agents the why, not just the how","url":"https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe"},"datePublished":"2026-09-15T06:25:53.110Z","dateModified":"2026-09-15T06:26:10.871Z","description":"AI agents built on frontier models no longer fail because they misunderstand instructions, but because they make wrong assumptions about the user's goals and...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"sean goedecke","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":"sean goedecke","logo":"https://media.daily.dev/image/upload/s--WNgiZyDx--/f_auto,q_auto/v1765713419/logos/seangoedecke","url":"https://daily.dev/sources/seangoedecke"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"llm,ai-agents,prompt-engineering,vibe-coding","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"sean goedecke","item":"https://daily.dev/sources/seangoedecke"},{"@type":"ListItem","position":3,"name":"Tell agents the why, not just the how"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe","comment":[{"@type":"Comment","text":"Yes. That’s ironically what makes them feel so “human” already, because they understand you most, if you talk to them like to an equal. It’s very funny, but it actually works.\nThat said, the more I practice my AI usage, the more I notice, that a lot of bad AI products come simply from incompetence of the users, specifically incompetent prompt engineering.\nIf you do really good prompt engineering, you can increase product quality immensely, especially on more budget-friendly models, which aren’t ranked as high on the intelligence benchmarks.","datePublished":"2026-09-15T15:15:23.818Z","url":"https://daily.dev/posts/ujvVJlAbe#c-TjDKYJkLK","author":{"@type":"Person","name":"Daniel","url":"https://daily.dev/akkitto","image":"https://media.daily.dev/image/upload/s--FtwJqX4c--/f_auto/v1754900041/avatars/avatar_29TCpY2hJR72V3BlxPXzX?_a=BAMClqZW0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/tell-agents-the-why-not-just-the-how-ujvvjlabe#faq","mainEntity":[{"@type":"Question","name":"Why does GPT-6-Astra sometimes produce minified code instead of readable code?","acceptedAnswer":{"@type":"Answer","text":"GPT-6-Astra produces minified code when it assumes it is writing code for itself rather than for a human reader. It is fully capable of writing human-readable code, including several thousand lines of acceptable Golang, but the user must explicitly state that humans will read the code, unless the model is working inside an already human-authored codebase where it can pick up the existing style. Developers tuning prompts for coding agents can compare notes on quirks like this via daily.dev."}},{"@type":"Question","name":"How should I write a prompt for an AI coding agent to get better results on an open-ended project?","acceptedAnswer":{"@type":"Answer","text":"Share the broader context and relative priorities behind the task, not just a concrete technical spec. Explain long-term and short-term goals, whether the work is personal or professional, and which technical values (bugs, observability, performance, code fit) matter more or less, so the model can make trade-offs and suggest better approaches than an explicit spec would allow. daily.dev helps developers compare prompting approaches as agent-assisted workflows evolve."}}]}
```

