# The Factory That Dreams: 39 AI Agents, No Framework - Rushabh Doshi, Machinecraft
<!--
ref: @content/youtube/aie/2026-07-11-the-factory-that-dreams-39-ai-agents-no-framework-rushabh
tags: [multi-agent-systems, company-knowledge-memory, go-to-market-automation, memory-layers, human-in-the-loop, guardrails, self-hosted-stack, manufacturing]
version: 2
updated_at: 2026-11-21T20:30:59.308Z
-->
**[Watch on YouTube](https://www.youtube.com/watch?v=jtzh-GBXBWc)**
*Synthesized from Rushabh Doshi's talk on AI Engineer, 2026-07-11.*
Rushabh Doshi runs Machinecraft, a factory of about 100 people in India that makes thermoforming machines; the talk is given alone, with no host.
*Notes: the talk is a single presenter, so the speaker is the presenter throughout. The title says 39 agents and the speaker says 36 in the talk, so the body uses the count given in the talk. The name of the company's internal system is garbled in the captions ("Era", "Eira", "Ira"), so the body calls it "the system". Agent names are used as the talk states them.*
## Core Thesis
Rushabh Doshi argues that a small manufacturer can build a company memory and an agent team with off-the-shelf models, without training anything, and that the valuable work is teaching the company to remember itself. The system is a set of specialist agents over a layered memory, which runs go-to-market work, consolidates knowledge overnight, and keeps a human in charge of anything sent outside the company.
## Key Insights
- **The problem:** the company's knowledge (who the customer is, what was quoted, why a machine has a custom tweak) sat with three generations of one family, and each departure took part of it with them.
- **Seven buyer worlds:** the same thermoforming machine ends up making hydroponic farm trays, spa bathtubs, EV car panels, medical casings and packaging, so the memory has to know which market a customer belongs to.
- **No training:** the team fed years of quotes, drawings, payment schedules, timelines and email threads, cut them into chunks, and let off-the-shelf models extract facts. The meaning of each chunk is stored as vectors, and the relationships between people and entities as a graph.
- **Specialists, not one prompt:** 36 agents each have one job. One runs the room, one owns the sale, one does pricing, one knows machine specifications, one fact-checks everything, and one guards corrections, so a fix made by a human stays fixed. Specialists hold meetings and argue before one answer comes out.
- **Nine daily jobs:** outbound emails that cite real company facts, account briefs cross-checked before a call, quotations, a swipe-style outreach mode, reviving dead leads, inbound replies, and fit checks before anyone spends an hour on a company.
- **Interface and stack:** the system is driven from a single cursor tab. It runs vector and graph databases, a CRM, three model providers each chosen for a job, tools for Google services and document ingestion, and monitoring. Every capability is exposed as 213 tools over one protocol.
- **Golden rule:** the agent drafts and a human sends.
- **Layered memory:** working memory for the last few minutes, pinned facts about people, episodes stored as short stories, relationships whose warmth grows over time, and a salience gate that decides what is worth keeping. When two facts conflict, the correction wins.
- **Nightly sleep cycle:** each night the system replays the day, keeps useful facts, looks for contradictions, forgets stale items, and turns the day's work into reusable skills. A dream report is waiting each morning.
- **Guardrails as a soul file:** each agent follows written principles taken from the family business's practice. The talk lists rules such as cross-checking before speaking, never stating things in absolute terms, citing the document and date, doing one's own job, reporting the truth even when it is unwelcome, and never working alone.
- **Cost:** the talk says there was no training bill. An agency quoted 230 grand to build the system, the team built it for around 30, and it runs on a couple of thousand dollars a month.
- **Forkable release:** the architecture was packaged as an empty system, with agents, memory, sleep cycle and guardrails in place but no company knowledge, so that other companies can pour in their own history.
## Actionable Takeaways
1. Start with the company's own history rather than public data: quotes, drawings, payment schedules, timelines and email threads, chunked and stored as vectors plus a relationship graph.
2. Give each agent one job and add a dedicated agent that guards human corrections, so fixes persist.
3. Let specialist agents review each other's output before a single answer goes to a person.
4. Layer memory into working, pinned facts, episodes, relationships and a salience gate, and let a correction override a conflicting fact.
5. Schedule a nightly consolidation pass that resolves contradictions, forgets stale items and writes a short report for review.
6. Write explicit guardrails such as cross-checking facts, citing source and date, and avoiding absolute claims, and enforce them in the agents' instructions.
7. Keep the agent as a drafter: anything that leaves the company is sent by a person.
## Notable Quotes
> "one prompt that's supposed to do everything ends up doing everything badly." — Rushabh Doshi
> "The expensive part was never compute. It was teaching a company to remember itself." — Rushabh Doshi
> "Only you can build your company's brain." — Rushabh Doshi
---
*Related: `@content/youtube/a16z/the-nuclear-renaissance-radiant-a16z-american-dynamism` · `@content/youtube/langchain/how-toyota-uses-deep-agents-to-speed-up-r-d-and-manufacturing-research` · `@content/youtube/eo-global/china-doesnt-need-better-al-to-beat-america-stanford-china-researcher-dan-wang` · `@content/youtube/every-inc/ai-was-supposed-to-save-time-why-am-i-busier` · `@content/youtube/cole-medin/my-ai-software-factory-ships-hundreds-of-prs-a-week-heres-how-i-manage-it`*
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*