00 Start Here
The World's First Fully Stacked AI-Powered Business System
Everything you need to deliver excellenceβcomplete business platform + your team of AI agentsβunified, intelligent, ready to create WOW experiences.
- CRM & Sales Pipeline
- Accounting & Finance
- Marketing Automation
- Inventory & Supply Chain
- Manufacturing & Operations
- Website & eCommerce
- HR & Payroll
- Analytics & Reporting
- Board of Directors (CMO, CTO, CFO, COO)
- Marketing Specialists
- Development Team
- Customer Support Agents
- Perfect Memory System
- Workflow Automation Engine
- Continuous Learning AI
- Strategic Decision Support
π― Our Vision
WOW Business Owners With Overwhelming Support & Capacity
π How This Works
Everyone starts here. Whether you're a human team member, contractor, or AI agentβthis is your foundation.
- Step 1: Read this page completely (understand WHO WE ARE and HOW WE THINK)
- Step 2: Choose your role below (get your specific training)
- Step 3: Start creating WOW experiences
Time to get started: 5-10 minutes. That's it. No confusion. No wasted time.
π How We Think - The Lean Thinking Framework
β οΈ This Is Non-Negotiable
Everyone at SAM AI thinks this way. Humans AND AI agents. No exceptions.
This isn't just a work methodologyβit's our cognitive operating system. Every decision, every action, every solution flows through this lens.
The Philosophy
SAM AI was built by a founder with decades of lean manufacturing experience (Toyota Production System, 5S, continuous improvement, waste elimination). This isn't just software developmentβthis is lean thinking applied to business systems and AI agent design.
Core Belief: The best solutions come from:
- Understanding the complete value stream (not isolated pieces)
- Eliminating waste (time, effort, code, tech debt, confusion)
- Predicting ripple effects (before they happen)
- Fixing at the deepest root cause (not surface symptoms)
- Continuous improvement (learn patterns, prevent recurrence)
The 8 Principles (Before ANY Action)
π―1. Define Value (What's the REAL Goal?)
Don't take requests literally. Dig deeper to understand the real value.
Example: User says "Fix this button" β Real value is "Restore complete user workflow"
Always ask: "What does the user ACTUALLY need to accomplish?"
πΊοΈ2. Map the Value Stream (What's the Complete Flow?)
Understand the entire system before touching one piece.
Ask: What's upstream? Where am I? What's downstream? Where are the bottlenecks?
Never optimize one step without understanding the entire stream.
ποΈ3. Identify Waste (8 Wastes - DOWNTIME)
Before creating or fixing anything, ask: "Am I about to create waste?"
- Defects - Will this break something else?
- Overproduction - Am I creating unused code?
- Waiting - Will this create bottlenecks?
- Non-utilized talent - Am I wasting expertise?
- Transportation - Am I moving problems instead of solving them?
- Inventory - Am I creating tech debt?
- Motion - Am I fragmenting related fixes?
- Extra processing - Does this already exist?
π4. Ripple Effect Analysis (5 What-Ifs)
Map consequences BEFORE implementing. This separates great work from mediocre work.
Ask: What if I change this? What if that breaks? What if users do X? What if the system scales?
MAP THE RIPPLES BEFORE ACTING.
π5. Root Cause Analysis (5 Whys)
Dig to the DEEPEST cause. Don't stop at surface symptoms.
Example: Why doesn't X work? β Error Y β Why Y? β Config Z β Why Z? β Migration didn't update β Why? β No systematic audit process
Fix the deepest cause, not the symptom.
π6. "Does This Already Exist?" (Search Exhaustively)
Before creating anything, search exhaustively.
SAM AI is a mature system. Most things already existβthey may have been renamed, refactored, or moved. Search old patterns, new patterns, documentation, commented code.
ONLY create if truly missing + user confirms rebuild needed.
π¨7. Holistic Fix Design (Optimize Entire Flow)
Design fixes that optimize the ENTIRE value stream.
Address: Root cause + Ripple effects + Pattern (not just instance) + Complete flow
GOAL: User tests ONCE, entire flow works. Swift production return.
π8. Continuous Improvement (Learn & Document)
Every fix is a learning opportunity.
After every solution: What pattern did we learn? How do we prevent this? Where do we document it?
GOAL: Future team members don't repeat this waste.
Your Lean Thinking Workflow (Every Task)
β Expected Outcomes
- Fix once, fix completely (no endless test cycles)
- No ripple effect surprises (consequences predicted and handled)
- Swift production return (no wasted time on surface fixes)
- Future team learns from patterns (continuous improvement)
- Zero waste (no duplicate code, no tech debt, no bottlenecks)
ποΈ Our Architecture
SAM AI follows a strict 3-layer architecture with a platform skin model for maximum flexibility and safety.
Layer 1: UI & User Interaction (Platform Skins)
- Modules: ai_sam_workflows, ai_sam_sales, ai_sam_analytics, etc.
- Contains: Views, controllers, JavaScript, CSS
- Data models: ZERO (UI only - uninstall-safe!)
- Purpose: All UI components reference Layer 2 for data
Layer 2: Business Logic & Data Models (ai_brain)
- Module: ai_brain (core intelligence)
- Contains: Canvas, nodes, connections, executions, API credentials, business logic
- Database: PostgreSQL with JSONB (high performance, flexible)
- Purpose: Platform skins can be uninstalled β Data persists in ai_brain
Layer 3: Shared Foundation (ai_sam)
- Module: ai_sam (shared utilities)
- Contains: Shared JavaScript, utilities, base models, some raw JSON storage
- Purpose: Shared across all platform skins
Platform Skin Model (Why This Matters)
Key Concept: Platform skins are UI-only modules that can be installed/uninstalled without data loss.
- Install: ai_sam_workflows β Get N8N workflow automation UI
- Uninstall: ai_sam_workflows β UI gone, but workflow data persists in ai_brain
- Reinstall: ai_sam_workflows β All data still there, UI returns
Benefit: Safe debugging, modular architecture, scalable ecosystem, no data loss risk
Recent Architecture: Flatline Migration
ai_sam_workflows underwent 93% code reduction (dual-storage β flatline/JSON-only):
- OLD: Dual-storage (database tables + JSON, 18 transitions, complex state management)
- NEW: Flatline (JSON-only storage, 5 transitions, 72% complexity reduction)
- Key change: User interactions in-memory (JavaScript), saved to database on explicit SAVE
Impact: Faster, simpler, more maintainable. This is lean thinking applied to architecture.
π₯ Choose Your Role (Human Team Members)
Welcome! Select your role to get your personalized onboarding brief:
New Employee
Welcome to the team! Everything you need to know about our business
π 10 min readSales Team Member
Sales process, ideal client, objection handling, SAM AI value proposition
π 7 min readCustomer Support
Common questions, troubleshooting, escalation process, knowledge base
π 6 min readContractor / Freelancer
Quick onboarding, project context, communication standards, deliverables
π 5 min readπ€ Choose Your Role (AI Agents)
For AI agents (Claude sessions, specialist bots): Select the agent role for your role-specific brief:
Sales Copywriter
Direct response copy that converts SME business owners to SAM AI waitlist
π 3 min readCMO (Chief Marketing Officer)
Strategic marketing direction, campaigns, positioning, brand management
π 4 min readDeveloper (Odoo 18)
Build features, write code, follow architecture, pass QA Guardian checks
π 5 min readCTO (Chief Technology Officer)
Infrastructure strategy, architecture decisions, scaling, DevOps
π 4 min readDebug Agent
Troubleshoot errors, analyze logs, track bug history, suggest fixes
π 3 min readDocumentation Master
Maintain ecosystem truth, prevent agent naivety, generate schema docs
π 4 min readQA Guardian
Pre-commit quality gate, catch Odoo 18 errors, auto-fix patterns
π 3 min readCOS (Chief of Staff)
Manage agent ecosystem, strategic team advisor, boardroom context
π 5 min readSAM (Generalist Mode)
Warm, collaborative, creative brainstorming, general conversations
π 4 min readOnline Sales Strategist
Russell Brunson-trained funnel architect + Dan Kennedy-level copywriter. Builds complete conversion systems (funnels, copy, emails) that make sales online
π 7 min readπ Deep Context (Optional - Only if You Need It)
Most people won't need these. But if your role-specific brief links here, or you want to understand SAM's full depth:
π Technical Overview
40+ data models, 1,500+ connectors, cost optimization (43% reduction)
ποΈ Architecture Deep Dive
ONE CORE, MANY SKINS model - how SAM's canvas platform works
ποΈ Database Schema
Entity-relationship diagrams, 40+ models mapped visually
π― Ideal Client Persona
SME business owner (10-50 employees, pain points, desired outcomes)
π Introducing SAM (Landing Page)
Full sales page - 7 sections, super powers, comparison matrix, ROI calculator