📚Academy
likeone
online

The Fully Autonomous Business

AI that runs while you sleep. The divine cycle: Plan, Execute, Smoketest, Handoff, Loop.

This is the capstone. Everything you have built -- local AI, sovereign brain, email agents, financial automation, content pipelines, fleet orchestration, monitoring, and cost optimization -- comes together into a single system that runs your business autonomously.

What you'll learn

  • The divine cycle: the operational loop for autonomous businesses
  • How to chain all sovereign stack components into one system
  • Guardrails for autonomous operation: what the AI decides vs. what you decide
  • Building the handoff: seamless continuity across sessions and agents

What a Fully Autonomous Business Looks Like

Imagine waking up to this:

Your AI processed 47 emails overnight. 12 required responses -- 10 were sent automatically (routine acknowledgments, scheduling confirmations, invoice follow-ups). 2 are queued for your review (a new client inquiry and a contract question). The rest were triaged and archived.

Stripe received 3 payments totaling $2,400. Invoices were automatically generated and sent. The daily revenue summary is in your brain. Your month-to-date revenue is up 12% from last month.

Two blog posts were drafted from your brain context and are waiting for review. Social media posts for the week are scheduled. The content calendar is updated.

All systems are healthy. Ollama is running. The brain has 847 entries. The website is up. The monitoring system caught a brief API timeout at 3am and auto-recovered. You have a one-paragraph status report summarizing everything.

This is not science fiction. This is the sovereign stack running the divine cycle. You built every component in the previous 9 lessons. Now you connect them.

The Divine Cycle

The divine cycle is the operational loop that makes autonomous business possible. It runs continuously, without human input, until it encounters something that genuinely requires human judgment:

Phase 1: Plan. The agent boots by reading the brain. It loads identity, directives, active work, and next steps. It assesses the full state of the business -- email queue, financial status, content calendar, system health. It creates an ordered task list with success criteria for each task.

Phase 2: Execute. The agent works through tasks sequentially. Email triage. Invoice generation. Content drafting. Data processing. Each task uses the appropriate tool -- MCP for structured access, Ollama for local AI, cloud API for complex work, computer use for visual interfaces.

Phase 3: Smoketest. After execution, the agent verifies its work. Did the email send? Is the invoice correct? Does the blog post read well? Did the deploy succeed? Verification catches errors before they reach customers.

Phase 4: Handoff. The agent writes its progress to the brain: what was done (active_work), what comes next (next_steps), any blockers. If the context window is getting heavy, it starts a fresh session. The new session reads the brain and picks up exactly where the last one left off.

Loop. Back to Phase 1. Read the brain. Plan the next set of tasks. Execute. Verify. Handoff. The cycle never stops. There is no idle state.

The Complete System Map

┌──────────────────────┐ │ DIVINE CYCLE │ │ Plan → Execute → │ │ Smoketest → Handoff │ │ → Loop │ └──────────┬───────────┘ │ ┌──────────┬───────────┼───────────┬──────────┐ │ │ │ │ │ ┌────▼───┐ ┌───▼────┐ ┌────▼───┐ ┌────▼───┐ ┌───▼────┐ │ Email │ │Finance │ │Content │ │ Fleet │ │Monitor │ │ Agent │ │ Agent │ │Pipeline│ │ Orch │ │& Heal │ └────┬───┘ └───┬────┘ └────┬───┘ └────┬───┘ └───┬────┘ │ │ │ │ │ ┌────▼─────────▼───────────▼──────────▼──────────▼────┐ │ SOVEREIGN BRAIN (SQLite) │ │ identity | directives | session | projects | costs │ └──────────────────────┬──────────────────────────────┘ │ ┌───────────┼───────────┐ │ │ │ ┌────▼───┐ ┌────▼───┐ ┌───▼────┐ │ Ollama │ │ Cloud │ │Computer│ │ (local)│ │ API │ │ Use │ │ FREE │ │ (paid) │ │(visual)│ └────────┘ └────────┘ └────────┘

The Daily Autonomous Loop

// The autonomous business loop async function divineCycle() { // PHASE 1: PLAN const brain = boot(); // Read all brain context const emails = await triageInbox(); // Check email queue const revenue = await dailyRevenueSummary(); // Financial status const health = await runHealthChecks(); // System health const tasks = prioritizeTasks(brain, emails, revenue, health); // PHASE 2: EXECUTE for (const task of tasks) { console.log(`Executing: ${task.title}`); switch (task.type) { case 'email_respond': await handleEmail(task); // Draft and send (or queue for review) break; case 'invoice_send': await generateInvoice(task); // Create and send via Stripe break; case 'content_draft': await generateContent(task); // Draft blog post / social media break; case 'system_maintenance': await performMaintenance(task); // Clean logs, update packages break; } // Checkpoint after each task brain.write('session.active_work', `Completed: ${task.title}`, 'session'); } // PHASE 3: SMOKETEST const verifications = await verifyAllWork(tasks); const failures = verifications.filter(v => !v.success); if (failures.length > 0) { await handleFailures(failures); // Fix or escalate } // PHASE 4: HANDOFF const summary = generateSummary(tasks, verifications); brain.write('session.active_work', summary, 'session'); brain.write('session.next_steps', planNextCycle(), 'session'); // LOOP: schedule next cycle setTimeout(divineCycle, 60 * 60 * 1000); // Run every hour // Or use cron for more control: */60 * * * * }

The Autonomy Constitution

Every autonomous business needs a constitution -- clear rules that define what the AI decides and what the human decides:

AI decides (always): Email triage and routine responses. Invoice generation from confirmed orders. Content scheduling for approved posts. System health monitoring and auto-restart. Cost routing between local and cloud. Reporting and summaries.

AI decides within limits: Spending under $50 per transaction. Sending emails to known contacts. Publishing social media posts following brand guidelines. Scheduling meetings within available time slots.

Human decides (always): New client contracts. Pricing changes. Legal agreements. Spending over the threshold. Public statements. Hiring decisions. Anything irreversible with financial or legal consequences.

Write this constitution into the brain as directive.autonomy_constitution. The AI reads it on every boot. It governs every decision the divine cycle makes.

🔒

This lesson is for Pro members

Unlock all 355+ lessons across 36 courses with Academy Pro. Founding members get 90% off — forever.

Already a member? Sign in to access your lessons.

Academy
Built with soul — likeone.ai