Martin Consulting Solutions Resources
Framework · AI strategy

What is an AI stack? The 6 layers, and the lessons behind them

By Jeremy Martin, Martin Consulting Solutions · Published November 17, 2026 · 6 minute read

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.

#LayerWhat It IsThe Problem That Led to It
1WorkspaceOne 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.
2MemoryOne 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.
3HandoffsA "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.
4SkillsWritten 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.
5PrinciplesA 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.
6GuardrailsNamed 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.
Infographic: the six layers of an AI stack. 1 Workspace: one home for every file. 2 Memory: one fact per note plus an index. 3 Handoffs: a short note at the end of each session. 4 Skills: written instructions for work that repeats. 5 Principles: filters the assistant applies before it agrees. 6 Guardrails: named actions that always wait for a person.
The 6 layers on one image, with the problem each one fixes.

What practices run on top of the layers?

The layers hold the files. These practices are the habits and rules that keep them useful.

PracticeLayerWhat It DoesThe Problem It Solves
A memory index and a session-start habit2, 3The 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 loop2, 4Notice 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 interview4Before 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 tests5Is 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 rule5Small pieces that other work will stand on go ahead of larger features.Building the big thing first, then rebuilding it.
Build-quality rules5A short list for how the work is put together, so the next change stays cheap.Changes that break something somewhere else.
A time-horizon test5Act as an owner, and separate decisions that can be undone from those that cannot.Quick wins that cost more later.
An authorized-channels rule5, 6Use 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?

  1. 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.
  2. Write 5 memory notes: the goal, the background, the constraints, the writing voice, and the current plan, to remove the re-explaining.
  3. End every session with a handoff note: what was done, what is open, and what comes next, to make tomorrow start in minutes.
  4. 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.

We use your email to send this one PDF from info@martincs.org. You are not added to a list unless you tick the box, and we never sell or share your address.

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.