Skip to content

Sources for dream:agent-mechanics

This file lists the sources behind each section of the guide to agent mechanics, whose files are in plugins/dream/skills/agent-mechanics/. A section's entry covers that section in all three files of the guide. When you change a section, check each changed claim against the sources listed for it, and update the list if the claim rests on a new source.

The Claude API, Claude Code and Hugging Face Transformers sources are their documentation as of November 2026. The Codex sources are pinned to commit 49d657a of openai/codex. When you move the pin, re-check each section against the crates listed for it.

Introduction

How the model generates text

What the context holds

The turn

Tool calls and permissions

Hooks

Plugins

Skills

Subagents

Compaction

Running an agent from a program