toip.tools

Ecosystem

ToIP, First Person, OpenVTC, and the P2P Trust Stack are connected communities and projects. They have different scopes, architectures, and implementation choices.

Start with the architecture

Coming from ToIP?

The Trust over IP Foundation develops an architecture for digital trust, pairing technology with governance. Its model leaves ecosystems in control of their own implementations. A ToIP specification, a network built around it, and a software package implementing it are different things.

That distinction matters here. You can use TSP without adopting a particular community model, use KERI for key histories without deploying a complete agent stack, or implement Trust Tasks over different transports. The ToIP model makes room for that diversity.

The names you'll encounter
NameWhat it contributesStart here
ToIPArchitecture, governance frameworks, and protocol specifications.The model · TSP
First PersonA network vision centered on personhood and real trust relationships.The network vision
OpenVTC / VTIAgent and community services, applications, and protocol libraries.The service approach
P2P Trust StackTrustStackers' integrated agent stack with libp2p networking.The agent approach
KERI / WebOfTrustKey-event histories, pre-rotation, witnesses, and supporting implementations.The key-history approach
DIF / DIDCommDecentralized identity engineering and a distinct messaging protocol family.The messaging approach
W3C DIDs / VCsShared identifier and credential data models used across projects.DIDs · Credentials
Trust TasksA ToIP task framework and registry of interaction specifications.The task vocabulary

Different starting points

What each approach emphasizes

These perspectives overlap. People contribute across communities, and one system can combine several of them. The differences below describe documented design choices, rather than fixed camps.

Network vision

First Person

How do real relationships become verifiable?

The First Person Project starts with people and their relationships. Its white paper proposes personhood credentials issued within an ecosystem, relationship credentials exchanged between people, and a network built from those connections.

The First Person Network is the intended network; the First Person Cooperative is the governance body proposed in the paper. Neither name identifies a single software distribution.

Read the First Person white paper

Service infrastructure

OpenVTC & VTI

How do agents and communities operate?

OpenVTC contains several projects. Its Rust Verifiable Trust Infrastructure implementation provides VTA services for keys and authority, and VTC services for community membership and credentials. The separate VTI specification defines their composition, trust contexts, and client authority.

OpenVTC also publishes TypeScript protocol libraries. This toolkit uses those libraries; it does not deploy the full VTI service architecture.

VTI implementation · VTI specification · TypeScript TSP library

Integrated agent stack

P2P Trust Stack

What does a complete peer agent need?

TrustStackers' implementation brings identity, an encrypted keystore, TSP messaging, relationship ceremonies, communities, and an application API into one Node.js stack.

Its documented choices include did:peer:4 and did:scid:vh, libp2p transport, and a structured local policy interpreter. That is a specific implementation of related ideas, with different APIs and deployment assumptions from OpenVTC or this toolkit.

Read the P2P Trust Stack README · Policy implementation

Key-event architecture

KERI & WebOfTrust

How does an identity survive changes to its keys?

KERI starts with verifiable key history: an identifier's signed events record key establishment and rotation, while witnesses and watchers help expose conflicting histories. KERIpy, in the WebOfTrust organization, is an implementation.

The KERI specification is developed within ToIP. It addresses an identity foundation that other systems can build on; it does not prescribe every application, transport, or community rule.

KERI specification · KERIpy

Identity engineering & messaging

DIF & DIDComm

How do identity agents exchange messages?

The Decentralized Identity Foundation develops specifications and reference implementations across decentralized identity. DIDComm is one of its messaging efforts: encrypted messages, routing, and higher-level interactions built around DIDs.

DIDComm and TSP are distinct protocols. Sharing DIDs or an application goal does not make their messages interchangeable. This toolkit currently uses TSP.

Explore DIF · DIDComm specification

Interaction specifications

Trust Tasks

What work are the parties agreeing to do?

The Trust Tasks effort under ToIP's Decentralized Trust Graph Working Group defines a JSON task framework and a registry of specifications. Tasks describe interactions; delivery is a separate concern.

A task can travel over different transports. A registry entry also does not establish that a particular agent implements it. This site's task reference documents the project-specific types used here.

Framework and registry source · Browse the registry

Where the differences matter

Compare decisions, not labels

DecisionThis toolkitOther approaches
Identitydid:key for messaging; KERI histories in the event-log library.The P2P Trust Stack supports did:peer:4 and did:scid:vh. KERI models identity through a key-event history.
MessagingTSP Direct over a WebSocket relay, an in-memory bus, or the mesh transport.The P2P Trust Stack integrates libp2p. DIDComm defines another message protocol, independently of its delivery transport.
AuthorityCredential-based mandates and local Rego policy checks.The P2P Trust Stack has its own policy interpreter. VTI specifies authority within trust contexts and client enrollment.
DeploymentSeparate libraries and example apps for browsers and Node.TrustStackers documents a Node-only agent stack. OpenVTC's VTI implementation runs Rust services and clients.

These comparisons describe the sources linked above. Shared protocol names are not an interoperability result: this toolkit has not been tested against the P2P Trust Stack.

Where we fit

An independent
place to experiment.

toip.tools is a collection of TypeScript libraries and runnable examples. It uses OpenVTC's TSP and Trust Tasks libraries, W3C-shaped credentials, and its own application protocols. The relay, mandates, anonymous membership proofs, and audit trails reflect choices made in this repository.

Use it to explore those choices in code. For the architecture behind another project, start with that project's documentation.

Try the toolkit Read the source