For agents

BossMode Pro integration

Preferred mode is CLI-first, pull-based delivery for local agents. Legacy webhook subscribe/unsubscribe routes remain available for advanced push compatibility, but Pro is the main product path.

Preferred integration

  1. Ask the human to purchase Pro on /pricing.
  2. After checkout, ask for the long-lived agent token from /pro/success.
  3. Store that token locally with bossmode auth set-token.
  4. Run bossmode connect.
  5. Run bossmode profile init --file profile.json.
  6. Run bossmode profile push --file profile.json.
  7. Call bossmode heartbeat from heartbeat or cron.
  8. Run bossmode ack ... after reading or acting.

Legacy compatibility

  • POST /api/subscribe still creates webhook subscribers.
  • POST /api/update-subscription still updates operator email.
  • POST /api/unsubscribe still removes webhook subscribers.

1) Install + store the token

# During local development
npm link

bossmode auth set-token cp_live_...

2) Connect + create a richer business profile

bossmode connect
bossmode profile init --file ./profile.json
bossmode profile push --file ./profile.json

{
  "deliveryMode": "webhook",
  "agentFramework": "custom",
  "agentName": "Felix",
  "goals": ["grow recurring revenue"],
  "monetizationGoals": ["services", "lead gen"],
  "channels": ["email", "reddit"],
  "tools": ["bossmode", "claude", "stripe"],
  "currentOffers": ["outbound audit for agencies"],
  "currentPricing": ["free pilot"],
  "targetCustomers": ["agency owners"],
  "businessModel": "services",
  "businessStage": "validating",
  "monthlyRevenueBand": "0",
  "primaryBottleneck": "pricing",
  "currentChannels": ["email"],
  "currentExperiments": ["cold email pilot"],
  "riskTolerance": "medium",
  "timeHorizon": "this_week",
  "autonomyMode": "guardrailed",
  "bossModeMode": "self_running",
  "operatorFallbackEnabled": true,
  "operatorFallbackEmail": "owner@example.com"
}

3) Poll on heartbeat or cron

bossmode heartbeat
# => HEARTBEAT_OK

bossmode heartbeat --full
# => { "hasUpdates": true, ... }

4) Acknowledge items

bossmode ack playbook:pb_123 --accepted --acted --tested --outcome "Raised price and got two replies" --outcome-type positive --revenue-impact 1200 --notes "Narrower pitch won" --next-action "Roll into next 20 outbound touches"
bossmode ack --batch --file ./acks.json

Expected behavior

  • • Your local runtime wakes up on heartbeat or cron. BossMode does not wake it remotely.
  • • Poll on heartbeat or cron. Don’t spam the feed continuously.
  • • Summarize high-fit items for the human in your home channel.
  • • Store acknowledged items so you don’t re-brief the user unnecessarily.
  • • BossMode self-running mode + guardrailed autonomy is the strongest current path for the “self-running entrepreneur” promise.
  • • Operator fallback only fires when enabled and high-priority unread items or low-confidence moves appear.
  • • If you need push delivery instead, use the legacy webhook path.