Chapter 6 of 8
Foundations for your coding agent
A coding agent builds what its context describes. Give it foundations: how the product is put together, including how it stays secure, and what it must do. Write ARCHITECTURE.md, with a Security section, and FEATURES.md.
Save your progress
Sign up for free with your email to tick off what you read and to check your tasks.
Try it: the context window
Move things in and out of an agent’s working memory and watch what is left for the work. It is the same playground as on Workflows.
What your agent sees when a session starts.
Three layers fill the window before the first prompt: documents, memory and knowledge. Your tool takes its own share. Play the two approaches, switch items on and off, or change the window size.
Curated and lean
The agent reads the build plan, the standing brief and the latest handoff first. It knows the goal, the rules and where the last session stopped.
Read
- Read in the Library (opens in a new tab)
Context as Architecture: Full-Corpus Grounding, Orchestrated Agentic Development, and Compliance-by-Design in a Production AI Assistant Platform
Quiz: 3 questions. Get 2 right to complete this article.
Sign up for free to take the quiz and save your result.
- Read on Substack (opens in a new tab)
The Right Context, Not All of It
Quiz: 5 questions. Get 4 right to complete this article.
Sign up for free to take the quiz and save your result.
- Read on Substack (opens in a new tab)
Every Product Needs a Home
Quiz: 4 questions. Get 3 right to complete this article.
Sign up for free to take the quiz and save your result.
- Read on Field Notes (opens in a new tab)
Field Notes: the opening prompt
Do
ARCHITECTURE.md with a Security section
File in the repositoryAdd ARCHITECTURE.md to the root of your repository, with a section headed Security.
The course looks for ARCHITECTURE.md in your repository, with a section headed Security.
FEATURES.md in your repository
File in the repositoryAdd FEATURES.md to the root of your repository.
The course looks for FEATURES.md in your repository.