Skip to content
@snugprotocol

snugprotocol

MCP connects agents to tools. Snug connects agents to apps. An open protocol (MIT) for LLM-built, user-owned micro apps.

Snug — your software shouldn't need a landlord. Your app. Your data. Your choice of intelligence. Two repositories: snugprotocol/snug, the reference implementation; snugprotocol/spec, the protocol specification.

The Snug Protocol

An open protocol for portable, agent-backed personal software.

Snug is an open protocol (MIT) for small, user-built apps that think through their host's AI agent at runtime —
while the app and its accumulated state — code, data, chats — live in one portable file the user keeps.

snugprotocol.org · Try the Playground · Docs · Spec 1.0 · Download for macOS


Why it's different

  1. The app's brain is the host agent. A Snug chess game doesn't embed a chess engine — it sends the board to the LLM over a standard envelope and animates the reply. The app is a body; the agent is the mind.
  2. Users own their apps and their data — everything lives in one portable .snug file (real SQLite), exportable, movable, optionally passphrase-sealed.
  3. It's embeddable and secure by construction — any product can drop in the runner + SDK; apps run in a hard sandbox with no network of their own, and credentials never enter the app, the LLM, or anyone's cloud.

The repositories

Repository What it is
snug The reference implementation — protocol bindings, sandboxed runner, SDK, portable database, agent adapters, the Playground, the macOS desktop app, and starter apps
spec Specification 1.0 (normative) — the spec, JSON schemas for every message type, and the whitepaper

Start here

Security contact: security@snugprotocol.org · MIT

Popular repositories Loading

  1. snug snug Public

    Portable, user-owned AI apps — one file, persistent state, your choice of host and intelligence.

    TypeScript 1

  2. spec spec Public

    The Snug Protocol — Specification 1.0 (normative): the spec, JSON schemas for every message type, and the whitepaper.

    1

  3. .github .github Public

    The Snug Protocol — org profile and community health files

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

TypeScript