Book · First edition
Business factories
An open book on business factories: how a business, or an independent practice, is organized when part of its work is done by AI agents, how it is governed, how it is built, and what changes for whoever runs it.
Business factories is an open book by Ervin Wilneder on how to organize and run a business that works with artificial intelligence. First edition, 2026, under the CC BY 4.0 license.
Leer en castellano105 KB · zip To install it, unzip it into your harness's skills folder (in Claude Code, ~/.claude/skills/): you get the business-factories folder, with its SKILL.md, the templates and the book's chapters.
Contents
5 parts
An essay on how a business that works with AI agents is organized, governed and built, with a guide for an agent to set up a business factory.
To begin
Prologue
Part I
The idea
Chapters 1 to 2
- 1A business as a business factoryWhat a business factory is: roles held by agents, a coordinating role, leaders, a copy per person, and what is common kept apart from each business's own.
- 2Knowing and doingThe business definition kept apart from its execution, why a business factory can be rebuilt without losing anything, and a small core with extensions.
Part II
How it is organized
Chapters 3 to 8
- 3Roles, people and accessA role always belongs to an agent, each person works in their own copy with the roles they can reach, and access is a ceiling nothing exceeds.
- 4Conversations: how a role worksThe owner conversation as each person's door, one work per role, tasks, routines and subagents, and the rule of who talks to whom.
- 5What a role knowsInstructions, skills and memories at three levels, who writes each level, what is always loaded, and why knowledge informs but never authorizes.
- 6Work as a recordA record with history shared by every conversation of the role, starting each day from a note, and a data store per role.
- 7Connections and a single doorRole and personal connections, credentials kept out of the agents' reach, a single gateway, and how a connection is outfitted.
- 8Work that runs on its ownRoutines in their own conversation, events that arrive as data, channels where the end customer is never a conversation, and reminders.
Part III
How it is governed
Chapters 9 to 12
- 9Ceiling and judgmentA firm access ceiling, a single approval point with its ledger, what an agent never does, and the rules that order decisions.
- 10Can it be undone without anyone noticing?Three autonomy levels from a single question, and why what must never fail is configured rather than written.
- 11Five forms of messageTell, alert, ask, need and promise; when to speak to a person; and their attention as the measure.
- 12How a request comes inThree paths chosen by what a request touches, never by its size, and reviews sized to the risk.
- Interlude: a day at Ópticas HorizonteOne request followed end to end: a routine notices, a role proposes, the person decides once, and everything is kept.
Part IV
How it is built
Chapters 13 to 16
- 13The machine behind each business factoryA sandbox per business that sleeps, a runtime that hands out deliveries and saves each turn, a user per conversation and no secrets inside.
- 14The work in gitA dedicated git server, a repository per role, per-repository credentials, nothing forced, and a data store with DuckDB and DuckLake.
- 15Connections from the insideAn MCP gateway per role, credentials in a vault, browser profiles per site, disposable instances and a live view.
- 16Folders and blueprintThe tree of a business factory, who writes where, how it is cloned, and the versioned blueprint that generates the rest.
Part V
Directing
Chapters 17 to 20
- 17Directing instead of doingClear requests, delegating the task but not the judgment, asking for proof, guarding attention and turning corrections into structure.
- 18Cost and qualityThe model by task, elephants and goldfish, reviews sized to the risk, evidence before belief, and subtracting before adding.
- 19Typical failures and what stops themHandoffs that lose context, noisy context, agents agreeing with each other, endless chains, orders disguised as data and signals nobody hears.
- 20How a business factory improvesLessons turned into structure, periodic reviews, a role that experiments, the versioned blueprint and stopping at a safe point.
To begin
Closing
- Epilogue: what is still unresolvedThe model's open questions, from each conversation's identity to a copy per person.
- Appendix: build it, a guide for your agentSteps, templates and scripts for an agent to set up a minimal business factory, with how to verify each step.
- ReferencesThe work of others the book's ideas rest on.
- GlossaryThe book's terms, one line each.
About this book
An open book
License. Business factories, by Ervin Wilneder, is published under the Creative Commons Attribution 4.0 International license (CC BY 4.0): it may be copied, shared and adapted, even commercially, as long as the source is credited.
Frequently asked questions
About Business factories
- What is Business factories?
- Business factories is an open book by Ervin Wilneder on how to organize and run a business that works with artificial intelligence. First edition, 2026, under the CC BY 4.0 license. An essay on how a business that works with AI agents is organized, governed and built, with a guide for an agent to set up a business factory.
- Who wrote Business factories?
- Ervin Wilneder. The first edition is from 2026. This is the English edition; the original is in Spanish.
- Can I read it for free?
- Yes. The whole book can be read at ervinwilneder.ai, free and without signing up, and downloaded as PDF and EPUB.
- Can I share or reuse it?
- Yes. It is published under the Creative Commons Attribution 4.0 International license (CC BY 4.0): it may be copied, shared and adapted, even commercially, as long as the source is credited: Business factories, by Ervin Wilneder.
- How is it organized?
- In 5 parts (The idea, How it is organized, How it is governed, How it is built and Directing), with 20 chapters.
- Can I use it with an agent?
- Yes. It can be downloaded as an Agent Skill (business-factories, a 105 KB zip) from https://ervinwilneder.ai/en/book/business-factories/business-factories-skill-en.zip. To install it, unzip it into your harness's skills folder (in Claude Code, ~/.claude/skills/): you get the business-factories folder, with its SKILL.md, the templates and the book's chapters.