TL;DR: An AI stack is the set of files and habits around an AI assistant that lets each session start where the last one stopped. Ours has 6 layers: workspace, memory, handoffs, skills, principles, and guardrails. Each one exists because of a specific problem we hit. You can start this week with 1 folder, 5 notes, and a handoff habit.
What is an AI stack?
An AI stack is everything you keep around an AI assistant so that its work adds up over time. An assistant forgets everything when a conversation ends. The stack is the set of files and habits that gives the next session what the last one learned.
This page shows the 6 layers we run every day across client work, product work, and personal projects, the practices that run on top of them, and the problem that led to each one.
What are the 6 layers of an AI stack?
The layers build from the bottom up. Each one depends on the one before it.
actions that wait for a person
filters for what to build
instructions for repeat work
next-session notes
one fact per file, with an index
one home for every file
| # | Layer | What It Is | The Problem That Led to It |
|---|---|---|---|
| 1 | Workspace | One home for every file, in plain text, under version control, with a fixed folder map. | Work was scattered across downloads, chats, and drives, so the assistant could not find what already existed. |
| 2 | Memory | One fact per file, plus an index the assistant reads at the start of every session: who we are, how we work, what we decided. | Every session started from zero. We re-explained the same context and the assistant repeated the same mistakes. |
| 3 | Handoffs | A "next session" note for each project and one numbered list of open items, updated when a session closes. | Long projects lost their place between sessions, and unfinished items disappeared. |
| 4 | Skills | Written instructions for work that repeats (e.g., a writing voice, a research method, a project kickoff interview), loaded only when that work comes up. | Quality depended on how well we prompted that day. The same standards had to be restated every time. |
| 5 | Principles | A short set of decision filters: what to build, in what order, how it should feel, and how it is put together. | We built polished things that did not matter, and the assistant agreed with whatever we proposed. |
| 6 | Guardrails | Named actions that always need a person: deleting, sending, publishing, and anything touching credentials. | An assistant that can act can also act wrongly. Speed without a gate is a risk. |
What practices run on top of the layers?
The layers hold the files. These practices are the habits and rules that keep them useful.
| Practice | Layer | What It Does | The Problem It Solves |
|---|---|---|---|
| A memory index and a session-start habit | 2, 3 | The notes, an index of them, and the habit of reading the index when a session opens and writing a handoff when it closes. | Sessions that start cold and re-earn the same ground. |
| A maintenance loop | 2, 4 | Notice a lesson, place it, verify it, and prune what is not reused. | Notes that pile up, go stale, and slow later sessions. |
| A pre-build interview | 4 | Before a large build, the assistant asks 10 or more questions in one batch, then writes a brief for sign-off. | An hour of building on a wrong assumption. |
| Three decision tests | 5 | Is it worth building, how should it feel in the user's hands, and how well do the person and the assistant work together. | Leaning on one strength and neglecting the other two. |
| An ordering rule | 5 | Small pieces that other work will stand on go ahead of larger features. | Building the big thing first, then rebuilding it. |
| Build-quality rules | 5 | A short list for how the work is put together, so the next change stays cheap. | Changes that break something somewhere else. |
| A time-horizon test | 5 | Act as an owner, and separate decisions that can be undone from those that cannot. | Quick wins that cost more later. |
| An authorized-channels rule | 5, 6 | Use the official, authorized channel for every platform and data source. | Workarounds that break and cost trust when they do. |
What did we learn building it?
Capture in the moment. A lesson written at the end of a session has already lost its detail.
When memory and reality disagree, memory is wrong. Check a note against the current state before acting on it.
Name things. A named practice gets reused. An unnamed one gets rediscovered.
What tools do you need?
Three: an AI coding assistant that reads and writes files (we use Claude Code), a plain-text notes app, and Git. The layers matter more than the tools.
How do you start this week?
- Create one workspace folder and move one project's materials into it (e.g., for a career change: resume, profile text, course notes) to give the assistant one place to read.
- Write 5 memory notes: the goal, the background, the constraints, the writing voice, and the current plan, to remove the re-explaining.
- End every session with a handoff note: what was done, what is open, and what comes next, to make tomorrow start in minutes.
- Turn the first repeated task into a skill (e.g., a weekly status report) to hold one standard every time.
More resources are in the MCS resource library.
Want this as a one-page PDF?
Everything in the PDF is on this page, so you do not need to give us anything to read it. If a printable copy would help, enter your email and we will send it.
Who wrote this?
Jeremy Martin is a Senior Business Architect and the founder of Martin Consulting Solutions LLC in Tallahassee, Florida. The firm works in business architecture, digital transformation, and AI strategy. Questions go to info@martincs.org.
