Skip to main content

Essential Algorithms

What is THE algorithm that makes your business work?

International Voice Trading Algorithm — the pattern every business follows

Strip away the product, the brand, the team. What remains is a routing function. Every business takes an intent, finds a path, delivers through infrastructure, settles value, and feeds the result back. The business that understands its own algorithm controls its own leverage. The one that doesn't is running someone else's.

The Pattern

INTENT → ROUTE → INFRASTRUCTURE → SETTLE → FEEDBACK
FlowIntentRouteInfrastructureSettleFeedback
TelecomVoice callCarrier switchesBackbone networkCDR billingQuality metrics
CryptoToken swapSolvers/BridgesBlockchainOn-chain settlementSlippage data
DePINCompute/dataEdge AIDevice meshOracles + chainNetwork health
SaaSJob to doMatching enginePlatformSubscriptionUsage signals
CommercePurchaseCreator storefrontPayment railsTransactionRepeat rate
CommunityBelongingContribution graphThird spacesTrust proofRetention

Same five steps. Different matter. Whoever controls the routing intelligence captures the arbitrage.

Three Layers

The algorithm exists at three zoom levels. Theory defines the rules. Code executes them. Commerce wraps them in a shop front.

LayerWhat Lives HereExample
TheoryBusiness principles as algorithms — distribution, leverage, moats, network effectsThe XV are fifteen algorithms dressed as principles
CodePure functions with tunable constants — scoring, routing, decision, optimizationcalculateSPCL(), exploreExploit(), optimalStopping()
CommerceVenture shop fronts that present algorithm output as customer valueStackmates, Prettymint, Howzus

Theory without code is opinion. Code without commerce is a side project. Commerce without theory is guesswork. The wiring between layers is the business.

Algorithm Registry

Coded algorithms in @stackmates/agency. Each has tunable constants and a domain.

AlgorithmDomainCategoryFunctionVenture Surface
SPCL ScoringMarketingScoringContent specificity, personality, conversation, localityDreamineering, Berley Trails
Explore-ExploitStrategyDecisionMulti-armed bandit with UCB and epsilon decayAll (resource allocation)
Optimal StoppingStrategyDecisionSecretary problem — 37% look, then commitHiring, PRD prioritization
Sales ForecastingSalesPredictionDeal probability with recency weightingStackmates
DePIN ScoreCryptoScoringNetwork health × token economics × team × techStackmates (crypto vertical)
AI Tuning LoopAIOptimizationGradient-based parameter tuning with momentumAll (agent improvement)
Eval RunnerAI QualityEvaluationLLM-as-Judge for response qualityAll (quality assurance)
Industry SolarAnalysisClassificationConfidence-scored industry matchingDeep research
RFP Type DetectionSalesRoutingDocument classification and routingStackmates
Compound Rate TrackingRFPAnalysisLibrary growth rate measurementStackmates
VFL Force PotentialMetaForceVVFL as a force function — the meta-algorithmDormant

Tunable Constants

Every algorithm has constants that encode assumptions. When assumptions change, constants change. When constants change, behavior changes.

AlgorithmKey ConstantsCurrent Values
SPCLWeight per dimension0.25 each (equal)
Explore-ExploitInitial epsilon, decay rate, UCB constant0.3, 0.995, 2.0
Optimal StoppingLook ratio (1/e), min candidates0.368, 3
Sales ForecastingRecent vs historical weight0.7 / 0.3
DePIN ScoreHealth, tokenomics, team, tech weights0.3, 0.25, 0.2, 0.25
AI TuningLearning rate, momentum, min improvement0.01, 0.9, 0.001

Constants are the setpoints. The algorithm is the PID controller. Results are the process variable. When outputs diverge from expectations, tune the constants — don't rewrite the algorithm.

Venture Wiring

Each venture IS an algorithm wearing a shop front.

VentureEssential AlgorithmWhat Gets RoutedMEV Source
StackmatesMatching + forecastingTeams to tools to workflowsPlatform lock-in through workflow intelligence
PrettymintLoyalty loop scoringCreators to buyers to repeat membersRepeat purchase compounding
HowzusContribution graph routingBuilders to projects to proofTrust accumulation from verified contribution
DreamineeringSPCL content scoringIdeas to articles to convictionAttention routed to high-signal content
Better PracticeAI tuning + evalPractice reps to feedback to improvementLearning rate through validated reps
Berley TrailsExplore-exploitCuriosity to discovery to contentSurface area for luck
Touch For FunTrust delta measurementSessions to rituals to belongingProtocol quality from measured trust

The mycelium shares the 95% — identity, CRM, workflows, analytics. Each venture's 5% is its essential algorithm.

The Meta-Algorithm

The VVFL is the algorithm that improves all other algorithms.

QUESTIONS → PRINCIPLES → PROTOCOLS → STANDARDS → PLATFORM → BETTER QUESTIONS

It's coded as vfl-force-potential but dormant — because it needs the other algorithms running and producing data before it can measure force. When it wakes up, it becomes the governor: which algorithm is producing the most value per unit energy? Route more resources there. Which is stalling? Tune constants or kill it.

The escape velocity game is what happens when the meta-algorithm runs long enough. Seven stages, three phase transitions. The algorithm transforms what it optimizes at each stage — from product to platform to standard to infrastructure. Same code, different constants, different routing table.

The XV as Algorithms

The Business XV are fifteen algorithms that most businesses run unconsciously. Making them explicit is the first step to tuning them.

PrincipleAlgorithmInputOutput
DistributionChannel routingProduct + audienceReach
LeverageForce multiplicationCapital + labor + code + mediaAsymmetric returns
Network EffectsValue scalingn usersn² connections
MoatCompetitive isolationAdvantagesSwitching costs
SnowballCompound accumulationPlatform × process × peopleAccelerating returns
Info ArbitrageKnowledge routingAsymmetric informationTrading profit
Unit EconomicsPer-unit mathCAC + LTV + marginViability signal

Each principle page on this site is a spec for an algorithm most businesses run by instinct. Running by instinct means you can't tune the constants.

Context

Questions

What is YOUR essential algorithm — the routing function that, if removed, means no business exists?

  • Which constants in your algorithm are you tuning by instinct instead of measurement?
  • Where does your routing intelligence live — in people's heads, in code, or nowhere?
  • If your competitor understood your algorithm better than you do, what would they exploit?
  • At what stage of escape velocity does your algorithm need to change what it optimizes?