Skip to content

Folder Is the Agent

ThinkWork treats an agent as more than a database row or a running container. The row is the control-plane identity. The runtime is the execution substrate. The folder is where behavior lives.

That is the “Folder Is the Agent” idea: if instructions, routing, tools, memory notes, and working artifacts are organized as files, the folder itself becomes an editable, inspectable agent boundary. Moving behavior is moving files. Reviewing behavior is reading files. Specializing behavior is adding a folder with narrower context.

Agent frameworks often model specialization in code: classes, tool registries, orchestration graphs, and message-passing rules. That is useful for dynamic, concurrent systems. It is heavy when the main thing you need is clear context boundaries.

Folders give ThinkWork a simpler control surface:

NeedFolder-native answer
Change a specialist’s jobEdit workspaces/<slug>/CONTEXT.md
Add a specialistAdd workspaces/<slug>/ and a routing row in AGENTS.md
See what the model will readOpen the folder and its inherited files
Keep context focusedLoad only the folder, Space, memory, and skills in scope
Hand work to another operatorShare the folder tree and thread
Audit behaviorInspect files, turns, tool calls, and workspace events

The result is not “no architecture.” The folder tree is the architecture.

The tenant platform agent has a root workspace. These files form the baseline:

PathRole
AGENTS.mdIdentity, routing map, specialist ownership, generated file map
CONTEXT.mdGeneral responsibilities and operating context
GUARDRAILS.mdSafety and policy baseline; pinned for explicit review
USER.mdServer-managed requester profile rendered from the user/profile rows
SPACE.mdRendered active Space context
MEMORY_GUIDE.mdHow the runtime should use memory tools and workspace notes
TOOLS.mdTool-surface guidance
mcp.jsonMCP server configuration metadata
memory/lessons.mdEditable workspace lessons
memory/preferences.mdEditable workspace preferences
memory/contacts.mdEditable workspace contacts
skills/<slug>/SKILL.mdInstalled capability packages
workspaces/<slug>/CONTEXT.mdSpecialist folder context
workspaces/<slug>/workspaces/<child>/Nested specialist folder

SOUL.md, IDENTITY.md, PLATFORM.md, and CAPABILITIES.md are retired legacy files. Their remaining content was migrated into AGENTS.md and the current policy/tool files.

A specialist is a folder under workspaces/:

workspaces/
expenses/
CONTEXT.md
memory/
lessons.md
skills/
finance-audit-xls/
SKILL.md

The folder can be thin. If it only contains CONTEXT.md, it still inherits broader tenant instructions and guardrails. Add local memory/ notes, skills/, nested workspaces/, or local AGENTS.md only when the specialist truly differs.

The parent advertises the specialist in AGENTS.md:

## Routing
| Task | Go to | Read | Skills |
| ------------------------ | -------------------- | ------------------------------ | ----------------- |
| Expense policy questions | workspaces/expenses/ | workspaces/expenses/CONTEXT.md | finance-audit-xls |

The Go to path is the runtime target. The Read path is the human-readable contract for what context defines that target. Skills names capability folders that should be available when the target is active.

For a normal managed turn, ThinkWork composes context from:

  1. Tenant platform-agent defaults.
  2. The root workspace files.
  3. Active Space files.
  4. The target folder under workspaces/<slug>/, if a specialist is active.
  5. Relevant memory, skills, MCP tools, and thread history.

The five prompt-shaping files are loaded in a stable order:

AGENTS.md
CONTEXT.md
GUARDRAILS.md
SPACE.md
USER.md

Other files are available as workspace resources or tool configuration. The model should not need every file for every turn. Folder structure keeps unrelated instructions out of the context window.

A folder specialist is not a separate top-level managed agent. It does not need its own budget, model, thread identity, or deployment. Those belong to the tenant platform agent and, when needed, Space runtime policy.

A folder is also not a secret store. Put credentials in the credential vault or MCP configuration, not in markdown. Put personal OAuth on the user/mobile connection flow, not in skills/.

Spaces and folders solve different problems:

Use a Space forUse a folder specialist for
Membership, access, channels, email, automationsDurable specialist instructions
Project, customer, team, or workflow contextDelegation targets such as research/ or expenses/
Runtime overrides such as model, guardrail, budget, pauseLocal memory notes and skills for one behavior boundary
Space-scoped memory and knowledgeNested specialists inside the tenant agent

In practice, a Space may invoke the same platform agent, which delegates to the same workspaces/expenses/ folder, while supplying different customer or project context.

Goals extend the same folder-native idea into workflow execution. The agent folder defines reusable behavior. The Space supplies the workroom. The Goal folder records the state of one promoted Thread.

Agent folder -> durable behavior
Space source folder -> local operating pattern
Thread Goal folder -> execution record for one outcome

A Customer Onboarding Space, for example, can keep a reusable template under goals/customer-onboarding/. When a new customer onboarding Thread starts, ThinkWork renders a Thread-owned Goal folder with GOAL.md, PROGRESS.md, DECISIONS.md, ARTIFACTS.md, and HANDOFFS.md.

This preserves the core rule: the folder tree is the architecture. Aurora still owns permissions, lifecycle, review, and structured progress. The markdown folder owns portable context that an operator or local agent can inspect.

For the practical Spaces workflow version of this model, see Goals and Files.

Skills are folders too, but they are capability folders rather than agent folders:

skills/
finance-audit-xls/
SKILL.md
references/
scripts/

Use workspaces/<slug>/ when you need a role or specialist. Use skills/<slug>/ when you need a reusable tool/instruction package that multiple roles can share.

ThinkWork’s folder-agent model borrows from a wider context-engineering pattern:

ThinkWork adapts that pattern to a multi-tenant AWS agent harness. The folder tree is not just local context for a coding tool; it is a deployed, audited, Space-aware runtime surface.