Snugnut

Primitives the internet never shipped.

Snugnut ships 70+ services for agents. Every one is a wheel the industry keeps reinventing, or renting back to you a dozen vendors at a time. Snugnut delivers them in shapes agents already know, stripped of the friction, and machine-payable with x402.

Entity Component SystemNarrative EngineSeedlingTreasuryHuman-in-the-LoopChronoQuestDistributed StateGeoLoyaltyLivenessAliasPubSubPresencePollPromo CodeAuthI18n
BiomeLore Story EngineSuccessionHandshakeArbiterTournamentGuildLeaseAuctionSubscriptionAgent RegistryRemote ConfigWebSocketTimelineTourTermSCIM Provisioning
DirectorRitualTalent TreesVaultRumorLeaderboardAchievementFSMCartSurge PricingAttestationWebhooksMessage QueueCommentLinkKV StoreThrottle
AlmanacPactMeterConsensusReputationMatchmakingLotteryLive JSONItemWaiting RoomMonikerJob QueueInboxFormsBadgeBlob StorageConfig
Jump to a service

Entity Component System

Model objects as entities with typed components, then query and update them through systems. This works well for game worlds, simulations, and device fleets.

Biome

Model populations that grow, compete, and respond to changes in their environment. Use it for ecosystems, resource recovery, and harvesting in a simulation.

Director

Adjust the pace of a simulation using signals, target intensity, and an event budget. Let a busy scene settle or introduce another event when there is room.

Almanac

Give a simulated world a shared clock, calendar, and weather. Clients see the same day and conditions, even as world time speeds up or pauses.

Narrative

Store actor state and flags in a story or session. Keep a session’s changes separate from shared state, then promote the changes you want to retain.

Lore Story Engine

Run branching stories as sessions that wait for player choices. Keep dialogue, variables, and checkpoints with the story as it advances.

Ritual

Coordinate several participants within one time window. Complete an action only when the required people have contributed in time.

Pact

Create agreements backed by escrow, evidence, and a resolution process. Keep funds held through the dispute window before paying the outcome.

Seedling

Generate repeatable content from a seed and a versioned generator. Keep the recipe alongside generated artifacts so their origin can be traced.

Succession

Plan who takes over when an owner is absent or a trigger occurs. Use a grace period and a recorded handover to make the transition deliberate.

Talent Trees

Build progression trees with prerequisites, point costs, and exclusive paths. Allocate points and support respecialization when players change direction.

Meter

Track usage by agent or task and reserve a budget before work begins. Reconcile the reservation with actual usage when the work finishes.

Treasury

Manage wallets, holds, and transfers for a virtual economy. Balanced ledger entries record each movement so you can trace where credits went.

Handshake

Negotiate a two-party exchange before settling it. Both sides stage their assets and confirm before anything changes hands.

Vault

Keep content sealed behind a time or approval gate. Opening the gate and supplying the holder’s key share are separate parts of revealing it.

Consensus

Ask independent validators to assess a factual claim. Collect confirmations and denials until the required participation and agreement thresholds are met.

Human-in-the-Loop

Pause work until the right people approve it. Named approvers, deadlines, and rejection rules keep the decision explicit.

Arbiter

Evaluate submissions against a weighted rubric using a model. Keep the criteria, scores, and reasoning together so the result can be reviewed.

Rumor

Let information travel through a network with delay and changing fidelity. Corrections follow the same connections as the original story.

Reputation

Track trust within a domain using feedback, repeated-rating rules, and decay over time. Map scores to configurable tiers for use elsewhere in your app.

Chrono

Manage resources that refill over time and actions with cooldowns. Available amounts are calculated when read, without a timer for every resource.

Tournament

Create a tournament, report match results, and advance winners through its bracket. The service tracks progression between rounds.

Leaderboard

Submit scores and rank participants using the metrics your competition needs. Look up a player’s rank or the participants around them.

Matchmaking

Match waiting players using shared constraints and preferences. Keep compatible regions together while looking for an appropriate skill match.

Quest

Give players objectives to accept, progress, and turn in. Track the steps separately from the final reward so completion stays explicit.

Guild

Manage groups with membership, applications, and roles. Give leaders a way to admit members and hand responsibility to a successor.

Achievement

Recognize milestones as activity arrives. Track progress toward rules and prerequisites, then award achievement points when they are met.

Lottery

Choose from a weighted pool with a repeatable seed. Use draws for rewards or selections, with options to consume entries as they are picked.

Distributed State

Share a checkpoint between workers and reject writes based on an outdated version. Each successful update gives the next reader a new version to work from.

Lease

Coordinate temporary ownership of a shared resource. Callers can renew or release a lease, and fencing tokens help reject work from an earlier owner.

State Machines

Define the states and allowed transitions in a workflow. Guards check the conditions that must hold before a transition can proceed.

Live JSON

Synchronize shared JSON documents across connected clients. Changes reach each subscriber so collaborators can work from the same document.

Geo

Store locations, find nearby places, and check whether a point is inside a boundary. Use these queries for delivery zones, proximity features, or maps.

Auction

Run auctions with bids, reserves, and held funds. Track the leading bidder while releasing holds from bids that no longer lead.

Cart

Reserve inventory while a customer shops and keep the quoted price with their cart. Prepare the cart for checkout or release holds when they expire.

Item

Manage inventory items, containers, and crafting recipes. Track individual items or stacks, and consume the right materials when creating something new.

Loyalty

Award points for qualifying activity and exchange them for rewards. A ledger records what each customer earned and spent.

Subscription

Track access periods, trials, renewals, and grace windows. Check which entitlements are available as a subscription moves through its lifecycle.

Surge Pricing

Calculate a price from an ordered set of rules and the context your app supplies. Combine demand adjustments, discounts, and rounding in one quote.

Waiting Room

Queue people for a resource with limited capacity. Admit them in order and free space as active participants leave or time out.

Liveness

Monitor machines through heartbeats and last-seen times. Find devices or workers that have fallen silent and see when they return.

Agent Registry

Store an agent’s prompt, configuration, and procedures under a stable key. Resolve that record when your application is ready to start the agent.

Attestation

Verify control of an external profile through a challenge and public proof. Keep the resulting verification attached to the identity it confirms.

Moniker

Reserve and claim names within a namespace. Normalize equivalent spellings and prevent two owners from claiming the same handle.

Alias

Connect external names to an internal identity. Resolve a linked handle without making each external system its own user record.

Remote Config

Give environments their own settings while inheriting shared defaults. Target specific audiences and keep a version history of configuration changes.

Webhooks

Send signed events to another system and track each delivery attempt. Failed deliveries can be retried or inspected when they need attention.

Job Queue

Schedule background work for delivery at a later time. Snugnut sends signed webhook requests and handles retries when an attempt fails.

PubSub

Publish an event to the clients subscribed to its channel. Channels connect live parts of an app, with permissions controlling who can publish and listen.

WebSocket

Connect a client to a stream of live events. Subscribe to the updates it needs and keep track of its connection as it comes and goes.

Message Queue

Deliver messages to consumers with time to process each one. An acknowledgement removes a message; a timeout makes it available again.

Inbox

Give each person a persistent inbox with unread counts and read state. Notifications can stay available after the live event has passed.

Presence

Show who is active in a room, document, or other shared space. Heartbeats keep people present, and inactivity moves them toward offline.

Timeline

Record an ordered history of events that can be queried by time. Earlier entries stay intact as new activity is appended.

Comment

Add conversations to a document or activity with threaded replies and reactions. Moderation state stays with the comments your app displays.

Forms

Collect structured submissions against a versioned schema. Support drafts, validation, and review without building a handler for each form.

Poll

Collect ballots and tally a shared decision. Support different voting strategies while keeping one ballot per identity.

Tour

Guide people through meaningful steps in your app and remember their progress. Resume the same tour across devices without repeating completed steps.

Badge

Render values as SVG badges that can appear in a README or dashboard. Templates control the labels, colors, and data each badge displays.

Promo Code

Issue codes with redemption limits, expiry, and rewards. Track each use so a retried request cannot issue the same reward twice.

Term

Publish versioned terms and record each person’s acceptance. Gate an action on the versions currently required by your app.

KV Store

Store JSON under a key, then read or update it when your app needs it. Use expiry and tags to manage short-lived data and related records.

Blob Storage

Keep files in private storage and share them through temporary links. Uploads, downloads, and storage limits stay behind the same API.

Auth

Manage sign-in, sessions, tokens, and account access. Revoke one session when a device should no longer be able to act for a user.

SCIM Provisioning

Provision organization members from a company directory. Keep membership details and active status in sync as people join or leave the company.

Throttle

Set rate limits for actions in your own app. Spend tokens according to request cost and let the bucket refill over time.

Config

Read server configuration from a cached copy of your configuration source. Refresh the cache when you want the server to pick up new values.

I18N

Store translations by locale, with plural forms and fallback rules for missing messages. Publish related translations together when they are ready.

Service directory

All services

70+services
Entity Component SystemEntity component system with schemas, queries, systems, and a coordinatorBiomecoupled population dynamics integrated deterministically on read, with harvests and interventionsDirectorTension-curve pacing with budgeted decisions and deterministic seedsAlmanacshared simulated time: virtual clocks, custom calendars, and a seeded weather modelNarrative Enginescoped actor state for interactive fiction, isolated per story and session then promoted to canonLore Story Engineruns compiled Lore DSL programs as server-side sessions, emitting story events and blocking on player choiceRitualN-party synchronized action within a simultaneity window, and dead-man switches when invertedPactstaked agreements in four shapes (oath, bounty, market, pool) escrowed in real treasury walletsSeedlingDeterministic generation with supply-capped series and hash-chained provenanceSuccessionwhat happens to a subject's assets when it dies or goes dark: plans, triggered cases, and dispositionsTalent Treesserver-authoritative progression with tier gates, XP curves, respecs, and versioned player migrationMeterUsage metering with budget reservations, quotas, and billing rollupsTreasuryDouble-entry virtual currency with wallets, holds, and supply analyticsHandshakebilateral negotiation with escrowed stage-and-dual-confirm settlement over currency and itemsVaultTime-locked attestations with multi-signature and lottery revealConsensusReputation-weighted fact attestation with challenges and slashingHuman-in-the-LoopApproval and input requests with deadlines, multi-approver tallies, and expiryArbiterLLM-as-judge evaluation with rubrics, sessions, and experimentsRumorinformation propagating hop by hop through a graph, mutating as fidelity decays, chased by correctionsReputationdomain-scoped trust scores with decay and tiers, plus directed affinity edges and a nemesis ladderChronoRegenerating resources: energy meters, cooldowns, and idle accrualTournamentSingle/double elimination, swiss, and round-robin brackets with auto-progressionLeaderboardRanked scoring with windows, weighted metrics, and surrounding-rank queriesMatchmakingTicket queues with rule-based compatibility matching in streaming or batch poolsQuestMulti-step objectives with expeditions, puzzle chains, and treasury rewardsGuildplayer organizations with join policies, roles, and a shared treasury-backed bankAchievementrule-driven achievements across seven rule types with live progress over WebSocketLotteryWeighted random draws with seeded determinism, unique and consumable modesDistributed StateShared state with compare-and-swap and distributed locksLeaseexclusive time-bound access to unique resources, with waiting rooms and fencing tokensFSMFinite state machines with guards, timeouts, and Mermaid renderingLive JSONReal-time collaborative JSON documents over WebSocketGeoa spatial index for current positions, with radius, bounding-box, and distance queries plus geofencesAuctionEnglish auctions with proxy bidding, anti-sniping, and treasury settlementCartPurchase-intent carts with real inventory reservations and checkout freezeItemInventory: definitions, stacking, transfers, crafting, durability, collectionsLoyaltyReferral campaigns, points ledgers, and reward catalogsSubscriptionEntitlement timing: trials, grace, seats, usage caps, agent leasesSurge PricingRule-driven adaptive pricing with explainable calculationsWaiting Roomvirtual waiting rooms for scarce capacity with admission strategies, sessions, and anti-gamingLivenessheartbeat monitoring for machines, with uptime, latency trends, and fleet-wide queriesAgent Registryidentity and configuration records for AI agents, with prompts, TOML payloads, and procedure runbooksAttestationproof that a Snug identity controls an account elsewhere, via publicly posted nonce challengesMonikera naming registry with per-namespace charset and case rules, atomic uniqueness, and confusable blockingAliascanonical identity resolution across fragmented external accounts, wallets, handles, and personasRemote ConfigEnvironment-scoped configuration with inheritance and targeting rulesWebhooksSigned outbound deliveries with retries and a dead-letter queueJob Queuedelayed and prioritized background jobs with retries, backoff, and a dead-letter queuePubSubCapability-scoped publish/subscribe channels with grants and roomsWebSockethow sockets work platform-wide: auth, the general socket, limits, and admin controlsMessage QueueSQS/SNS-style topics, queues, visibility timeouts, and dead-letter redriveInboxpersistent per-user notifications with read state, actions, and scheduled deliveryPresenceWho is here right now: heartbeats, activity states, capacity policiesTimelineAppend-only event streams with windowed queries and aggregationCommentThreaded comments with reactions and moderation on any subjectFormsschema-backed intake with drafts, file uploads, and validation, without writing a backend handlerPollvoting with real ballot integrity: four tally strategies, one ballot per identity, and instant-runoff resultsTourversioned product tours and server-tracked onboarding progress with branching and A/B variantsLinka redirect control plane and click hot path with scheduling, click caps, password gates, and conditional routingBadgeversioned SVG badges with live state sources, signed metadata, and offline verificationPromo CodeHashed code batches with capped, windowed, geo-fenced redemptionTermVersioned policy documents and consent tracking with a hash-chained audit logKV StoreJSON key-value storage with TTL, tags, search, counters, and merge patchingBlob StorageFile storage with signed URLs, quotas, and public servingAuththe platform's front door: accounts, credentials, organizations, sessions, and tenant resolutionSCIM Provisioningthe SCIM 2.0 surface Okta and Entra drive to keep an organization in step with a corporate directoryThrottlerate limiting you configure: named token buckets checked against your own subjects and actionsConfigRead-only cached project configurationI18nLocalization with fallback chains, plurals, publishing, and experiments