# Documentation needs to be created towards agents

**URL:** https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179
**Category:** Documentation
**Created:** [September 21, 2026, 7:14am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179 "2026-09-21T07:14:35Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 9:15am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/21 "2026-09-22T09:15:57Z")

</div>

and one more thing: “perfect is the enemy of good” sometimes.

---

<div class="post-metadata">

### Author: ![theutz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/theutz/32/37560_2.png) [@theutz](https://discourse.nixos.org/u/theutz)
#### Post date: [September 22, 2026, 9:40am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/22 "2026-09-22T09:40:52Z")

</div>

Sure, but with documentation, I think that platitude has different dimensions:

- Perfect documentation: describes everything, totally accurate
- Good documentation: describes most things, very accurate
- Bad documentation: describes everything, somewhat accurate. Also describes things that aren’t there.

I can’t tell you how many LLM generated comments, docs, etc, I’ve recently that don’t even accurately describe the code they’re placed above. Of course, this problem existed with humans before, but introducing a firehose of that kind of content doesn’t seem prudent to me.

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 9:57am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/23 "2026-09-22T09:57:54Z")

</div>

agreed but again we need to start somewhere. Talking about the problems and what not to do and what can happen if we do this and that does not solve the problem. Should we wait until the documentation is perfect? Can we start now? What to do as the first step? I get all the bad things .. but we need to start somewhere.

---

<div class="post-metadata">

### Author: ![theutz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/theutz/32/37560_2.png) [@theutz](https://discourse.nixos.org/u/theutz)
#### Post date: [September 22, 2026, 10:12am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/24 "2026-09-22T10:12:23Z")

</div>

What _precisely_ do you mean by, “We need to start somewhere”? There’s a Documentation team that meets regularly that’s working on improving things. You could start by joining that team and lending your voice and time to their efforts. If you’re genuinely concerned with improving the documentation, I’d challenge you to start there.

But, if by “we need to start somewhere” you mean, “Let’s let the LLMs spit out something good enough to get things started”, then I don’t think you do actually agree with my previous comment.

I’ll let you clarify, though: what do YOU think is the concrete next step to create the changes you want?

---

<div class="post-metadata">

### Author: ![theutz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/theutz/32/37560_2.png) [@theutz](https://discourse.nixos.org/u/theutz)
#### Post date: [September 22, 2026, 10:13am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/25 "2026-09-22T10:13:37Z")

</div>

As a sidenote, I’ve had a chance to interact with some of the Documentation team folks, and they’re all wonderful and bright. No gatekeeping there. I’m sure they’d appreciate the extra set of hands!

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 10:25am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/26 "2026-09-22T10:25:38Z")

</div>

I’m not saying they are gatekeeping at all. They have a really hard job keeping up and doing what they can. I do agree with what you are saying as well. What I’m afraid off is we are taking to long to adopt to a situation that is moving at a speed we have not encounter before. I think we should start with llms.txt and skill for nixos. There are a lot of users already creating this them self and we could combine the experience and let users try this out as an experiment. The same with llms.txt. I’m sure the Anthropic,OpenAi or others will donate tokens to the Nixos project if we allow them. This would at least show us what the this could be in the future. We still need humans in the loop but we could use LLM’s as a tool. It is an easy experiment. Index the documentation, verify with test on the code to make sure that it is compliant and working. Create a list of outdated documentation, suggest changes and updates. Verify using humans eyes and suggest edits if needed. Create rules and gates for how this should be and repeat.

---

<div class="post-metadata">

### Author: ![7c6f434c](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/7/8e7dd6/32.png) [@7c6f434c](https://discourse.nixos.org/u/7c6f434c)
#### Post date: [September 22, 2026, 10:43am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/27 "2026-09-22T10:43:13Z")

</div>

> [@olafkfreund](#):
>
> What I’m afraid off is we are taking to long to adopt to a situation that is moving at a speed we have not encounter before.

I have heard this claim all the fifteen years, about completely different issues. Nixpkgs is still there, somehow.

> [@olafkfreund](#):
>
> There are a lot of users already creating this them self and we could combine the experience and let users try this out as an experiment.

CUDA users have specific needs (stuff precompiled against CUDA) which raises some questions about what counds as redistribution of modified CUDA binaries, which main Hydra would prefer not to have as their own problem. They just have their own Hydra.

A repository with text files should be easier infrastructure-wise. If you do not expect success coordinating this, mainlining large changes is a harder task.

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 10:53am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/28 "2026-09-22T10:53:13Z")

</div>

And somehow world domination is still out of reach? 🤣 Get your point I do. I think the first attempt should be to see what is out there and how user are solving this them self.

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 11:02am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/29 "2026-09-22T11:02:29Z")

</div>

I will play with nix.dev and the nix wiki and see what is needed to create a proper llms.txt and some nix lang skills from nix.dev. Then I can share and get some judgements 😀

---

<div class="post-metadata">

### Author: ![dragon\_logic](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/d/57b2e6/32.png) [@dragon\_logic](https://discourse.nixos.org/u/dragon_logic)
#### Post date: [September 22, 2026, 11:10am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/30 "2026-09-22T11:10:08Z")

</div>

If you make documentation good for humans, then it’s automatically good for AI agents. But the converse isn’t necessarily true. So if we just make documentation good for humans, everybody wins?

Personally I already use AI agents to work on a lot of nix stuff, and have never run into limitations due to poor documentation.

Llms.txt is an extremely outdated technique from before when ai agents had good web search capabilities. It is completely useless today.

---

<div class="post-metadata">

### Author: ![7c6f434c](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/7/8e7dd6/32.png) [@7c6f434c](https://discourse.nixos.org/u/7c6f434c)
#### Post date: [September 22, 2026, 11:44am UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/31 "2026-09-22T11:44:35Z")

</div>

> [@olafkfreund](#):
>
> And somehow world domination is still out of reach?

Last time «why the hell do I have to spend this effort» was «because not enough people are using Nix», more than a decade ago; «because too many people are using Nix», arguably a year ago.

Oh, and most world-domination plans in last five years included dropping the basic parts of definition of stability and quality that have been considered table stakes for fifteen years.

Doing tomorrow like yesterday, we are on the trajectory where a few large organisations will be very unwilling to give up what Nix gives them. Anything more is actively bad for useful parts of Nixpkgs development.

---

<div class="post-metadata">

### Author: ![MiRinChan](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mirinchan/32/38749_2.png) [@MiRinChan](https://discourse.nixos.org/u/MiRinChan)
#### Post date: [September 22, 2026, 12:21pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/32 "2026-09-22T12:21:10Z")

</div>

Sorry, actually, without anything text or markdown stuff facing to LLM.

NixOS are already fitted to LLM.

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 12:29pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/33 "2026-09-22T12:29:54Z")

</div>

Yes I can see this. Doing the rounds in Nix repos: nix-dev, nix wiki and nixpkg. Crawling them and creating skills right now. Adding a really simple llms.txt with proper index for this should be really easy to do. I will share the skill when I have something working well.

---

<div class="post-metadata">

### Author: ![MiRinChan](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mirinchan/32/38749_2.png) [@MiRinChan](https://discourse.nixos.org/u/MiRinChan)
#### Post date: [September 22, 2026, 12:31pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/34 "2026-09-22T12:31:16Z")

</div>

btw im agree something is still needed, the official wiki is sh1t enough, it is hard to create i18n

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 2:56pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/35 "2026-09-22T14:56:46Z")

</div>

OK here is my first attempt to create Nix skill from official sources. The repo will update nightly and check for updates in the official documentation and update the skill if needed. Working on creating a way for other to contribute to this. Adding new skill or adding new sources. here it is: [https://github.com/olafkfreund/nix-skills](https://github.com/olafkfreund/nix-skills)

---

<div class="post-metadata">

### Author: ![theutz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/theutz/32/37560_2.png) [@theutz](https://discourse.nixos.org/u/theutz)
#### Post date: [September 22, 2026, 3:22pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/36 "2026-09-22T15:22:38Z")

</div>

I haven’t had a chance to look in depth, but cheers to you for getting it started!

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 3:24pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/37 "2026-09-22T15:24:46Z")

</div>

Working on creating a llms.txt that will point to the official documentation as well. It can live in my repo for now, just to prove a point on how this can work.

---

<div class="post-metadata">

### Author: ![7c6f434c](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/7/8e7dd6/32.png) [@7c6f434c](https://discourse.nixos.org/u/7c6f434c)
#### Post date: [September 22, 2026, 3:42pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/38 "2026-09-22T15:42:34Z")

</div>

I think «Nix setup for agentic use» that has all those AGENTS.md etc. and imports Nixpkgs and maybe something else as submodules is a reasonable way to collect what you are collecting, and it will make perfect sense that _it_ has `llms.txt` as that is the project specifically aiming at a good LLM-oriented setup.

And it never hurts popularise the idea «repository of opinionated setup assuming a checkout of upstream repository is one level below» — it’s not just about LLMs, also envrc, also Nix setups for non-Nix-using upstreams, upstreams doing different opinionated setup that you don’t want your editor to trust, etc.

---

<div class="post-metadata">

### Author: ![crertel](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/c/90ced4/32.png) [@crertel](https://discourse.nixos.org/u/crertel)
#### Post date: [September 22, 2026, 5:47pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/39 "2026-09-22T17:47:02Z")

</div>

Side effort in the same general vector. Lemme know if it’s useful. PRs/discussions welcome.

> **[GitHub - crertel/nix-agency: Collection of explorations and skills into using...](https://github.com/crertel/nix-agency)**
>
> Collection of explorations and skills into using agentic tools with Nix/nixpkgs/NixOS

(In case it wasn’t obvious, yes this project is LLM-assisted.)

---

<div class="post-metadata">

### Author: ![olafkfreund](https://discourse.nixos.org/user_avatar/discourse.nixos.org/olafkfreund/32/12171_2.png) [@olafkfreund](https://discourse.nixos.org/u/olafkfreund)
#### Post date: [September 22, 2026, 6:00pm UTC](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179/40 "2026-09-22T18:00:25Z")

</div>

Perfect. Thank you, I will have a look at this and see if there is something I can use from this as well.

[Previous page](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179.md?page=1)

[Next page](https://discourse.nixos.org/t/documentation-needs-to-be-created-towards-agents/80179.md?page=3)
