{
  "site": "https://toip.tools/",
  "description": "The example applications in the toip-tools repository, with honest status and the commands that run them.",
  "setup": [
    "git clone https://github.com/yourbuddyconner/toip-tools.git",
    "cd toip-tools",
    "npm install"
  ],
  "projects": [
    {
      "slug": "settle",
      "name": "Settle",
      "status": "working",
      "summary": "Conditional payments with shared control of escrow. A customer pays through a link, and stablecoins wait in a Solana escrow until two of the payer, payee, and arbiter sign to move them. Signed Trust Tasks coordinate each step. Before signing, each party's device checks the payment's Rego policy.",
      "demonstrates": [
        "A Trust Task vocabulary for a real protocol: invoices, terms, attestations, disputes, rulings, receipts.",
        "Identity off-chain, fresh keys on-chain, bound together by credentials only the parties see.",
        "Passkey-sealed keys in the browser, and operators who sign in with their own key instead of a password."
      ],
      "libraries": [
        "@toip-tools/trust-core",
        "@toip-tools/relay",
        "@toip-tools/web-vault"
      ],
      "run": [
        {
          "description": "The whole network and the web app, on a local Solana cluster",
          "command": "npm run settle"
        },
        {
          "description": "Run the terminal demo",
          "command": "npm run demo --workspace projects/settle"
        },
        {
          "description": "The app in a real browser, with screenshots",
          "command": "npm run e2e --workspace projects/settle"
        }
      ],
      "page": "https://toip.tools/examples/#settle",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/settle/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/settle/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/settle",
      "trustTasks": "https://toip.tools/spec/#settle"
    },
    {
      "slug": "shared-todo",
      "name": "Shared To-Do",
      "status": "working",
      "summary": "Private to-do lists for a household. Each person and list has its own key and DID, created on the device. The list signs membership credentials, and members exchange signed changes in encrypted TSP messages. Every device verifies a change before applying it; the relay handles delivery without reading the list.",
      "demonstrates": [
        "Identity, credentials, and encrypted messaging in a small collaborative app.",
        "Invitations, roles, removal, and private items sealed to chosen readers.",
        "Offline outboxes and catching up from other members, through a relay that can't read anything."
      ],
      "libraries": [
        "@toip-tools/trust-core",
        "@toip-tools/relay"
      ],
      "run": [
        {
          "description": "The relay on ws://localhost:8787 and the app on http://localhost:5181",
          "command": "npm run dev"
        }
      ],
      "page": "https://toip.tools/examples/#shared-todo",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/shared-todo/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/shared-todo/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/shared-todo",
      "trustTasks": "https://toip.tools/spec/#todo"
    },
    {
      "slug": "tipline",
      "name": "Tipline",
      "status": "working",
      "summary": "A drop box that lets sources prove membership without revealing their identity. A source shows a journalist that they belong to an organization, shares documents, and continues the conversation using a fresh DID for the tip. A code written on paper lets them return without keeping the conversation on their device.",
      "demonstrates": [
        "Zero-knowledge group membership in the browser.",
        "Counting distinct sources by nullifier without knowing any of them."
      ],
      "libraries": [
        "@toip-tools/anon-membership",
        "@toip-tools/trust-core",
        "@toip-tools/relay",
        "@toip-tools/web-vault"
      ],
      "run": [
        {
          "description": "The organization, the source app, the journalist's inbox and the relay, each on its own localhost origin",
          "command": "npm run tipline"
        },
        {
          "description": "Run the terminal demo",
          "command": "npm run demo --workspace projects/tipline"
        },
        {
          "description": "The demo in a real browser, checking the source leaves nothing behind",
          "command": "npm run e2e --workspace projects/tipline"
        }
      ],
      "page": "https://toip.tools/examples/#tipline",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/tipline/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/tipline/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/tipline"
    },
    {
      "slug": "agora",
      "name": "Agora",
      "status": "working",
      "summary": "Anonymous forums with verified membership. A forum can require a nursing license to post, or district residency to vote, without asking members to reveal their identity. Each membership has one pseudonym per forum; the membership proofs keep those pseudonyms from being linked across forums.",
      "demonstrates": [
        "Credential-gated anonymity with attribute predicates.",
        "One vote per person with secret ballots.",
        "A signed, append-only feed the host can't quietly rewrite."
      ],
      "libraries": [
        "@toip-tools/anon-membership",
        "@toip-tools/eventlog",
        "@toip-tools/trust-core",
        "@toip-tools/relay",
        "@toip-tools/web-vault"
      ],
      "run": [
        {
          "description": "Issuers, the forum host and the web app on http://localhost:4320",
          "command": "npm run agora"
        },
        {
          "description": "Run the twelve-step terminal demo",
          "command": "npm run demo --workspace projects/agora"
        },
        {
          "description": "Members, a non-member and a reader, in a real browser",
          "command": "npm run e2e --workspace projects/agora"
        }
      ],
      "page": "https://toip.tools/examples/#agora",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/agora/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/agora/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/agora"
    },
    {
      "slug": "agents",
      "name": "Agents",
      "status": "working",
      "summary": "AI agents with identities, spending limits, and accountable actions. A person or company gives an agent a revocable mandate. As it hires people and other agents through Settle, a guard checks every payment and message against that mandate chain. A signed audit trail lets the principal review what happened.",
      "demonstrates": [
        "Delegation that only narrows, checked by both the agent's guard and its counterparties.",
        "Escalation to a human for one exact action.",
        "Audit trails an agent can't quietly rewrite."
      ],
      "libraries": [
        "@toip-tools/mandates",
        "@toip-tools/eventlog",
        "@toip-tools/trust-core",
        "@toip-tools/relay"
      ],
      "run": [
        {
          "description": "The principal's console and the courier's view on http://localhost:4330",
          "command": "npm run agents"
        },
        {
          "description": "Run the terminal demo with scripted models",
          "command": "npm run demo --workspace projects/agents"
        },
        {
          "description": "Run with Claude; requires ANTHROPIC_API_KEY",
          "command": "npm run demo --workspace projects/agents -- --live"
        }
      ],
      "page": "https://toip.tools/examples/#agents",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/agents/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/agents/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/agents"
    },
    {
      "slug": "trail",
      "name": "Trail",
      "status": "working",
      "summary": "Verifiable audit trails for agents, devices, and services. A local network of witnesses and watchers makes log tampering visible in a web explorer. The demo walks through forged edits, conflicting histories, dishonest witnesses, and recovery from a stolen key.",
      "demonstrates": [
        "KERI key event logs with pre-rotation and witnesses, verified by KERIpy.",
        "Duplicity detection by watchers."
      ],
      "libraries": [
        "@toip-tools/eventlog",
        "@toip-tools/trust-core"
      ],
      "run": [
        {
          "description": "Four witnesses, two watchers and the explorer on http://localhost:4340",
          "command": "npm run trail"
        },
        {
          "description": "Run the terminal demo, including tampering and recovery",
          "command": "npm run demo --workspace projects/trail"
        },
        {
          "description": "The explorer through all ten steps in a real browser",
          "command": "npm run e2e --workspace projects/trail"
        }
      ],
      "page": "https://toip.tools/examples/#trail",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/trail/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/trail/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/trail"
    },
    {
      "slug": "capture",
      "name": "Capture",
      "status": "working",
      "summary": "Verifiable origins for photos and sensor readings. Devices sign captures with their own keys, and edits extend a signed history. A browser verifier checks the device, the capture's time interval, and which image tiles remain unchanged after redaction.",
      "demonstrates": [
        "Non-exportable WebCrypto device keys, protected by passkeys or passphrases.",
        "Owner-to-device mandates.",
        "Key histories that keep old captures verifiable after a rotation."
      ],
      "libraries": [
        "@toip-tools/cose",
        "@toip-tools/eventlog",
        "@toip-tools/mandates",
        "@toip-tools/web-vault",
        "@toip-tools/mesh-transport"
      ],
      "run": [
        {
          "description": "The camera, editor, verifier and sensor dashboard on http://localhost:4350, with witnesses and simulated sensors",
          "command": "npm run capture"
        },
        {
          "description": "One more sensor, sending signed readings over the simulated LoRa radio",
          "command": "npm run sensor --workspace projects/capture"
        },
        {
          "description": "Capture, a blur edit and verification in a real browser with a fake camera",
          "command": "npm run e2e --workspace projects/capture"
        }
      ],
      "page": "https://toip.tools/examples/#capture",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/capture/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/capture/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/capture"
    },
    {
      "slug": "mesh",
      "name": "Mesh",
      "status": "working",
      "summary": "Trust Tasks beyond an internet connection. Three simulator demos verify a door pass offline, forward a Settle attestation through a radio gateway, and deliver a sealed bundle by hand. A visualizer shows the frames, retries, and airtime. Real-radio bring-up and Bluetooth LE remain future work.",
      "demonstrates": [
        "Compact Trust Tasks with every proof intact.",
        "Random-looking address tags instead of DIDs on the air.",
        "Gateways that hand exact TSP bytes to the relay."
      ],
      "libraries": [
        "@toip-tools/mesh-transport",
        "@toip-tools/cose",
        "@toip-tools/trust-core"
      ],
      "run": [
        {
          "description": "The radio visualizer on http://localhost:4360: a field map, frames in flight, airtime meters",
          "command": "npm run mesh"
        },
        {
          "description": "Run all three demos on the simulated radio",
          "command": "npm run demo --workspace projects/mesh"
        },
        {
          "description": "Checks a LoRa gateway or RAK3172 is talking to you (see HARDWARE.md)",
          "command": "npm run mesh --workspace projects/mesh -- doctor"
        }
      ],
      "page": "https://toip.tools/examples/#mesh",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/mesh/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/mesh/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/mesh"
    },
    {
      "slug": "commons",
      "name": "Commons",
      "status": "design only",
      "summary": "Everyday tools for an apartment building and its households. The design brings guest passes, shared expenses, maintenance requests, votes, and noticeboards under one identity per person. The building and its households form nested communities with their own roles.",
      "demonstrates": [
        "Nested communities and roles.",
        "Many small apps sharing one identity and one trust core."
      ],
      "libraries": [
        "@toip-tools/trust-core",
        "@toip-tools/relay"
      ],
      "run": [],
      "page": "https://toip.tools/examples/#commons",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/commons/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/commons/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/commons"
    },
    {
      "slug": "community-rides",
      "name": "Community Rides",
      "status": "design only",
      "summary": "A proposal for ride sharing within a local community. The community vouches for its members, and riders and drivers verify those claims directly. Built around the OpenVTC libraries and applicable registry specifications, the design traces what each party learns at every step.",
      "demonstrates": [
        "Registry Trust Tasks alongside your own.",
        "What each party learns, step by step."
      ],
      "libraries": [],
      "run": [],
      "page": "https://toip.tools/examples/#community-rides",
      "readme": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/community-rides/README.md",
      "design": "https://github.com/yourbuddyconner/toip-tools/blob/main/projects/community-rides/docs/design.md",
      "source": "https://github.com/yourbuddyconner/toip-tools/tree/main/projects/community-rides"
    }
  ]
}
