The Nervous System of Humanity Needs an Upgrade - Anytype Wiki

7 min read Original article ↗

Imagine for a moment that you, and all of the people around you, are single neurons. Throughout most of human history, we could only talk to other neurons close to us via 'synapses' of a spoken language.

Type text or / for commands

With the invention of writing, we discovered the possibility to connect all of these neurons. Our speed of communication was slow and the messages we transmitted were few. Sometimes it took centuries for some transformative ideas like arabic numbers or heliocentrism to travel across the globe. Still, we solitary neurons became globally connected for the first time.

Type text or / for commands

With the invention of the telegraph, telephone, radio and television, the speed and quality of our connections improved vastly. Our shared network became stronger and more diverse in its messages.

Type text or / for commands

Then came the Internet - the quintessence of interconnectedness. More than any other time in human history, most of us are connected to the nervous system of humanity. Many of us spend most of our waking hours on the Internet. We can broadcast what we think and feel, communicate with other neurons, and co-create intricate webs of cooperation. We can think of this digital nervous system as our collective superpower.

Type text or / for commands

The internet is built as a great foundation for this nervous system. It is decentralized by design - no single party controls it.

Type text or / for commands

The problem is that the modern internet relies strongly on cloud technologies, where client applications communicate with each other only via servers. It is akin to having a server between any two neurons in the nervous system, or each neuron being inside a box that decides if the signal from this neuron can go through.

Type text or / for commands

In cloud architecture, application developers store keys of the accounts of users on their behalf, so

they are the keepers of keys

. It means that these applications now hold the power to voice down some and promote others, to block and to recommend, to decide which information is shared and distributed on the Internet. Software companies can block people based on their geographic location, based on random algorithms, personal beliefs of their founders or shareholders, and the political agenda of powerful groups they are close to.

Type text or / for commands

This separateness is not the biggest problem, what is more dangerous is that

in each of these versions of the Internet the neurons can’t talk and express themselves directly to each other.

Servers control our communication with those closest to us: family members, neighbors and local communities.

Type text or / for commands

The problems with cloud-based architecture don't stop there. Not only do central servers control who can do what, but their control is ubiquitous. Even when texting your family member on the couch next to you, the signal from your device to theirs needs to go to the application server first, and only after that, return to your own living room.

Type text or / for commands

If that center fails or does not respond, it means that even nearby neurons cannot communicate digitally. For a biological organism, an unresponsive nervous system would mean an instant death. The nervous system of humanity needs an upgrade.

Type text or / for commands

There are parts of the internet where server-first architecture is more efficient - massive online games, uber-like networks, trading and other examples. For the role the communication layer plays, we can use a better approach than the cloud.

Type text or / for commands

If we are to design a nervous system that's resilient and agile, it needs a different wiring - when neurons connect to each other directly. For this we need to give the keys to neurons and wire them differently - on local first principles. This wiring we call a

“no-one in between” communication system

.

Type text or / for commands

A

no-one in between

wiring is a better foundation for families, communities and associations of creators.

Type text or / for commands

Two pieces of technology look striking, especially if we imagine the combined power. These technologies come under the obscure names of Public Key Cryptography and CRDTs.

Type text or / for commands

Public key cryptography

can protect digital data in a way that is not possible in the world of atoms. Imagine each of us having a vault that no one in the whole world can break into. Not a malicious hacker, not a powerful state, not even if they combined forces. This is not possible in the world of atoms.

Type text or / for commands

By using public key cryptography, we can generate your very own vault where your data and messages live, and which has two keys: private and public. Knowing your public key, anyone can send encrypted messages but only you - the holder of the private key - can open the vault and see what's inside. All of the computational resources on Earth are not enough to decrypt a single message. Generating such keys does not cost any money and can be done on any computer, without the need to connect to the internet. Vault creation and authorization can be fully independent from anyone. It means each neuron can be digitally independent.

Type text or / for commands

Once we have our independent vaults from which we control the keys, we can also enable vaults to talk to each other on local-first principles. This is where CRDTs come in.

Type text or / for commands

In traditional cloud architecture (also known as client-server), all clients need to connect to a server where the master record is kept. This server resolves potential conflicts when clients are working on the same information, especially in real time.

Type text or / for commands

If we want to change the wiring to local first, we need a way to resolve conflicts independently by all clients, so that the client is not dependent on a server for this. This is not easy as we cannot control which devices are online, which are offline.

Type text or / for commands

Fortunately, there is a new piece of technology called

CRDTs (conflict-free replicated data types)

that allow reaching the same state irrespective of the order in which changes are received, so each device can resolve conflicts independently - without relying on a single master copy.

Type text or / for commands

Public key cryptography has been implemented widely. So far mostly in crypto wallets. CRDTs on the other hand is a fresh approach that emerged in computer science in 2011 and has mostly been implemented in experiments and research.

Type text or / for commands

That’s why our team at Anytype has been working on combining both approaches into a new local first protocol based on creators’ keys. It is called AnySync and it supports hi-performant and scalable synchronization of objects, discussions, communities and apps that do not depend on a cloud.

Type text or / for commands

GitHub - anyproto/any-sync: An open-source protocol designed to create high-performance, local-first, peer-to-peer, end-to-end encrypted applications that facilitate seamless collaboration among multiple users and devices

An open-source protocol designed to create high-performance, local-first, peer-to-peer, end-to-end encrypted applications that facilitate seamless collaboration among multiple users and devices - a...

github.com

Anytype is an interface to vaults, described in this article - encrypted, local first and with keys controlled by creators. This means in Anytype there's nobody standing between you and your vault, you and your contacts, or your devices and each other, and that these vaults talk to each on local first principles.

Type text or / for commands

anytype — the everything app

for those who celebrate trust & autonomy.

anytype.io

Applying it to the design of the web we aim to create a system where we can do everything offline and in local networks and the connection to the internet is optional. This will help the neuronal groups be more resilient and fast. We invite others to join as co-creators to build a local first version of the Internet together.

Type text or / for commands

The future will be the one you build.

Type text or / for commands

Marshall McLuhan. Understanding Media, 1964.

Type text or / for commands

New Directions in Cryptography, 1976.

Type text or / for commands

Conflict-free Replicated Data Types (CRDTs), 2011.

Type text or / for commands

Type text or / for commands

Type text or / for commands

Type text or / for commands

Type text or / for commands