---
title: "6. Foundations for your coding agent — Build Your First AI Product: the free From Lab to Life path"
url: https://talirezun.com/learn/foundations
markdown: https://talirezun.com/learn/foundations.md
chapter: 6 of 8
---

# 6. 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.

## Read

- [Context as Architecture: Full-Corpus Grounding, Orchestrated Agentic Development, and Compliance-by-Design in a Production AI Assistant Platform](https://talirezun.com/library/context-as-architecture) (Read in the Library)
- [The Right Context, Not All of It](https://talirezun.com/go/right-context-not-all-of-it/substack) (Read on Substack)
- [Every Product Needs a Home](https://talirezun.com/go/every-product-needs-a-home/substack) (Read on Substack)
- [Field Notes: the opening prompt](https://fieldnotes.talirezun.com/context-engineering#the-opening-prompt) (Read on Field Notes)

## Do

- **ARCHITECTURE.md with a Security section** (File in the repository): Add ARCHITECTURE.md to the root of your repository, with a section headed Security.
- **FEATURES.md in your repository** (File in the repository): Add FEATURES.md to the root of your repository.

[All chapters](https://talirezun.com/learn)
