{"complex_tasks":[{"name":"Setup new project with users and logic","description":"Create a project, add users, and create initial logic rules","steps":["1. Create project: projects.create_project_anonymous (SAVE user_api_key!)","2. Add data: commands.execute with user.data (users = containers)","3. Create logic rules: logic.create (automation)","4. Configure global settings: project.config (affects everyone)"],"tools":["projects.create_project_anonymous","commands.execute","logic.create","projects.update_project"],"paradigm_tips":["project.data = global state (all users see)","user.data = private state (per user)","project buffs = affect everyone"]},{"name":"SaaS platform with auto-trial and subscriptions","description":"Create SaaS platform with automatic trials for new users, subscription management, and auto-renewal","steps":["1. Create project: projects.create_project_anonymous","2. Setup auto-trial logic: logic.create with trigger 'user.created' and buffs.apply_temporary_effect","3. Create subscription buff: buffs.create_buff with type 'subscription'","4. Setup payment: payments.create","5. Apply subscription: buffs.apply_buff","6. Setup auto-renewal: scheduler.create_task for monthly renewal","7. Monitor usage: analytics.get_usage"],"tools":["projects.create_project_anonymous","logic.create","buffs.apply_temporary_effect","buffs.create_buff","payments.create","buffs.apply_buff","scheduler.create_task","analytics.get_usage"],"synergy":"Buffs (trials/subscriptions) + Logic Engine (auto-apply) + Payments (monetization) + Scheduler (auto-renewal) + Analytics (monitoring)"},{"name":"Game with seasonal events and in-app purchases","description":"Create game with starter packs, seasonal events, premium subscriptions, and in-app purchases","steps":["1. Create project: projects.create_project_anonymous","2. Apply starter pack: buffs.apply_persistent_effect for new players","3. Create seasonal event: buffs.create_buff with type 'promo' for project","4. Apply event buff: buffs.apply_buff to project (affects all players)","5. Setup premium subscription: buffs.create_buff with daily rewards","6. Schedule daily rewards: scheduler.create_task","7. Process in-app purchase: payments.create + buffs.apply_persistent_effect"],"tools":["projects.create_project_anonymous","buffs.apply_persistent_effect","buffs.create_buff","buffs.apply_buff","scheduler.create_task","payments.create"],"synergy":"Buffs (starter packs, events, subscriptions) + Payments (monetization) + Scheduler (daily rewards)"},{"name":"Marketplace with promo campaigns and seller subscriptions","description":"Create marketplace with global promo campaigns, seller premium subscriptions, and sales analytics","steps":["1. Create project: projects.create_project_anonymous","2. Create promo campaign: buffs.create_buff with type 'promo' for project","3. Apply promo: buffs.apply_buff to project (affects all sellers)","4. Create seller subscription: buffs.create_buff for individual seller","5. Track promo effectiveness: analytics.get_metrics with promo filters"],"tools":["projects.create_project_anonymous","buffs.create_buff","buffs.apply_buff","analytics.get_metrics"],"synergy":"Buffs (promo campaigns, subscriptions) + Notifications (announcements) + Analytics (effectiveness tracking)"},{"name":"Project with currencies and wallets","description":"Create project, define currencies as assets, create wallet, and deposit funds","steps":["1. Create project: projects.create_project_anonymous (save user_api_key, project_id)","2. Create currency assets: assets.create with type='currency' for each currency (e.g. GOLD, GEM)","3. Create wallet: wallets.create with project_id (and user_id for ecosystem project_id=1)","4. Deposit: wallets.deposit to fund the wallet","5. Optional: logic.create for spend/earn rules; buffs for rewards"],"tools":["projects.create_project_anonymous","assets.create","wallets.create","wallets.deposit","wallets.list","payments.get_balance"],"synergy":"Projects + Assets (currencies) + Wallets (create/deposit/transfer) = full in-project economy"},{"name":"Bulk user role update","description":"Update roles for multiple users","steps":["1. Get all users: projects.get_users","2. For each user: projects.update_user_role or commands.execute with update operation"],"tools":["projects.get_users","projects.update_user_role","commands.execute"]},{"name":"Project members and RBAC","description":"List project, users, roles; assign/revoke roles or check permission. Permissions enforced server-side.","steps":["1. Get project: projects.get_project(project_id)","2. List users: projects.get_users(project_id)","3. List roles: rbac.get_roles(project_id)","4. Assign/revoke: rbac.assign_role or rbac.revoke_role (project_id, user_id, role_id); or rbac.check_permission(project_id, permission, user_id)"],"tools":["projects.get_project","projects.get_users","rbac.get_roles","rbac.assign_role","rbac.revoke_role","rbac.check_permission"],"synergy":"Projects + RBAC; use rbac.check_permission only when explicit check is needed"},{"name":"Create scheduled task with logic","description":"Create a logic rule that runs on schedule","steps":["1. Check available processors: logic.get_processors","2. Create logic rule with scheduler: logic.create with schedulers array"],"tools":["logic.get_processors","logic.create"]},{"name":"Enterprise system with auto-scaling limits","description":"Create enterprise system that automatically increases limits when usage threshold is reached","steps":["1. Create project: projects.create_project_anonymous","2. Create monitoring logic: logic.create with trigger on metric threshold","3. Check usage: analytics.get_usage in logic rule","4. Auto-increase limits: buffs.apply_temporary_effect when threshold reached","5. Schedule weekly reports: scheduler.create_task + analytics.get_metrics"],"tools":["projects.create_project_anonymous","logic.create","analytics.get_usage","buffs.apply_temporary_effect","scheduler.create_task","analytics.get_metrics"],"synergy":"Logic Engine (monitoring) + Analytics (usage tracking) + Buffs (auto-scaling) + Notifications (alerts) + Scheduler (reports)"},{"name":"Complete production bootstrap in one batch","description":"Provision project, economy, FAP, buff templates, logic rules, scheduler tasks, and API keys — all in a single agentstack.execute call","steps":["1. projects.create_project_anonymous — save project_id, user_api_key, session_token","2. assets.create x2 — soft currency (Credits) + hard currency (Gems)","3. wallets.create + wallets.deposit — main wallet with seed balance","4. data_access.apply_defaults_template — field access policy defaults","5. buffs.create_buff x2 — Free plan template + Pro plan template","6. logic.get_processors + logic.create — API counter rule","7. scheduler.create_task x3 — daily cleanup, monthly billing, monthly reset","8. apikeys.create x2 — AI agent key (service_caps: payments+scheduler) + analytics key","9. rag.collection_create — knowledge base collection","10. projects.get_stats — verify all setup"],"tools":["projects.create_project_anonymous","assets.create","wallets.create","wallets.deposit","data_access.apply_defaults_template","buffs.create_buff","logic.get_processors","logic.create","scheduler.create_task","apikeys.create","rag.collection_create","projects.get_stats"],"synergy":"All domains in one batch. project_id flows via {from} refs. See docs/MCP_PROJECT_SETUP_PLAYBOOKS.md for full JSON."},{"name":"Payment-gated buff activation (e-commerce/IAP)","description":"Verify payment before unlocking feature or item — atomic, conditional flow","steps":["1. payments.create — charge user","2. (if status=completed) buffs.apply_buff — activate subscription/item","3. (if status=completed) wallets.deposit — credit loyalty points","4. (if status=completed) scheduler.create_task — schedule renewal"],"tools":["payments.create","buffs.apply_buff","wallets.deposit","scheduler.create_task"],"synergy":"Use 'if' condition in agentstack.execute steps to gate buff on payment success. Pattern: payments.create → if status=completed → buffs.apply_buff."},{"name":"Reactive logic escalation (monitoring + auto-action)","description":"Chain two logic rules: counter → threshold alert — no polling needed","steps":["1. logic.create — counter rule: trigger 'system.api_call_authenticated', increment user.data.api_calls_month","2. logic.create — alert rule: trigger 'field_change' on api_calls_month, condition: gte threshold, set quota_exceeded=true","3. buffs.create_buff — throttle template (ready to apply when quota_exceeded fires)","4. scheduler.create_task — monthly counter reset cron"],"tools":["logic.create","logic.create","buffs.create_buff","scheduler.create_task"],"synergy":"field_change trigger enables zero-polling reactive escalation. Logic chain: event counter → field change → status flag → buff template ready to apply."},{"name":"Loyalty program with tier upgrades","description":"Points asset, tier buff templates, reactive tier upgrade, expiry scheduler","steps":["1. assets.create — loyalty points (type=points, expiry_days=365)","2. buffs.create_buff x3 — bronze/silver/gold tier templates","3. logic.create — earn points on purchase (trigger: event.purchase_completed)","4. logic.create — tier upgrade (trigger: field_change on loyalty_points, condition: gte 500)","5. scheduler.create_task — monthly expiry check (cron: 0 2 1 * *)"],"tools":["assets.create","buffs.create_buff","logic.create","scheduler.create_task"],"synergy":"Tiers as buffs; reactive upgrade logic avoids any polling. Scheduler handles expiry automatically."},{"name":"Multi-tenant B2B onboarding","description":"Create org project, assign owner, apply enterprise tier, provision restricted keys, invite team","steps":["1. projects.create_project — org workspace","2. rbac.assign_role — assign owner role to admin user","3. buffs.apply_buff (entity_kind=project) — enterprise tier on project entity","4. apikeys.create — SSO key (service_caps: analytics)","5. apikeys.create — AI agent key (service_caps: payments + scheduler)","6. social.channel_invites.direct — invite team to workspace channel","7. data_access.apply_defaults_template — field access policy","8. scheduler.create_task — weekly health check"],"tools":["projects.create_project","rbac.assign_role","buffs.apply_buff","apikeys.create","social.channel_invites.direct","data_access.apply_defaults_template","scheduler.create_task"],"synergy":"Two apikeys.create with different service_caps: SSO gets analytics-only, AI agent gets payments+scheduler. Project-level buff = enterprise features for all org members."},{"name":"Social community activation with RAG search","description":"Onboard user: publish profile, join channel, send welcome message, index for search","steps":["1. social.pas.public_me_put — publish public profile","2. social.channel_invites.redeem — join community channel with invite token","3. social.chat.post — send welcome message","4. social.friends.request — connect with community bot","5. social.public.publish — list in public index","6. rag.document_add — index profile in semantic search collection","7. buffs.apply_buff — onboarding bonus buff"],"tools":["social.pas.public_me_put","social.channel_invites.redeem","social.chat.post","social.friends.request","social.public.publish","rag.document_add","buffs.apply_buff"],"synergy":"Social surface (chat + friends + public index) + RAG (searchable community) + Buffs (onboarding perks) in one batch."}],"tool_combinations":[{"task":"Finding and updating entities","tools":["commands.execute","commands.execute"],"description":"Use commands.execute with get operation, then update operation"},{"task":"Creating logic rules","tools":["logic.get_processors","logic.get_commands","logic.create"],"description":"First discover available processors and commands, then create rule"},{"task":"Project management","tools":["projects.get_projects","projects.get_project","projects.update_project"],"description":"List projects, get details, then update settings"},{"task":"User management","tools":["projects.get_users","projects.add_user","projects.update_user_role"],"description":"List users, add new user, update user role"},{"task":"Payment processing","tools":["payments.create","payments.get","payments.list_transactions"],"description":"Create payment, check status, list transaction history"},{"task":"Auto-trial on user signup","tools":["logic.create","buffs.apply_temporary_effect"],"description":"Create logic rule with trigger 'user.created' that applies temporary trial buff. Perfect for SaaS platforms.","synergy":"Logic Engine (automation) + Buffs (temporary effects)"},{"task":"Subscription with auto-renewal","tools":["buffs.create_buff","payments.create","buffs.apply_buff","scheduler.create_task"],"description":"Create subscription buff, process payment, apply buff, then schedule auto-renewal. Complete subscription workflow.","synergy":"Buffs (subscriptions) + Payments (monetization) + Scheduler (auto-renewal)"},{"task":"Promo campaign for all users","tools":["buffs.create_buff","buffs.apply_buff"],"description":"Create promo buff for project (affects all users), apply it. Use logic.create for notification side-effects if needed.","synergy":"Buffs (promo effects) on project = global event for everyone"},{"task":"Setup project economy (currencies and wallets)","tools":["projects.create_project_anonymous","assets.create","wallets.create","wallets.deposit"],"description":"Create project, add currencies as assets (type=currency), create wallet, deposit. Full economy setup.","synergy":"Projects + Assets (currencies) + Wallets (list/create/deposit/transfer)"},{"task":"Monitor and auto-scale limits","tools":["logic.create","analytics.get_usage","buffs.apply_temporary_effect"],"description":"Create logic rule that monitors usage, automatically increases limits via buffs when threshold reached. PARADIGM: Buffs as auto-scaler!","synergy":"Logic Engine (monitoring) + Analytics (usage) + Buffs (auto-scaling)","paradigm_note":"Buffs = temporary limit increase that auto-reverts"},{"task":"In-app purchase workflow","tools":["payments.create","buffs.apply_persistent_effect"],"description":"Process payment for in-app purchase, then apply persistent effect (currency, items, upgrades). Perfect for games. PARADIGM: Buffs as permanent reward system!","synergy":"Payments (monetization) + Buffs (permanent effects)","paradigm_note":"Buffs with persistent=True = permanent item grants"},{"task":"Global event for all players","tools":["buffs.apply_temporary_effect"],"description":"Apply buff to PROJECT (entity_kind='project') to affect ALL users instantly. PARADIGM: Project buffs = global events!","synergy":"Buffs on project = instant global effects for everyone","paradigm_note":"entity_kind='project' → affects all users, auto-expires"},{"task":"NPC system with AI behavior","tools":["commands.execute","buffs.apply_temporary_effect","logic.create"],"description":"Store NPCs as user entities (email: 'npc@game', data: {ai, inventory}). PARADIGM: Users = universal containers!","synergy":"Users as NPCs + Buffs for status effects + Logic for AI","paradigm_note":"Users can be NPCs, bots, sessions - anything with data!"}],"total_tasks":15,"total_combinations":13}